JSONPath Evaluator
Evaluate a JSONPath expression against a JSON document and see the matching values — free, in your browser.
Suggested tools
About JSONPath Evaluator
JSONPath Evaluator runs a JSONPath expression against your JSON and shows every matching value. JSONPath is to JSON what XPath is to XML: $.store.book[*].title selects all book titles, $..price finds every price at any depth, and $.items[?(@.qty > 5)] filters items.
Use it to work out the right expression for API tests, monitoring tools, Postman, Kubernetes (kubectl -o jsonpath) and data pipelines before putting it into code. It is powered by the jsonpath-plus library. Everything runs locally in your browser — the text you paste is never uploaded.
How to use JSONPath Evaluator
- Paste your JSON (or click Sample).
- Type a JSONPath expression, such as $.team[*].name.
- Run it and read the array of matching values.
Key features
- Wildcards, recursive descent (..) and slices
- Filter expressions like [?(@.price < 10)]
- Results returned as a JSON array
- Clear errors for invalid JSON or paths
Example
Expression: $.store.book[?(@.price < 260)].title — the titles of books cheaper than 260.
{"store":{"book":[{"title":"Gitanjali","price":250},{"title":"Godaan","price":180},{"title":"Malgudi Days","price":299}]}}[ "Gitanjali", "Godaan" ]
When to use JSONPath Evaluator
- Writing assertions for API tests in Postman or REST clients.
- Building kubectl -o jsonpath expressions.
- Extracting just the values you need from a large JSON response.
Tips and common problems
- Start with $ and add one step at a time to see how the result changes.
- Use $..key to find a key at any depth.
- Filters look like [?(@.price < 10)] — @ is the current item.
Frequently asked questions
A JSONPath can match any number of values, so results are returned as a list — even when there is only one match.
Recursive descent: $..name finds every "name" key at any depth in the document.
The core syntax is shared, but tools differ in filter details. Test your expression in the tool you will use it in.