JSON

JSON Tree Viewer

Paste JSON to browse it as an expandable tree with types and sizes, search keys and values, and copy the exact path of any node.

Ready.

What it does

Large JSON is hard to read as flat text. The tree view shows objects and arrays as expandable nodes with their size, and colors each value by type so strings, numbers, booleans and nulls are easy to tell apart.

How to use

  • Expand or collapse a node with its arrow. Big arrays load in chunks of 200, so very large documents stay fast.
  • Select a key to copy its path, for example $.tools[0].id, which you can use in code or in the JSONPath Tester.
  • Type in the search box to open the branches that contain a matching key or value.

Good to know

Numbers are shown as your browser parses them, so integers beyond 15 digits may appear rounded. Use the JSON Formatter when you need exact digits.

Example: finding and copying a path

Paste this document:

{"tools":[{"id":"json","tags":["format","validate"]},{"id":"yaml"}]}

Expand tools, then 0, then tags, and select the second item. The path is $.tools[0].tags[1] and the value is "validate". In a path, $ is the root, a dot selects a key and a number in square brackets selects an item of an array, counting from 0.

Tree view, formatter or JSONPath?

  • Use the tree view to explore a document you do not know yet and to find where a value lives.
  • Use the JSON Formatter when you need readable text to copy, or exact digits in very large numbers.
  • Use the JSONPath Tester when you already know what you are looking for and want to run a query that returns every match.

Working with large documents

Large arrays load in chunks of 200 items, so a document with many thousands of entries stays responsive. Instead of scrolling, type a key or a value into the search box: the branches that contain a match open automatically. If your file has one JSON value per line, use the NDJSON tool instead.

Frequently asked questions

Why do some large numbers look rounded in the tree?

The tree shows numbers as your browser parses them, and browsers keep only about 15 to 17 significant digits. Use the JSON Formatter when exact digits matter.

Does the tree show the type of each value?

Yes. Strings, numbers, booleans and null have different colors, and objects and arrays show how many items they contain.

Is my JSON uploaded?

No. The viewer runs in your browser.

Privacy

This tool runs entirely in your browser. What you enter is processed on your device and is not sent to a server.

Share this tool

Your data is not included in this link.