About JSONPath
This tool lets you test JSONPath expressions against your own JSON. Paste JSON, type a JSONPath query and instantly see the matching values. JSONPath is like a query language for JSON, similar to how XPath works for XML. It runs entirely in your browser.
How JSONPath Tester works
How to use it
- Paste your JSON.
- Type a JSONPath expression (or click an example).
- See the matching results update instantly.
JSONPath basics
$ is the root, .key selects a property, [n] an array index, [*] all items, .. searches at any depth, and [?(@.price<10)] filters by a condition. For example $..author finds every author anywhere in the document.
Useful for
Extracting values from API responses, building configuration for tools that use JSONPath, and learning the syntax with live feedback.
Common uses
- Test a JSONPath expression
- Extract values from JSON
- Query an API response
- Filter JSON by a condition
- Learn JSONPath syntax
- Pull nested fields
- Find all matching keys
- Debug a JSONPath query
Frequently asked questions
What is JSONPath?
A query language for JSON, used to select values by a path expression.
How do I select all items in an array?
Use <code>[*]</code>, for example <code>$.items[*].name</code>.
Is my JSON uploaded?
No — evaluation runs in your browser.
Does it support filters?
Yes — filter expressions like <code>[?(@.price<10)]</code> work.
What does <code>..</code> mean?
Recursive descent — it searches at any depth.
Why no matches?
Check the path matches your JSON structure and is valid.
Which library powers it?
JSONPath-Plus, running locally in your browser.
Is it free?
Yes — completely free with no sign-up.