Visual JSON explorer
JSON Tree Viewer
Browse deeply nested JSON as a collapsible tree. See each value’s type and size at a glance, search across keys and values, and copy the JSONPath of any node.
Select a node to see its pathThe beautified JSON and tree appear here as soon as your input is valid.
Drop to open
.json, .txt and other text files
How it works
How to use the JSON Tree Viewer
- 01
Paste or open your JSON. The tree builds as soon as it parses.
- 02
Expand everything, collapse everything, or open the tree to a chosen depth.
- 03
Search for a key or value, step through matches, and click any node to copy its path or value.
FAQ
Frequently asked questions
What is JSONPath?
JSONPath is a short way to point at a value inside JSON, such as $.users[0].email. Click a node in the tree to copy its path for use in code, jq filters or test assertions.
Can the tree handle very large JSON?
Yes. The tree is virtualised, so only the visible rows are drawn. Files with hundreds of thousands of nodes stay smooth to scroll and search.
What do the badges next to each node mean?
Objects show {n} with their number of keys and arrays show [n] with their length. Primitive values are colour-coded by type: string, number, boolean or null.
Is my JSON uploaded to a server?
No. All parsing, formatting and validation happens in your browser with JavaScript. Nothing you paste or open is sent to us or stored on a server. Share links keep the JSON inside the URL fragment (after the #), which browsers never send to servers.
Tools
More JSON tools
JSON Viewer
Free online JSON viewer, formatter and validator. Paste or upload JSON to beautify it, explore it as a tree and find syntax errors by line. 100% private.
JSON Formatter
Pretty-print JSON instantly with 2-space, 4-space or tab indentation, optional key sorting and syntax highlighting. Free online JSON beautifier, no upload.
JSON Validator
Validate JSON as you type. Errors are flagged on the exact line and column with a plain-English explanation and a one-click fix. Free and private.
JSON Minifier
Minify JSON by stripping whitespace and line breaks to shrink payloads. See the size saved instantly. Free, private online JSON compressor.
JSON Repair
Repair invalid JSON automatically: trailing commas, single quotes, comments, unquoted keys, missing brackets, Python True/None and more. Free and private.