JSON Tree Viewer
View JSON as a collapsible tree that is easy to read, and copy the JSONPath or JavaScript path of any key with one click.
0 characters0 bytes
How to Use It
- Paste the JSON.
- Open or close the nodes.
- Select the name of a node, and copy its path.
Questions and Answers
What is the JSONPath for?
Tools such as jq, Postman, and API tests use it to point to one value. You can put the JavaScript path directly in code.
Is my JSON sent anywhere?
No. The tree is made in your browser.
Good to Know
Each node shows 200 children at first; “Show more” shows the rest. Numbers larger than 2 to the 53rd are shown rounded.
Related Tools
- JSON Formatter and ValidatorPretty-print or minify JSON, or find its errors with the line and column.
- JSON DiffCompare two JSON documents by structure, whatever the key order and spacing, and see each difference with its path.
- JSON Schema ValidatorCheck JSON data against a JSON Schema (drafts 4, 7, 2019-09, and 2020-12) and see each error with its path in the data.
Source code of this tool (opens in a new tab)Report a problem on GitHub (opens in a new tab)