What JSON Viewer does
JSON Viewer parses the complete input and renders nested objects and arrays with expandable details. Object property counts and array lengths are shown, while primitive strings, numbers, booleans, and null appear as leaf values.
The visual renderer stops descending after 20 levels and shows at most 200 children for each object or array, noting omitted entries. Those display bounds protect usability but do not mean the source document was truncated before parsing.
How to use JSON Viewer
- Paste a complete valid JSON document.
- Select Build tree and correct any syntax error first.
- Expand objects and arrays to inspect keys, indexes, counts, and primitive values.
- Return to the source or a specialized tool when omitted entries or deeper levels must be examined.
Important details
Bounded tree rendering
Objects and arrays initially open near the root. Each node renders up to 200 children, and recursion stops at depth 20 with an explicit depth-limit message.
Read-only structure
The tree is an inspection view, not an editor. It does not modify values, search paths, sort keys, calculate JSONPath expressions, compare versions, or validate a schema.
Practical uses
- Explore the shape of a small API response or configuration file.
- Inspect nested array lengths and object property names.
- Confirm where a value sits before writing code that reads it.
Privacy and limitations
The JSON is parsed and rendered locally, without upload to PagesTools. The browser still holds the parsed structure in memory while the page remains open.
Input is capped at two million characters and large trees can consume substantial memory. Display limits hide excess children and deep descendants, and the viewer has no search, schema, streaming parser, or automatic secret redaction.