JSON Viewer
runs in your browserno sign-upfree
View JSON as a collapsible tree, expand or collapse levels and copy the path of any value.
Valid JSON · 22 values · click a row to get its path
$About this tool
This JSON viewer shows JSON as a collapsible tree, so large API responses and config files are easy to explore. Expand or collapse objects and arrays one level at a time or all at once, see how many keys or items each one holds, and click any value to get its path (like $.tools[0].slug) ready to copy.
How to use
- Paste your JSON into the JSON box. The tree updates as you type.
- Click an object or array to open or close it, or use Expand all / Collapse all.
- Click any row to select it; its path appears above the tree. Press Copy path to copy it.
FAQ
What format is the copied path in?
JSONPath style, starting with $ for the root: $.owner.name for object keys, $.tools[0] for array items and $["contact info"] for keys with spaces or special characters. It is easy to adapt for JavaScript (data.owner.name) or for jq.
Can it open very large JSON files?
Yes. Only the open parts of the tree are drawn, and long arrays show the first 200 items with a "Show more" button, so the page stays fast.
What if my JSON is invalid?
The status line shows the error with its line and column, and the problem is underlined in the editor. Fix it and the tree appears again.
Is my JSON uploaded?
No. The viewer runs entirely in your browser, so your data never leaves your device.