JSON Tree Viewer & Explorer
Browse JSON as an expandable tree, search keys and values, and copy exact JSON Pointer paths and values. Everything runs in your browser.
Your text never leaves your browser.
How this JSON tree viewer works
Paste JSON and select View JSON. The input is parsed strictly: comments, trailing commas, single quotes, multiple root values and duplicate keys in one object are rejected with a line and column. One leading byte order mark is allowed. Each object or array becomes an expandable row showing its child count, and every key or array index shows its type and a short preview. Keys keep their written order.
Select any row to see its type, its JSON Pointer (RFC 6901) and its original JSON text. Copy path copies the pointer, such as /a~1b/~0name, where ~ becomes ~0 and / becomes ~1. Copy value copies the exact source text, so 9007199254740993 and escapes like "\u0041da" are never rewritten. Shortened previews still copy the full source value or pointer.
Searching keys and values
Search matches literal, case-insensitive text in decoded keys and string values, and in the original spelling of numbers, true, false and null. Selecting a result expands its parents, moves to the right page and selects it. The exact total is always shown, with the first 100 matches listed in document order. The tree shows 100 visible rows per page.
Worked example
This is the built-in example. Numeric-looking keys stay in written order, the empty key has the pointer /, and __proto__ is an ordinary key. Searching for ada finds the escaped string at /a~1b/~0name.
{"10":"ten","2":"two","a/b":{"~name":"\u0041da","empty":[]},"":[null,9007199254740993],"__proto__":{"enabled":false}}| Node | Type | JSON Pointer | Preview |
|---|---|---|---|
| Root | object | Root | { "10", "2", "a/b", "", "__proto__" } |
| "10" | string | /10 | "ten" |
| "2" | string | /2 | "two" |
| "a/b" | object | /a~1b | { "~name", "empty" } |
| "~name" | string | /a~1b/~0name | "Ada" |
| "empty" | array | /a~1b/empty | [] |
| "" | array | / | [ null, 9007199254740993 ] |
| [0] | null | //0 | null |
| [1] | number | //1 | 9007199254740993 |
| "__proto__" | object | /__proto__ | { "enabled" } |
| "enabled" | boolean | /__proto__/enabled | false |
Limits and privacy
Input is limited to 512 KiB of UTF-8, 128 levels of nesting and 50,000 values. Parsing runs in a background worker when available, with a local browser fallback. Search and copying are local browser actions. Your JSON, search text and paths stay in your browser and are never uploaded or stored.
Related tools: pretty-print or minify with the JSON Formatter & Validator, run queries with the JSONPath Tester, or compare two documents with the JSON Diff & Compare Tool.
Frequently asked questions
What does Copy path copy?
An RFC 6901 JSON Pointer such as /a~1b/~0name. Each key or array index becomes a token after a slash, with ~ written as ~0 and / as ~1. Array indexes start at 0. The root has the empty pointer, so it has no Copy path button, and an empty key is copied as a single /.
Why is my JSON rejected for duplicate keys?
Parsers disagree on which value wins when one object repeats a key, so the viewer rejects it instead of hiding a value. Keys are compared after decoding escapes, so "a" and "\u0061" are duplicates. The same key in different objects is fine.
Are large numbers shown exactly?
Yes. Numbers are never converted to JavaScript numbers, so 9007199254740993, long decimals and huge exponents keep the exact spelling you wrote. Copy value copies the original source text, including string escapes and container formatting.
Does the tree keep my key order?
Yes. Object members appear in the order they were written, even numeric-looking keys such as "10" before "2". Keys like "__proto__" and "constructor" are shown as ordinary keys.
How large can the JSON be?
Up to 512 KiB of UTF-8, 128 levels of nesting and 50,000 values. The tree shows 100 visible rows per page, and search lists the first 100 matches with an exact total.
Is my JSON uploaded anywhere?
No. Parsing runs in a background worker when available, with a local browser fallback. Search and copying are local browser actions. Your JSON, search queries and paths are never sent to a server, stored or added to the URL. A shortened preview still copies the full original source value.