JSON Path Viewer
Simple & Modern v1.1.0
Formatted Output
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 — wildcards, recursive descent, array slices, and filters included. 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.
Full JSONPath support
Wildcards (*), recursive descent (..), slices ([0:2]), unions, and filter expressions like ?(@.price < 20) — powered by the jsonpath-plus engine.
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 clean connector traces the route from the root to your selected value, following the tree's indentation — no clutter, 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.
Click to build paths
Click any key or value in the tree and its JSONPath appears instantly, ready to copy or refine into a broader query.
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 — free, no signup, no install. Open the page, paste JSON, and start querying.