JSON Tree Viewer & Explorer — Interactive JSON Visualizer
Paste JSON to inspect it as a collapsible tree. The first level opens automatically; expand or collapse branches, or use the controls to expand or collapse all. Each row shows its key, value type and, for objects and arrays, the number of direct children. Each expanded level initially shows up to 100 entries; Show more adds 100 entries while keeping the ones already shown.
Use the tree to browse nested API responses, configuration files or logs one level at a time. The copy path button copies the selected node's simple path: object keys use dot notation such as $.users and array items use indexes such as $[0]. Keys containing dots, brackets or other special characters are not escaped in this path format; use the graph view's RFC 6901 JSON Pointer when you need an unambiguous path for such keys.
JSON.parse converts numbers to JavaScript Number values, so integers outside JavaScript's safe integer range may lose precision. The viewer parses and displays the JSON in your browser; moving to another tool page does not carry the pasted document with it.
About JSON Tree Viewer
Browse JSON in a collapsible tree, expand branches, inspect direct child counts, and copy simple dot and index paths. For unambiguous paths to keys containing special characters, use the graph view's RFC 6901 JSON Pointer.
- Opens the first level automatically
- Expand or collapse all branches
- Shows value types and direct child counts
- Copy simple paths with a dedicated button
- Reveals more entries progressively
100% client-side. Your inputs never leave your browser. AdSense follows your privacy choices.
Frequently asked questions
How does the JSON tree viewer work?
Paste a JSON object or array to see a collapsible tree. The first level opens automatically; expand or collapse branches and use the toolbar to expand or collapse all. Rows show values and types, plus direct child counts for objects and arrays. Each expanded level initially shows up to 100 entries; Show more adds 100 while keeping the entries already shown. Use the dedicated copy path button on a row to copy a simple path such as $.users[0].name. Object keys are written with dot notation and are not escaped, so keys containing dots or brackets can make a path ambiguous; use the graph view's RFC 6901 JSON Pointer for special keys. JSON numbers are parsed as JavaScript Number values, which can lose precision for integers outside the safe integer range.
Is the JSON viewer free?
Yes, the viewer is free to use and requires no signup.
Does the viewer upload my JSON to a server?
The tree is built in your browser from the JSON you paste. Moving to another tool page does not carry the pasted document with it. See the privacy policy for the website's advertising and audience measurement services.
Can I search and copy specific fields?
The tree has no built-in search or copy-value action. Use the copy path button on a row to copy its simple dot-and-index path. The path does not escape special characters in object keys, so use the graph view's RFC 6901 JSON Pointer for an unambiguous path to those keys.
Related guides
- Process large JSON: a runnable NDJSON filterFilter records without loading an entire export, reproduce the result, and understand where streaming still needs memory and error controls.
- JSONPath, JMESPath and jq: one input, checked resultsRun equivalent selections on a downloadable JSON sample, compare result shapes and choose a language supported by your tool.
By Marco B.