Kharabeesh
On-device ع

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

  1. Paste JSON or drop a .json file.
  2. Open branches in the tree and click any key to copy its path or value.
  3. In Search, type a word to see every place it appears, and press Show to open it in the tree.
  4. 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