JSONPath Query
Run JSONPath expressions against any JSON document and see the matched values, paths and JSON Pointers.
🔒 Runs in your browser — files never leave your deviceFree · No sign-up
Examples
JSON document
| # | Path | JSON Pointer | Value |
|---|
Click a path to copy it.
How to query JSON with JSONPath
- Paste your JSON on the left, or press Sample JSON to load the classic bookstore document.
- Type a JSONPath expression such as
$..book[?(@.price < 10)].title, or click one of the example chips. - Read the matched values on the Values tab and the exact location of each match on the Paths tab, then copy or download the result.
FAQ
Which JSONPath syntax is supported?
The Goessner syntax plus the JSONPath-Plus extensions: $ root, . and .. for child and recursive descent, * wildcards, [0] and [0,2] indexes, [1:3] and [-2:] slices, [?(@.x > 1)] filters, [(@.length-1)] script expressions, and @ type selectors like $..[?(@string)].
What is the Paths tab for?
Each match is shown with its normalised JSONPath and its RFC 6901 JSON Pointer (/store/book/0/title), which is what patch tools, OpenAPI and many APIs expect. Click a row to copy it.
Does my JSON leave the browser?
No. The document and the query are evaluated locally; only the query engine itself is fetched from a CDN.