Skip to main content

JSON Tree Viewer – Explore JSON as a Collapsible Tree

View JSON as an expandable tree. Search keys and values, copy the JSONPath or value of any node, and collapse large documents. Runs in your browser.

JSON Tree Viewer

Explore JSON as a collapsible tree

Your JSON tree will appear here

Paste JSON above or load the example

What is JSON Tree Viewer?

Paste JSON and explore it as a collapsible tree with colour-coded types. Search across keys and values and the tree opens to every match, expand or collapse everything with one click, and copy the JSONPath or the value of any node. Large arrays are paged so big API responses stay responsive, and invalid JSON is reported with the line where it breaks. Everything runs in your browser, so your data is never uploaded.

  • json
  • tree
  • viewer
  • jsonpath
  • explorer

Features

What you get with JSON Tree Viewer.

  • Collapsible Tree

    Expand and collapse any object or array, or open the whole document at once.

  • Search Keys and Values

    Matches are highlighted and the tree opens to each one automatically.

  • Copy JSONPath

    Copy the exact path or the value of any node with one click.

  • Private and Large-File Friendly

    Runs in your browser and pages long arrays so big responses stay smooth.

How to use JSON Tree Viewer

Follow these steps to get the best results.

  1. Paste a JSON response

    Paste an API response or config file. The first two levels open automatically.

  2. Find a value

    Type in the search box to highlight matching keys and values across the whole tree.

  3. Copy a path

    Hover a node (or tap on a touch screen) and use the link icon to copy its JSONPath, such as $.users[0].name.

Advertisement

In-feed adResponsive

Frequently asked questions

Common questions about JSON Tree Viewer.

A JSON tree viewer shows JSON as nested, collapsible nodes instead of one long block of text, which makes it easier to understand the structure of an API response or configuration file.

Comments

Share feedback, ask questions, or help others use this tool.

Join the discussion

Sign in to comment, reply, and report inappropriate content.

Advertisement

Mobile banner adResponsive