Tested tool guide
Tested browser tools
Checked August 16, 2026
What JSON Tree Viewer does, with a checked example
This tool turns a JSON document into an expandable tree: paste the text or load a file, and every object, array, string, number, boolean, and null becomes a node you can collapse or expand, color-coded by type, with counts on every array and object. A search box finds matching keys and values and steps through the hits. The surprise for most users is strictness: the input must be valid JSON as defined by RFC 8259. Trailing commas, JavaScript-style comments, single-quoted strings, and unquoted keys are all rejected with a parse error. The tree is for reading structure, not reformatting - nothing is pretty-printed back out.
Worked example
A concrete input and expected output from the current implementation.
Input
{"name":"Ada","roles":["math","code"],"meta":{"active":true,"score":41.5}} ->
Expected output
{ } (3 keys)
name: "Ada" string
roles (2 items)
0: "math" string
1: "code" string
meta (2 keys)
active: true boolean
score: 41.5 number The tree mirrors the document's structure: the root object lists its three keys, arrays and objects show their size until expanded, and every scalar carries its JSON type. Each count and type shown follows directly from the input - two array items, two object keys, one boolean, one number.