JSONPath Tester
Query JSON with JSONPath expressions like $.store.book[*].author or $..price and see every match with its exact path.
How to use
- 1Paste your JSON and type a JSONPath expression.
- 2Matches and their paths appear instantly.
How it's calculated
Supported: $ root, .key and ['key'], [n] and [-n] indexes, [a,b] unions, [start:end] slices, * wildcards and .. recursive descent.
Frequently asked questions
What does $..price mean?
The .. operator searches at every depth, so $..price returns every 'price' value anywhere in the document.
Are filter expressions supported?
Not yet — [?(@.price < 10)] style filters are planned. Use wildcards and then scan the results for now.
How do I select a key with spaces or dots?
Use bracket notation with quotes: $['first name'] or $.data['a.b'].