JSON tree view
Validate JSON and render its structure as an indented tree so a large payload reads at a glance.
JSON tree view
Paste JSON and this tool draws its shape as an indented tree, using the same box-drawing connectors ("├─", "└─", "│") a file explorer or the Unix "tree" command uses. It's built for the moment a formatter alone isn't enough — a deeply nested API response, a config file with dozens of keys, or a payload you've never seen before and need to understand at a glance.
Every object and array node is labelled by its child count instead of a generic type name — "user{5}" for an object with five keys, "items[12]" for an array of twelve — so the size of each branch is visible without expanding it. Scalar leaves show their value, truncated to a length you control so one long string doesn't push the tree off the screen. Turn on "Show types" to annotate each leaf with its JSON type, useful when a field could plausibly hold more than one shape. "Max depth" collapses anything nested deeper than that into a one-line summary, keeping a genuinely deep document readable. "Sort keys" renders each object's keys alphabetically instead of source order, handy for comparing two similar structures by eye.
When the input isn't valid JSON, the tool names the exact line and column where parsing failed, shows that line, and states what to check: a missing comma, an unescaped quote, or a bracket that was never closed. That turns a search through a long payload into a glance at one line.
Everything runs in your browser. The JSON you paste — production config, an API response with real customer data, a payload you're not supposed to share — is parsed and rendered locally and never uploaded anywhere. Copy the tree or download it as a .txt file when you're done.