JSON Viewer
Browse JSON as a collapsible tree, search keys and values, and copy any node’s JSONPath or value. Handles large files.
0 characters · 1 line
Drop files here, or
.json files up to 50 MB
Files are never uploaded.
How to use
- Paste JSON or open a .json file, or click “Example”.
- Click the arrows or use the arrow keys to expand and collapse nodes; “Expand all” opens every level at once.
- Type in “Search keys or values” and use “Previous” and “Next” to jump between matching nodes.
- Select a node to see its JSONPath, type and value below, and click “Copy” to grab them.
FAQ
Is my data uploaded?
No. The JSON is parsed and displayed in your browser, and opened files are never uploaded.
Can it open large JSON files?
Yes, files up to 50 MB. The tree only draws expanded nodes and shows 200 children of a node at a time, with “Show more” to load the rest. On large data, “Expand all” stops at about 3,000 rows so the browser stays responsive. How much you can open depends on your device’s memory.
What is JSONPath?
JSONPath is a way to point at a place in a JSON document: $.users[0].name is the name of the first element of the users array in the root object. Keys with spaces or special characters are written like $['first name']. You can use the paths with jq, in JavaScript code or in JSONPath query tools.
Are key order and numbers preserved?
Yes. The parser keeps the original text: keys appear in their original order (JavaScript’s JSON.parse moves number-like keys such as "10" to the front), and numbers keep their spelling, so 1.50 and integers beyond the safe range are not rewritten.
How are duplicate keys shown?
A key that appears twice in the same object is shown twice, as written, so you can spot the problem; most programs keep only the last one when parsing.
Related tools
JSON Formatter
Beautify, minify and validate JSON with precise line and column error locations.JSON to TypeScript
Generate TypeScript interfaces or type aliases from sample JSON, merging array items into optional properties and union types.JSON to CSV
Convert JSON to CSV and back, flatten nested objects, detect delimiters, and add a BOM so Excel opens Chinese text correctly.