JSON Viewer
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.
Related guides
-
JSON vs XML vs CSV: Choosing the Right Data Format for Your Project
JSON, XML and CSV each solve a different problem. Here is how to pick the right one, plus tools to convert and validate between them.
-
How to Fix Invalid JSON: The 8 Most Common Errors
Trailing commas, single quotes, unquoted keys and the other mistakes that break JSON, with before-and-after examples and a quick way to find the problem.
-
Unix Timestamps Explained: Epoch Time for Humans
What a Unix timestamp is, why it counts from 1970, seconds vs milliseconds, time zones, the year 2038 problem, and how to convert timestamps quickly.