Test JSONPath expressions against JSON data. Paste JSON, write queries, see matches in real time.
Drop a .json file or paste from clipboard
Run a JSONPath query to see results here
▼ JSONPath Reference
Operators
| $ | Root object/element |
| @ | Current object/element |
| .key | Child operator |
| ..key | Recursive descent |
| [*] | Wildcard (all elements) |
| [0] | Array index |
| [0,1] | Array union |
| [0:3] | Array slice (start:end) |
| [-1:] | Last element |
Filters & Scripts
| [?()] | Filter expression |
| @.price | Current node property |
| @.price<10 | Comparison filter |
| @.color=='red' | Equality filter |
| @.isbn | Existence check |
| && || | Logical operators |