Free Online JSON Viewer
View JSON as a collapsible tree. Search keys and values, copy the path or value of any node, and see counts of each type.
JSON input
Tree view
▸Object(7)
▸tags:Array(3)
▸owner:Object(3)
▸address:Object(2)
▸releases:Array(2)
▸[0]:Object(3)
▸[1]:Object(3)
▸limits:Object(2)
$How to use
Paste your JSON into the input editor. A sample is loaded to start with.
Explore the tree on the right. Click an object or array to open or close it, and use Expand all or Collapse all for the whole document.
Type in the search box to find keys and values. Matches are marked and the branches that contain them open by themselves.
Click any row to see its path, then copy the path (for example $.owner.address.city) or the value.
Use A− and A+ in the editor's title bar to change the text size, untick Wrap long lines under it to scroll sideways, and use the icons to copy or clear the text.
Why use this tool
Collapsible tree
Open and close objects and arrays, with the number of items shown on each one.
Search
Find keys and values, with matches marked and their parent branches opened.
Copy paths and values
Select a node to get its path, such as $.releases[1].version, and copy it or its value.
Summary
See how many objects, arrays, strings, numbers, booleans and nulls the document has, and how deep it goes.
Code editor
A real code editor with syntax colours, line numbers, a Format button, adjustable text size and optional line wrapping.
About this tool
The JSON Viewer turns JSON into a collapsible tree that is easy to read and explore. Paste a response from an API, a config file or any JSON document, and open and close the objects and arrays, search for a key or a value, and copy the path to anything you find. A summary counts each type of value and shows how deeply the data is nested. It is a quick way to understand the shape of JSON that is too large or too nested to read as plain text.
Frequently asked questions
The formatter rewrites your JSON with neat indentation, or minifies it. The viewer shows the same JSON as a tree you can open, close and search, which is easier for large or deeply nested data.
Yes. If the JSON cannot be read, the tree shows the problem. For a full validation report, use the JSON Validator.
They start with $ for the whole document, then use dots for keys and square brackets for array positions, for example $.owner.address.city or $.tags[0].
It handles most payloads. Each branch shows its first 500 items, and very large documents may slow the page down.
Yes. Use A− and A+ in the editor's title bar to change the text size, and untick Wrap long lines under the editor to scroll sideways. Both choices are remembered on this device.