Output
⋯
Return
Free online JSONPath tester & JSON tree viewer
JSON Path Viewer lets you paste any JSON document, explore it as an interactive collapsible tree, and query it with JSONPath expressions, including wildcards, recursive descent, array slices, and filters. Every match is highlighted directly in the tree and listed in a results panel with its concrete path, so you can see exactly where each value lives. Everything runs in your browser; nothing is uploaded unless you choose to share.
JSONPath queries & filters
The jsonpath-plus engine supports wildcards (*), recursive descent (..), slices ([0:2]), unions, and filter expressions like ?(@.price < 20).
Multi-match results panel
Expressions that match many values show every result with its exact path, a value preview, and a type badge. Click any result to jump to it in the tree.
Visual path trail
A single connector traces the route from the root to your selected value, following the tree's indentation in one color.
Shareable links
One click stores your JSON and JSONPath behind a short link like /s/abc123 that reproduces the exact session for a teammate. Links expire after 90 days.
Find values by group
Select a value in the tree, then choose Find group. Pick a parent field and group value to return that same field from every matching item.
Handles large files
Lazy loading keeps multi-megabyte JSON responsive. Tune expand depth and item limits in Settings.
JSONPath quick examples
| Expression | What it returns |
|---|---|
$.books[0].title | The title of the first book |
$.books[*].author | Every book's author |
$..isbn | Every ISBN at any depth |
$.books[?(@.available==true)] | Only the available books |
$.books[-1] | The last book in the array |
$.books[0:2] | The first two books (slice) |
Load the Complex example above and try these live. For the full syntax reference, see the JSONPath guide.
Frequently asked questions
Is my JSON uploaded to a server?
No. Parsing and JSONPath evaluation run entirely in your browser. Data only leaves your machine if you explicitly click Share, which stores a copy so the link can be opened later. Share links expire automatically after 90 days.
Which JSONPath syntax does this tool support?
The evaluator is built on jsonpath-plus, which supports the Goessner JSONPath syntax most tools use: dot and bracket notation, wildcards (*), recursive descent (..), array slices ([0:2]), unions, and filter expressions like $.books[?(@.price < 20)].
How do I see all matches when a JSONPath returns multiple results?
Run any expression and a results panel lists every match with its concrete path, a value preview, and a type badge. Every match is highlighted in the tree at the same time; click a result to jump to it and see the full path trail drawn from the root.
How do share links work?
Click Share to get a short URL like jsonpathviewer.com/s/abc123 that reproduces your exact session: the JSON document, the JSONPath expression, and its evaluated results. Links expire after 90 days and are only accessible to people who have the URL.
Can it handle large JSON files?
Yes. Arrays and objects above a configurable threshold are lazy-loaded, so multi-megabyte documents stay responsive. You can tune the initial expand depth and item limits in Settings.
Is JSON Path Viewer free?
Yes. It's free, with no signup or installation. Open the page, paste JSON, and start querying.