JSONPath Tester
Test JSONPath expressions online with live results. Filters, wildcards, recursive descent and slices are supported. Everything runs locally in your browser; nothing is uploaded.
Paste a JSON document and type a JSONPath expression. Matches appear immediately. Use the example buttons to see common patterns.
JSON document
Matches (2)
[ "Sayings of the Century", "Sword of Honour" ]
Learn more
Common patterns
$.store.book[*].author lists all authors, $..price finds every price at any depth, and $.store.book[?(@.price < 10)] filters items by a condition.
Implementations differ
JSONPath has no single strict standard, so libraries disagree on edge cases. RFC 9535 is the newest specification; check your target library's behavior.
Frequently asked questions
Which syntax is supported?
Standard JSONPath: $, ., .., *, [n], slices, unions and ?() filters, via the JSONPath-Plus library.
Is script evaluation safe?
Filters run in a sandboxed safe evaluator, not eval.
What about jq?
jq is a different language. This tool evaluates JSONPath only.