How it works
How to use the JSONPath Tester
Paste JSON
Or use the sample bookstore document.
Type an expression
Results update as you type. Pick from the examples to learn the syntax.
Inspect matches
See matched values as JSON, or switch to Paths and click one to jump to it in the input.
JSONPath syntax cheat sheet
| Expression | Meaning |
|---|---|
$ | The root object |
.key or ['key'] | Child property |
..key | Recursive descent — key at any depth |
* | Wildcard — all children |
[0], [-1:], [0,2], [1:3] | Index, last item, union, slice |
[?(@.price < 10)] | Filter by a condition on each item |
[?(@.isbn)] | Items that have a property |
Built for developers
Why developers use it
Private by design
Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.
Instant results
Output updates as you type, with precise error locations when something is wrong.
Works offline
Once loaded, the tool keeps working without a connection. Install it as an app if you like.
Free, no sign-up
No accounts, no limits, no watermarks.
FAQ
Frequently asked questions
Which JSONPath implementation is used?
jsonpath-plus, a widely used JavaScript implementation, with filter expressions evaluated by a sandboxed interpreter (no eval).
What is the difference between JSONPath and JSON Pointer?
JSON Pointer (/store/book/0) addresses exactly one value. JSONPath is a query language that can match many values using wildcards and filters.
Is my data uploaded anywhere?
No. This tool runs entirely in your browser. Your input never leaves your device, is not logged, and works offline once the page has loaded.
Keep going
Related tools
- JSON FormatterFormat, validate and explore JSON
- JSON ValidatorFind and fix JSON syntax errors
- JSON ViewerExplore JSON as a searchable tree
- JSON CompareFind semantic differences between two JSON documents
- JSON DiffSide-by-side or unified line diff of two JSON files
- JSON EditorEdit JSON with live validation
- Regex TesterTest JavaScript regular expressions with live highlighting
- API TesterSend HTTP requests and inspect responses