JSON Viewer: Format sample
{
"json": "{\"a\":1}",
"indent": 2
}
{
"json": "{\n \"a\": 1\n}",
"valid": true,
"node_type": "object"
}
Developer Tools
Explore JSON in a searchable, collapsible read-only tree with paths and value types.
Published Last reviewed
Turn dense JSON into a navigable document tree without changing the source. Expand or collapse nested objects and arrays, search across keys and primitive values, and select any leaf to reveal its JSON-style path, value, and type. The source pane remains visible for reference while the normalized execution result is available with two-space or four-space indentation. Parsing and tree construction happen locally in the browser.
Workspace
Edit the source fields below and inspect the rendered output alongside your work.
Complete the fields to prepare a result.
Choose the values that apply, then view json.
Parse JSON, recursively classify each node, build a collapsible tree, and derive paths from object keys and array indexes.
The viewer parses the source and recursively maps objects, arrays, and primitive values into a read-only tree. Object properties use dot-separated paths and array positions use bracket notation, beginning at $. Search keeps branches that match a key, type, or primitive value. The normalized JSON output uses the selected indentation.
{
"json": "{\"a\":1}",
"indent": 2
}
{
"json": "{\n \"a\": 1\n}",
"valid": true,
"node_type": "object"
}
This tool does not store your inputs or results on UtilityPages.org.
Paths begin with $ for the root. Object properties append .property and array items append [index], producing paths such as $.users[0].email.
Search matches property names, primitive values, and node types. Parent branches remain visible when they contain a matching descendant.
No. The tree is read-only. Expanding, collapsing, searching, and selecting values only change the display; the source document remains unchanged.
No. The standard page interface parses and renders the tree locally, and UtilityPages does not store a history of viewed documents.