JSON Tree Viewer
A tree view turns a wall of brackets into something you can navigate. Fold away the parts you do not care about, expand only the branch you are chasing, and copy the exact path to any value. The tree renders in your browser, so even very large documents stay responsive.
Fold, expand, and control depth
Every object and array is a collapsible node. Collapse the branches you do not need and the shape of the document becomes obvious at a glance: how many records, how deeply nested, which keys repeat. Expanding to a fixed depth shows the top few levels of a large payload without flooding the screen with leaves.
Each node shows its child count, so you can tell an array of three from an array of three thousand before you open it. That alone answers most questions about an unfamiliar API response.
Copy the path to any value
Selecting a node gives you its full path through the document, which is what you need when you are writing code against the data rather than just reading it. Paste the path straight into a query, a test fixture, or a bug report.
Search runs across keys and values at once and highlights every hit in the tree, with the matching branches expanded so results are visible instead of hidden inside collapsed nodes.
Built for files that break other viewers
Rendering is virtualized: only the rows on screen exist in the DOM, so a document with hundreds of thousands of lines scrolls, folds, and searches without freezing the tab. Viewers that build the whole tree up front stall on exactly these files.
Numbers too large for JavaScript to represent exactly, such as Snowflake IDs, are displayed as they appear in the source rather than rounded, so what you read in the tree is what is actually in your data.
Tree, table, and raw are the same document
The tree is one of several views over the same parsed document. Switch to the table or grid view for arrays of uniform records, or to raw text when you want to see the formatting. Nothing re-parses or reloads; the views are different lenses on one document, and any edit is visible in all of them.
Frequently asked questions
Is the JSON tree viewer free?
Yes. The tree view, folding, depth control, path copying, and search are all free with no sign-up. Pro adds jq queries, schema validation, and diff on top.
Can it open a very large JSON file?
Yes. Rendering is virtualized, so documents with hundreds of thousands of lines remain smooth to scroll and search. The limit is your browser tab memory rather than an upload cap.
How is this different from the JSON viewer page?
The same editor powers both. This page is about the tree specifically: folding, depth, and paths. The viewer page covers the full set of views, including table and diagram.
Can I see JSON as a grid or table instead?
Yes. Arrays of uniform records render as a sortable grid, which is usually easier to scan than a tree when every item has the same shape. One click switches between them.
Does viewing my JSON upload it anywhere?
No. Parsing and rendering happen in your browser. The document stays on your device unless you deliberately create a share link.