Your JSON appears here as a collapsible tree.
How to use
Open your JSON
Paste JSON or JSON Lines into the left pane, drop a file on it, press Open .json, or press Load URL to fetch a public JSON address. Try sample loads a small bookstore.
Browse the tree
Open and close branches with the arrows, or use Expand all and Collapse all. Type in the search box to find keys and values, and pick how many levels open at first.
Copy paths, query or tabulate
Click a node and press Copy path or Copy value. Switch to Table for lists of objects, JSONPath for queries, or Stats for a summary of the document.
Why JSON Viewer
- Opens large documents quickly: long arrays show 200 items at a time with a button for more.
- Search across keys and values, with matching branches opened and highlighted.
- Every node has a copyable JSONPath, and the JSONPath tab runs full queries with filters.
- Table and Stats views, plus JSON Lines support, all in your browser.
Tree, table, JSONPath or stats: which view to use
Each tab answers a different question about the same data. Switch between them freely; the JSON is parsed once.
| View | Shows | Use it to |
|---|---|---|
| Tree | Every object and array as a branch, with item counts | Explore structure and copy paths |
| Table | One list of objects as rows and columns | Compare records side by side |
| JSONPath | The values that match a query, with their paths | Extract fields, filter items |
| Stats | Depth, key count, value types and size | Check what a payload contains before you process it |
Tips for reading large API responses
Most big payloads follow a pattern: a small envelope with status and paging fields, and one large array of records. Start with Open levels set to 1 to see the envelope, then open the array and check its length in the brackets.
- Search for a field name, such as email, to see every place it appears and how deep it sits.
- Use the Table tab on the records array to spot missing or empty fields across rows.
- Copy a path from the tree and paste it into the JSONPath tab, then replace an index with * to get the same field from every item.
- Use Stats to confirm the nesting depth before you write code that walks the structure.