Developer Tools Runs in your browser Free · no account

JSON Tree Viewer

The JSON tree viewer renders a document as a tree you can expand and collapse, so a large payload can be explored one branch at a time instead of scrolled through. Objects and arrays show how many items they hold, and values are colour-coded by type so structure is visible at a glance.

Options
JSON 0 characters
Tree

Your result will appear here.

Not sure where to start? Use Load example.

Results update automatically and are calculated on your device. Nothing you type is sent to a server.

Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.

How to use the JSON Tree Viewer

  1. Paste or upload the JSON document.
  2. Click a branch to expand or collapse it — the top level opens automatically.
  3. Use the item counts to find the large parts of the document quickly.
  4. Copy returns the formatted JSON rather than a rendering of the tree.

Example

Input
{"user":{"name":"Ada"}}
Output
{ 1 item }
  user  { 1 item }
    name  "Ada"

Common use cases

  • Exploring an unfamiliar API response to find the field you need.
  • Checking the shape of a deeply nested configuration file.
  • Finding which part of a large payload is responsible for its size.
  • Reading a document that is too long to scan as formatted text.

Limitations and things to watch for

  • Containers with more than 500 children are truncated in the display, with a count of what was not shown. Rendering a 50,000-element array would create 50,000 elements and freeze the tab. The Copy button still returns the complete document.
  • The tree is a view, not an editor. Values cannot be changed here.
  • Very deep nesting is capped for display. In practice a document nested beyond a hundred levels usually indicates a generated structure rather than something anyone reads.

Frequently asked questions

How is this different from the JSON Formatter?
The formatter gives you the whole document as indented text, which is best when you want to read or copy all of it. The tree viewer lets you collapse the parts you do not care about, which is what you want when the document is far larger than the bit you are looking for.
What do the item counts mean?
How many entries an object or array holds directly, not counting what is nested inside them. It is the quickest way to spot which branch of a large payload is the big one.
Why is a long array cut off?
Only in the display, and only past 500 children. Rendering every element of a very large array would create tens of thousands of elements and lock up the browser. The count tells you how many were hidden, and Copy still gives you the complete document.
What does Copy return?
The formatted JSON, not a text rendering of the tree — so you can paste it straight back into an editor or a request.
Is my JSON uploaded?
No. The document is parsed and rendered entirely in your browser.

Share this tool