JSON Viewer
Explore JSON as a collapsible tree and copy the path of any value.
Path
JSON Viewer
Long API responses and config files are hard to read as one block of text. The JSON Viewer turns them into a collapsible tree that shows each value's type and each array or object's size, so you can fold away what you do not need. Click any value to see its path, such as data.items[3].price, ready to paste into code.
How to use JSON Viewer
- Paste JSON, or click the example.
- Expand and collapse objects and arrays to explore the structure.
- Click a value to see its path, and copy it.
When it comes in handy
- Understanding the shape of an unfamiliar API response.
- Finding the exact path to a value for code or a no-code tool.
- Reading large config and log files.
Frequently asked questions
- What if my JSON is invalid?
- The viewer shows the parser's error message and position. The JSON Validator and JSON Beautifier tools help fix it.
- Is my JSON sent to a server?
- No. It is parsed and displayed in your browser.