JSON Viewer
About this tool
About JSON Viewer
A long API response or exported data file is hard to read as text. The JSON viewer turns it into a tree you can fold and unfold: objects show how many keys they hold, arrays show how many items, and strings, numbers, booleans and nulls are coloured differently so the shape of the data stands out. Type in the search box to find any key or value; matches are highlighted, counted and opened for you, and Enter jumps to the next one. Click any line to see its full path, then copy it as JSONPath (like $.orders[3].items[0].sku) for code and query tools, as a JSON Pointer (/orders/3/items/0/sku) for patches and schemas, or copy the value itself. Large files stay responsive because only the parts you open are drawn, big arrays load in pages, and files over a megabyte are kept out of the text box. Nothing is uploaded: the file is read and parsed on your own device. An optional AI explanation, using your own key, describes what the JSON contains and what each part means.
Built and maintained by Abhi JainUpdated
How to View JSON as a Tree
- 1
Paste or open JSON
Paste JSON into the JSON pane or click Open to load a .json file. Click Sample to see an example.
- 2
Browse the tree
Click the arrows to open objects and arrays, or use Expand all and Collapse. Type in Search keys and values to find matches.
- 3
Copy a path or value
Click a line, then use Path, Pointer or Value at the bottom of the Tree panel to copy it.
JSON Viewer: questions and answers
How do I open a large JSON file?
Click Open and pick the file. Files over 1 MB are parsed straight into the tree without filling the text box, and long arrays show 200 items at a time with a Show more button, so large files stay usable. The practical limit depends on your device's memory.
How do I get the path to a value in JSON?
Click the value in the tree. Its JSONPath appears at the bottom of the panel, for example $.store.books[1].title, ready to copy. You can also copy the JSON Pointer form, /store/books/1/title.
What is the difference between JSONPath and JSON Pointer?
JSONPath ($.a[0].b) is a query language that can also select many values with wildcards and filters. JSON Pointer (/a/0/b, RFC 6901) addresses exactly one value and is used by JSON Patch and JSON Schema references.
Can I search inside the JSON?
Yes. Search looks through every key and every text, number and boolean value, case-insensitively. It shows the number of matches and opens the branches that contain them.
Is my file uploaded?
No. The file is read by your browser and never sent anywhere.
Can AI explain this JSON?
Yes. Click AI to get a plain-English description of the structure and fields, or ask a specific question. The JSON (up to 60,000 characters) is sent. It's optional and uses your own AI key (Claude, OpenAI, Gemini, DeepSeek, OpenRouter or a compatible endpoint), sent straight from your browser to that provider; KissThePDF never sees it. Without a key the tool works exactly the same.
Related Tools
- JSON FormatterBeautify, minify and validate JSON with exact error locations, without changing a single value.
- JSONPath TesterRun JSONPath expressions against your JSON and see matching values and paths live.
- JSON ValidatorCheck JSON for errors with line and column, plain-language causes and one-click repair.
- JSON to CSVConvert a JSON array to CSV, flattening nested objects and choosing the columns you want.