JSON Tree Viewer

Open JSON as a collapsible tree, highlight keys and values, and copy the path to any item for code or a JSONPath query.

Processed on your device. Files are not uploaded

How to view JSON as a tree

  1. Paste your JSON

    Type or paste it into the box.

  2. Explore the tree

    Open and close branches, or use Expand all and Collapse all.

  3. Copy a path

    Press the path button on any row to copy something like $.tools[0].id.

    Paste the path into the JSON Path Tester to try it.

When to use JSON Tree Viewer

A large API response is hard to read as text, and you want to open and close branches.

You need the exact path to a value for code or a JSONPath query.

Tips for a better JSON Tree Viewer result

Paste the JSON, use expand all and collapse all, and press the path button on a row to copy something like $.tools[0].id.

Use the highlight box to find a key or value.

JSON Tree Viewer: limits and what to check

If the JSON has a mistake, the message says where.

Very big files draw more slowly, and collapsing everything keeps the view light.

About JSON Tree Viewer

See JSON as a tree you can open and close, with the number of items in each object and list, colours for strings, numbers and booleans, and a highlight box to find a key or value. If the JSON has a mistake, the message says where.

FAQs

Is my data uploaded anywhere?

No. The JSON is read on your device, so your data stays private.

What do the paths look like?

They start with $ for the root, use a dot for keys and square brackets for list positions, as JSONPath does.

How big a file can it open?

Large files work, but very big ones are slower to draw. Collapse all keeps it light.

Can I edit the JSON here?

Edit the text on the left and the tree updates at once.

Related tools