About this tool
Type an expression such as $..author or $.store.book[?(@.price < 10)] and the matching values appear as you type, along with the exact path and JSON Pointer of each match. One-click examples cover recursive descent, wildcards, array slices and filters. Filter expressions are evaluated by a restricted interpreter rather than real JavaScript, and your JSON never leaves the browser.
How to use JSONPath Tester
- Paste your JSON document.
- Type a JSONPath expression starting with $.
- Read the matched values, or switch to see their paths.
- Copy the results or download them as JSON.
Frequently asked questions
Which JSONPath syntax is supported?
The common Goessner syntax: dot and bracket notation, * wildcards, .. recursive descent, [start:end] slices, unions like [0,2] and ?() filters using @ for the current item.
Is it safe to paste a path from someone else?
Yes. Filters run in a sandboxed evaluator that cannot reach browser APIs, so a path cannot run arbitrary code.
Why do I get no matches?
Property names are case-sensitive, and the expression must start with $. Try $..name to search the whole document for a key.