JSON Crack Alternative: Tree vs Graph, Tested on 3 Files
JSON Crack alternative compared: graph vs tree view, what JSON Crack states about limits and privacy, and measured results of a browser tree viewer on 2 KB, 500 KB and 5 MB files.
On this page ⌄
JSON Crack turns JSON into a graph of connected boxes. A tree viewer shows the same data as a collapsible outline. They answer different questions, so "alternative" depends on what you are trying to do. This page compares the two approaches and reports measurements from loading three files into the Xerobit JSON Viewer, including where it struggles. JSON Crack itself was not run for these tests, so everything about it below is either from its own site (quoted) or marked as untested.
What JSON Crack says about itself
From jsoncrack.com on 2026-11-02:
- It is "a free-forever open source online tool", and "we have moved the premium features to ToDiagram.com". So the paid-plan framing you may have read elsewhere is out of date for the core editor.
- Size: "It supports approximately 300 KB", and "it might vary depending on the complexity of the data and your hardware."
- Privacy: "Your data is never stored on our servers. Everything happens on your device."
- Export: PNG, JPEG or SVG images of the graph.
- Formats: JSON, YAML, XML and CSV, with both a tree view and a graph view.
If those claims hold for you, the real reasons to look elsewhere are narrower than "paid plan": files larger than about 300 KB, wanting a plain tree, or wanting to copy a path to a value.
Test: the Xerobit JSON Viewer on three files
Three generated files with the same shape, an array of user objects (id, name, email, active, score, tags, nested address, nullable manager), were pasted into the viewer in headless Chrome served from a local build of the site. The previous viewer was measured on 2026-11-02 and the current one on 2026-11-03, on one Windows machine, so treat times as rough.
The previous viewer created an element for every node, fully expanded, with no virtualization:
| File | Size | JSON nodes | Paste to rendered tree | DOM elements created |
|---|---|---|---|---|
| Small | 2.1 KB | 186 | about 60 ms | 648 |
| Medium | 505 KB | 41,604 | 0.85 s on first load, 10.6 s on a second paste into the same page | 144,018 |
| Large | 5.1 MB | 416,004 | 36.6 s | 1,440,018 |
JSON.parse took 0.0 ms, 6.0 ms and 70.2 ms for those files, so parsing was never the cost: building the DOM was. The current tree renders lazily: a branch gets its elements only when you open it, a branch with many children shows the first 100 and a "Show more" row, the first screen opens about 600 rows, and one click listener handles the whole tree instead of one per value. Same kind of files (the generated files differ slightly in node count), time measured inside the page from the paste event to the updated status bar, three pastes each:
| File | Size | JSON nodes | Paste to rendered tree | DOM elements created |
|---|---|---|---|---|
| Small | 2.2 KB | 235 | 86 to 124 ms | 815 |
| Medium | 517 KB | 51,169 | 238 to 273 ms | 2,134 |
| Large | 5.3 MB | 511,239 | 1.8 to 2.4 s | 2,134 |
Most of what remains at 5 MB is the browser handling a 5 MB textarea and the 70 ms JSON.parse; the tree itself is now a few thousand elements. "Show more" adds the next 100 rows in about 50 ms, a 1,000,000 item array renders, and 2,000 levels of nesting render. Expand all stops at 15,000 rows and says so in the status bar, because opening all 511,000 nodes would put the browser back where it started; you open deeper branches one at a time.
Honest read: the previous viewer was fine for API responses and configs and impractical at a few megabytes. The current one is comfortable at several megabytes, but it is still a tree in a page, not a database: for files that size, a command-line filter such as jq is faster for finding things, and a viewer is for looking at the part you cut out.
What the viewer does, from its source:
- Collapsible tree that opens the first screen automatically and loads the rest as you open branches, with Expand all (capped at 15,000 rows) and Collapse all buttons.
- Clicking a value copies its JSONPath (for example
$.users[0].address.city) to the clipboard. - Shows size, node count, depth and parse time for valid JSON, and the line and column of a syntax error.
- Does not have search, a file picker or a graph view. Input is a pasted textarea.
- Makes no network request: the script contains no
fetchor XHR calls, and parsing and rendering happen in the page.
For querying instead of browsing, the JSONPath Tester evaluates expressions against your data, and the JSON Formatter is the quick way to pretty-print or find a syntax error first.
When graph view helps, and when tree wins
Graph view earns its place when relationships are the point: a small document with ID references or $ref pointers, a schema you need to explain to someone who does not read JSON, or a diagram for documentation. Seeing boxes and edges makes shape visible in seconds.
A tree wins when:
- You know the key you want. Expanding
usersthen[0]thenaddressis faster than panning a diagram. - The data is a long array of similar objects. A graph draws a box per item, a tree can fold them.
- You need the path. Copying
$.users[41].emailfrom a click is something a picture cannot give you. - The document is deep rather than wide. Indentation preserves reading order, a graph layout spreads nodes out.
JSON Crack's layout was not measured on any of the three files, so no claim is made about how it looks or performs on them. Its own 300 KB figure suggests testing your actual file before committing to it.
Comparison
| Xerobit JSON Viewer | JSON Crack | Browser DevTools | |
|---|---|---|---|
| View | Collapsible tree | Graph and tree (per its site) | Collapsible object tree in the Console |
| Stated or observed size behaviour | About 0.25 s at 500 KB and about 2 s at 5 MB in the test above | "approximately 300 KB" (its site) | Not measured |
| Privacy | No network calls in the viewer script | "Everything happens on your device" (its site) | Local |
| Copy a path | Click a value to copy its JSONPath | Not verified | Right-click a property gives a copy path option in Chrome (not tested) |
| Export | None, copy only | PNG, JPEG, SVG (its site) | Copy object |
| Search | No | Not verified | Console and Elements search only |
| Account | None | None stated | None |
Choosing
- Explaining or documenting a small structure: JSON Crack's graph is built for that.
- Debugging an API response or config and needing a path: a tree viewer, such as the JSON Viewer.
- Anything over about 500 KB: filter first with
jqor a script, then view the result. - Comparing two versions: the JSON Diff tool lists added, removed and changed paths.
FAQ
What is a good JSON Crack alternative? For a tree view with copyable paths, a browser tree viewer. For a graph, JSON Crack remains the reference; alternatives differ mainly in size limits and layout.
Is JSON Crack free? Its site says it is free forever and open source, and that premium features moved to ToDiagram.com.
Is there a JSON visualizer online that does not upload my data? JSON Crack states that processing happens on your device. The Xerobit JSON Viewer contains no network calls in its script. Verify any tool's claim yourself in your browser's Network tab.
How do I convert JSON to a graph? Paste it into a graph viewer such as JSON Crack. Trees and graphs show the same data differently, they do not convert between each other.
Tested
2026-11-02 (previous viewer) and 2026-11-03 (current viewer): Xerobit JSON Viewer built locally and driven in headless Chrome; file sizes 2,157 B, 517,418 B (505 KB) and 5,327,163 B (5.1 MB) for the first set, and generated files of 2,205 B, 517,450 B and 5,327,262 B for the second; one Windows machine, timings vary between runs (for the previous viewer the second 505 KB paste took 10.6 s against 0.85 s for the first). The current viewer's times are three pastes each, measured inside the page. JSON Crack statements come from jsoncrack.com and were not tested by running the tool. DevTools behaviour was not measured.
Related tools
JSON Viewer
Explore JSON as a collapsible tree. Paste JSON and navigate nested structures with expand/collapse and JSONPath copy.
JSON Formatter
Format, validate, and beautify JSON online. 100% client-side, your data never leaves your browser.
HTML Viewer & Formatter
Paste HTML and see it rendered live in a sandboxed preview. Format and beautify messy markup, inline CSS and JS. Desktop, tablet and mobile widths.
JSONL Viewer
Paste JSONL text to view records as a table, with invalid lines reported and nested values shown as compact JSON.
Written by Mian Ali Khalid. More guides in Data & Format.