How do you test a JSONPath expression? Paste your JSON, type an expression such as $.store.book[*].author, and every match appears with its path as you type.
Valid JSON
Uses JSONPath (jsonpath-plus). Paths without a leading $ are treated as starting at the document root. Filter scripts run in a safe subset in the browser.
3 matches
store.book[0].author"Nigel Rees"
store.book[1].author"Evelyn Waugh"
store.book[2].author"Herman Melville"
| Syntax | Meaning |
|---|---|
$ | The root of the document |
.key or ['key'] | A child property |
.. | Recursive descent: search at any depth |
* | Wildcard: every child |
[0] | An array index |
[0,1] | A union of indexes or keys |
[-1:] | A slice (here, the last item) |
[?(@.price < 10)] | A filter; @ is the current item |
An expression without a leading $ is treated as starting at the root. Everything runs in your browser; no JSON is sent to a server.
Your feedback helps us improve
Try combining multiple tools for a complete workflow. For example: Notepad → Text Encryption → Save to Cloud or Date Calculator → Calendar → Countdown Timer
Inspect JSON in an interactive tree. Expand and collapse nodes, copy paths, and view formatted JSON.
Compare two JSON documents with structural path diff and formatted line diff. Client-side only.
Format, validate, and minify JSON data with syntax highlighting and error detection
Inspect JSON in an interactive tree. Expand and collapse nodes, copy paths, and view formatted JSON.
Compare two JSON documents with structural path diff and formatted line diff. Client-side only.
Semver-aware package.json dependency diff and npm lockfile version map, plus full JSON structural diff.
We'd love to hear your thoughts! Your feedback helps us improve our tools and create a better experience for everyone.
Tell us what you think about this tool