JSON Viewer & JSONPath Query
Browse JSON as a collapsible tree, search keys and values, and pull out what you need with a JSONPath query like $.items[?(@.price > 10)].name, copying any path or value.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Paste JSON or drop a .json file.
- Open branches in the tree and click any key to copy its path or value.
- In Search, type a word to see every place it appears, and press Show to open it in the tree.
- In Query, type a JSONPath expression and copy or download the results.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
Which JSONPath works here?
$ for the root, .name or ['name'] for keys, [0] and [-1] for items, [*] for all, .. for any depth, [0:5] for slices, and [?(@.price < 10 && @.cat == 'x')] for filters.
Is the query safe?
Yes. We wrote our own JSONPath reader and never run code from the text (no eval), so filters support comparisons, &&, || and ! only.
Why do some branches show “Show more”?
Large arrays are shown 100 items at a time so the page stays fast.
Related tools
JSON Formatter & ValidatorPretty-print JSON or minify it to one line, sort keys alphabetically, validate it with the exact line, column and cause of any error, or escape and unescape JSON strings.JSON DiffCompare two JSON files by structure, not text: see every key that was added, removed or changed with its full path, ignoring key order and whitespace, with an option to ignore array order.JSON to CSVTurn JSON or JSON Lines into a CSV table: we pick the array for you, flatten nested objects into columns like address.city, and download a file that opens in Excel with correct Arabic.JSON Flatten & UnflattenTurn nested JSON into a flat object with keys like address.city or items[0].name, or rebuild the original structure from flat keys. Handy for translation files, configs and spreadsheets.