JSON Tree Viewer

Explore JSON in expandable branches, copy exact paths, and compare levels in a Three.js depth chart.

  • File & Data
  • Runs in your browser
  • Free, no signup

How to use

How to Use JSON Tree Viewer

  1. 1

    Paste your JSON

    Enter the JSON data you want to explore as a tree.

  2. 2

    Navigate the tree

    Click arrows to expand or collapse nested objects and arrays.

  3. 3

    Copy node paths

    Click a node to copy its JSON path for use in code.

The guide

Tested tool guide Tested browser tools Checked November 27, 2026

What JSON Tree Viewer does, with a checked example

Paste JSON to see a tree of objects, arrays and individual values. Expand a branch to read its contents. The 3D depth profile counts values across the first eight levels, starting with the root.

Worked example

A concrete input and expected output from the current implementation.

Input

{"site":{"name":"North"},"active":true}

Expected output

Root has one value, depth 1 has two values, and depth 2 has one value.

The root object is one node. Its site object and active Boolean occupy depth 1. The name string is at depth 2.

How the result is produced

1

Open a branch

Object and array rows have an expand button. Expand All and Collapse All let you change several branches together.

2

Find text in the tree

The search field highlights matching property names or values. Expand nested branches to see deeper matches.

3

Read the depth profile

The first eight levels use one bar per depth. Copy selected values using the button beside the corresponding row.

Good uses

  • Inspect a response with repeating records.
  • Check where a field sits inside nested data.
  • Review whether an array or object contains a value.

Limits and checks

  • Read object keys and array indexes separately.
  • Keep the original file if its exact number spelling matters.
  • Expand branches to inspect contents beyond the depth profile.

Common questions

Does collapsing a branch change its depth count?

The profile counts the whole source tree. Expansion affects which tree rows you see.

Can a key contain a period?

Yes. The viewer treats a key containing a period as one property.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.