JSONPath Tester

Test JSONPath expressions against your JSON and see every matching value and its path.

Runs instantly in your browser — results update as you type.

What is JSONPath?

JSONPath is a query language for JSON, like XPath for XML. $ is the root, .key or ['key'] selects a property, [*] every array item, .. searches recursively and [?(@.price < 10)] filters items by a condition.

Syntax cheat sheet

ExpressionMeaning
$.store.book[0].titleTitle of the first book
$..authorAll authors anywhere
$.store.book[*].priceEvery book’s price
$.store.book[-1:]The last book
$..book[?(@.price < 8)]Books cheaper than 8

Frequently asked questions

Is it safe to use filters?

Yes, filter expressions run in a safe evaluator, not as raw JavaScript.

Is my JSON uploaded?

No.

Where is JSONPath used?

API testing tools (Postman), Kubernetes kubectl, AWS Step Functions and many integration platforms.