JSON Viewer
Every key where you left it. Every number too.
Open a JSON file or paste JSON. I’ll grow the tree.
Ctrl+O opens a file · drop it on this pane
I keep your key order. Somebody has to.
The tree appears here: keys in their order, numbers as written, search and a path for every node.
Open a JSON file or paste JSON to read it as a tree. Keys stay in their order, numbers stay as written, and every node has a path you can copy. The JSON goes to our API only to be checked; the tree is built in your browser.
How to view a JSON file as a tree
- Open a JSON file, drop it on the input or paste JSON.
- Search keys and values, expand the tree to level 1, 2 or 3, and select any node.
- Copy the node’s path as a JSON Pointer or a JSONPath for your code, jq or a ticket.
JSON tree viewer and parser: what you see is what’s in the file
The tree is parsed from your text, not through JSON.parse: {"10": …, "2": …} keeps 10 first, 12345678901234567890 keeps every digit, and a duplicated key shows up twice instead of silently winning. The counts above the tree — keys, depth, objects, arrays, duplicate keys and big integers — come from the same check the JSON Validator runs.
JSON viewer FAQ
How do I open a JSON file online?
Press Open JSON file, or drop the file on the input. Files up to 1 MiB are checked by our API and shown as a tree; the text is processed in memory and never logged or stored.
JSON Pointer or JSONPath: which path do I need?
A JSON Pointer (RFC 6901) names one node, /items/0/id: JSON Patch and JSON Schema use it. JSONPath (RFC 9535) is a query language, $.items[0].id, used by jq-style tools and API tests. The viewer gives both for the node you select.
Can it show invalid JSON?
No: the tree grows only from valid JSON. If the document breaks, you get the error with its line and column, and Show me puts the cursor on it. Fix it, and the tree appears.
How is it different from the Formatter’s Tree tab?
The Formatter shows a tree of its output. The viewer is built for reading: search with next and previous match, expand to a level, paths in two notations, and counts of keys, depth, duplicate keys and big integers.
Other tools
- JSON Formatter — 2 spaces, 4 spaces or tabs, order kept.
- JSON Validator — exact line and column for every error.
- JSON Diff — what changed, with JSON Pointer paths.
- Base64 Encode & Decode — in your browser, nothing sent.
- JWT Decoder — header, payload and expiry, decoded in your browser.
- JSON to Query String — arrays, nesting and spaces your way, and back.
- Unicode Unescape — \u0430 from DevTools into letters, in your browser.
- JSON Minifier — one line, every byte accounted for.
- JSON to YAML — same order, same numbers, safe quoting.
- YAML to JSON — numbers as written, anchors expanded, no guessing.
- JSON Position Finder — turn “position 1234” into a line and column.