JSONPath Tester Online
Test JSONPath expressions against your data in real time. Supports filters, wildcards, recursive descent, and slice operators.
[ "J.R.R. Tolkien", "Ursula K. Le Guin", "Carl Sagan" ]
JSONPath cheat sheet
$— root object.key— child property[n]— array index[*]— all elements..— recursive descent[?(@.price < 10)]— filter expression
JSONPath is supported by many tools including AWS CLI, kubectl, Azure CLI, and Jayway libraries. Testing expressions interactively is the fastest way to learn the syntax or debug a broken query.
Frequently Asked Questions
Which JSONPath dialect do you use?+
The jsonpath-plus implementation, which is a superset of the original Stefan Gössner spec with common extensions (filter expressions, script expressions, parent operator).
Can I use my own JSON?+
Yes. Replace the sample in the input box with any JSON and queries run against it instantly.
Why are my results wrapped in an array?+
JSONPath always returns a list of matches, even when there's one. This keeps the shape consistent whether your query matches zero, one, or many elements.