JSON Tree Viewer

Live

JSON Tree Viewer shows JSON as a tree you can open and close, search and copy paths from.

Runs in your browser: what you enter is processed on your device and not uploaded to MyToolDock.

Click a key to copy its path.

What is JSON Tree Viewer?

JSON Tree Viewer shows JSON as a tree you can open and close, search and copy paths from. Up to 20 MB. Large lists load 500 items at a time. A message tells you the line and column of a syntax error.

How It Works

  1. Enter JSON, pasted or loaded from a file in the input fields on this page.
  2. Press the button to run JSON Tree Viewer.
  3. Read a collapsible tree, with the path to any value one click away in the result area, and copy or download it.

Common Uses

Good to Know

Click a key to copy its path, for example $.users[0].email. Use the search box to list every key or value that contains your text.

How it works

Paste or load JSON and press View as tree. Objects and arrays open and close with the arrow, and the Expand setting opens the first one, two or three levels, or everything up to 3,000 nodes. Strings, numbers, true and false, and null are coloured differently.

Click a key to copy its path, for example $.users[0].email, ready to use in code or a query. The search box lists every key or value containing your text, with its path, up to 100 matches. Invalid JSON is reported with the line and column of the first problem.

Worked example

A document with a users list of two objects, a count, a true value, a null and a key with a space opened to show every nested value when everything was expanded. Searching b@x gave $.users[1].email, searching "my key" gave $["my key"], and the text {"a": [1, 2,} was reported at line 1, column 13. A list of 3,000 numbers showed 500 and said 2,500 more were not shown.

Limits

Up to 20 MB. Lists and objects with more than 500 entries show the first 500 only, to keep the page fast; use search or Diff for the rest. Comments and trailing commas are not valid JSON and are reported as errors.

Frequently Asked Questions

How do I get the path to a value?

Click its key. The path is shown and copied.

Why does it stop at 500 items?

Showing thousands of rows at once would slow the browser. Open the list in parts or search for what you need.

Is my JSON uploaded?

No. It is read in your browser.

What does JSON Tree Viewer do?

JSON Tree Viewer shows JSON as a tree you can open and close, search and copy paths from. Up to 20 MB. Large lists load 500 items at a time. A message tells you the line and column of a syntax error.

What do I need to enter in JSON Tree Viewer?

JSON, pasted or loaded from a file.

Is my data private in JSON Tree Viewer?

Your JSON stays in your browser and is not uploaded.

Is MyToolDock JSON Tree Viewer free to use?

Yes, MyToolDock JSON Tree Viewer is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.

Where can I learn more about JSON Tree Viewer and related workflows?

MyToolDock publishes written guides on the topic: CSV to JSON: Simplifying Web Data Imports; Why You Need JSON Formatting and Validation. Each guide links back to the tools it covers.

Related Tools

.env and .properties to JSON Converter INI to JSON Converter JSON Diff JSON Flatten and Unflatten Converter JSON to YAML JSON Validator & Linter

Guides

More in Developer Tools · Browse all tools

Developer Scratchpad

Copied to clipboard!