Paste valid JSON
Use an object or array from an API, log, or configuration file.
JSON tools
Explore JSON in an interactive tree
Press Ctrl or Command and Enter to run the tool.
About this tool
JSON Tree Viewer displays any valid JSON object or array as an expandable tree, allowing you to search keys and values and copy exact paths and values. The viewer operates locally in your browser and supports files up to 25 MB.
Paste JSON to navigate objects and arrays without losing context. Expand only the branches you need, search for keys or values, and copy exact JSONPath locations.
Built for daily work
How to use this tool
Use an object or array from an API, log, or configuration file.
Objects and arrays become collapsible branches while primitive values remain visible.
Find a key or value and copy the exact path for use in code or tests.
Key features
Open only the object or array subtrees you need. Expand-all and collapse-all buttons reset the view in one click.
Type to highlight matching nodes and step through them. The match counter shows how many hits remain.
Each node displays its path in both JSONPath style ($.store.books[0].title) and JavaScript bracket notation.
Type icons distinguish strings, numbers, booleans, and nulls at a glance. Array lengths are shown inline so you can judge subtree size before expanding.
Practical use cases
For local tools, input is processed in your browser and is not sent to application analytics.
Data processing noticeTechnical details
Limitations and important notes
Frequently asked questions
The current tree is an inspection view. Use JSON Formatter code view to edit and rebuild the tree.
Array items use bracket indexes such as $.users[0].name.
No. Search only highlights matching tree rows.
Related guides and solutions
A compact technical reference for writing and validating strict JSON that can be opened in standards-compliant parsers.
Learn moreA practical guide to indentation, syntax validation, key order, parser errors, and safe output review.
Learn moreA transparent explanation of local tool processing, temporary browser memory, local storage, downloads, analytics boundaries, and cases that require remote services.
Learn moreRelated tools
JSON tools
Format, validate, inspect, search, and analyze JSON in code, tree, table, schema, and statistics views.
Open toolJSON tools
Compare two JSON values and list additions, removals, type changes, and value changes by path.
Open toolJSON tools
Infer a JSON Schema from sample data with nested properties, required fields, arrays, and detected types.
Open tool