JSON Viewer — Browse JSON as a Collapsible Tree
Inspect nested JSON keys, data types and object counts cleanly in a collapsible tree.
- integer at $.requestId exceeds 2^53 (12345678901234567890): JavaScript JSON.parse rounds it
When to use the Interactive Collapsible JSON Tree Viewer
A collapsible tree
Every object and array can be opened or closed, with the first two levels open at the start. Expand all and collapse all help with deep API responses.
Paths ready to copy
Click a node name to copy its path, such as $.endpoints[0].methods[1]. Keys with spaces or punctuation are written in brackets like $['content-type'], as in JSONPath RFC 9535.
Types and sizes at a glance
Each node is labelled object, array, string, number, boolean or null. Objects show their key count and arrays their item count, so empty or partial data stands out.
A full path list
The result under the tree lists every path, type and value as TSV for a spreadsheet or for writing JSONPath and jq queries.
Frequently asked questions
How large a JSON can it show?
The tree shows up to 3,000 open rows at once; the full path list is always in the result, however many nodes there are.
What about duplicate keys?
Both are shown with the same path, with a warning, because most parsers keep only the last one.
Can the paths be used in jq?
Yes, with a small change: drop the leading $, so $.owner.email becomes .owner.email.
Is my data uploaded?
No. The tree is built in your browser.
Why are string values shown in quotes?
So that the string "123" is not mistaken for the number 123 and the string "null" not for null. Control characters such as newlines are shown as \n so every value stays on one line.
Similar tools
- JSON Formatter & Syntax PrettifierFormat messy single-line JSON with 2/4-space indentation and sorted keys.
- JSON Minifier & Whitespace CompressorStrip whitespace and newlines from JSON payloads and compare byte savings.
- RFC 8259 JSON Syntax Validator & DebuggerPinpoint trailing commas, unquoted keys & syntax errors with line/column clues.
- Semantic JSON Object Diff CheckerNormalize key order and spot added, removed or modified JSON paths clearly.