JSON Viewer

Explore large JSON as a searchable tree and copy any node’s path.

Runs in your browser Instant No sign-up
Expand
JSON input
Tree

Paste, type or drop a file — output appears as you type.

Waiting for input
Processed locally · nothing is uploadedProcessed locally

How to use the JSON viewer

  1. Paste, drop or open a JSON document in the left pane. The tree appears on the right as soon as the input is valid.
  2. Choose how deep the tree opens with Expand: 1 level, 2 levels, 3 levels or All.
  3. Click the arrow next to an object or array to fold or unfold it, or double-click the row. Expand all and Collapse act on the whole document.
  4. Click any row to select it. Its JSONPath appears in the bar at the bottom, with Path and Value buttons to copy the path or the pretty-printed value of that node.

Collapsed containers show a short summary, such as {…} with 3 keys or […] with 12 items, so you can see the shape of the data without opening everything.

Search keys and values

Type in the search box above the tree to find every key or value that contains the text, ignoring case. Matching keys and values are highlighted, the number of matches is shown next to the box, and every branch that contains a match opens automatically. Clear the search to return to your chosen expansion level.

Search looks at the raw text of strings, numbers, true, false and null, so searching for null finds empty fields and searching for part of an ID finds the record that holds it.

What you see in the tree

Element Display
Object keys Quoted, in the property color
Array items Their index (0, 1, 2…)
Strings, numbers Exactly as written in the source
true, false, null Keyword color
Large arrays 100 items, then “Show 100 more of N remaining”

Invalid input shows the same precise error as the formatter, for example Trailing comma is not allowed before }. at line 1, column 8, with Jump to error and a link to JSON Repair.

Formatter, viewer or JSONPath?

  • Use the JSON Formatter when you need text: to paste into a ticket, commit a fixture or compare with a diff.
  • Use the viewer when you need to find something in an unfamiliar or very large document.
  • Use the JSONPath Tester when you already know the pattern and want every match at once, for example $..price. The path copied from the viewer is a good starting point.
  • To compare two versions of a document, use JSON Diff.

Frequently asked questions

Is my JSON uploaded when I view it?

No. Parsing and the tree view run in your browser tab and nothing is uploaded, so you can safely explore API responses, logs and configuration files.

How is the JSON Viewer different from the JSON Formatter?

The formatter produces pretty-printed text you can copy or diff. The viewer shows the same document as a tree you can fold, search and click through, which is faster when you need to find one value in a large response. Copy and Download in the viewer still give you the formatted text.

What does the path at the bottom mean?

It is the JSONPath of the node you clicked, for example $.store.books[0].title. Paste it into the JSONPath Tester, a Kubernetes jsonpath flag or your code to reach the same value.

Can it handle large files?

Yes. Only expanded branches are drawn, and arrays show 100 items at a time with a button to reveal the next 100, so a file with tens of thousands of records stays responsive.

Are big numbers shown correctly?

Yes. The tree is built from the raw number text, so an ID like 9007199254740993 is displayed exactly instead of being rounded to the nearest 64-bit float.

Last updated