DevTools Logo

JSONPath Evaluator

JSONPath Evaluator

Paste JSON and a JSONPath expression — see matched values instantly

JSON Input

Try a sample:

Details

JSONPath is a query language for JSON, similar to XPath for XML. This evaluator runs entirely in your browser using the jsonpath-plus library. Paste any valid JSON document, enter a JSONPath expression, and see the matching values instantly as formatted JSON. Supports the full JSONPath syntax: dot and bracket notation, wildcards, recursive descent, array slices, union operators, and filter expressions.

Examples

Extract all book authors with a wildcard

Path: $.store.book[*].author
Result: ["Nigel Rees", "Evelyn Waugh", "Herman Melville", "J. R. R. Tolkien"]

The [*] wildcard selects every element in the book array, and .author drills into each object to return all author strings.

Filter books priced under 10 with a filter expression

Path: $.store.book[?(@.price < 10)]
Result: [{"title": "Sayings of the Century", "price": 8.95}, ...]

The filter expression ?(@.price < 10) keeps only array elements whose price property is less than 10, returning matching book objects.