JSON Tree Viewer
Explore JSON as a collapsible tree with types and counts.
This tool needs JavaScript enabled to run in your browser.
What this tool does
This tool parses JSON and shows it as a collapsible tree, so you can explore a large document without scrolling through raw text. Click any object or array to fold it away, or use expand and collapse all to move quickly.
How to use it
- Paste JSON, or import a
.jsonfile. - Click a branch to collapse or expand it.
- Each value shows its type, and objects and arrays show how many children they hold.
Common use cases
- Getting your bearings in a deep API response.
- Finding where a field lives before writing a JSONPath or an assertion.
- Checking the shape of a payload at a glance.
Good to know
The tree is built from parsed JSON, so the input must be valid. If it is not, fix the syntax first with the JSON Formatter, which points at the error. Everything is rendered in your browser and nothing is uploaded.
Frequently asked questions
- Can I collapse parts of the tree?
- Yes. Click any object or array to fold it, or use expand and collapse all to move quickly through a large document.
- What if my JSON is invalid?
- The tree needs valid JSON. Fix the syntax first with the JSON Formatter, which points at the error.
Learning resources
Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.