JSON Path Tester
Test JSONPath expressions against JSON data with instant results
Free online JSONPath tester. Write JSONPath expressions and see matching results instantly.
Results will appear here
What Is JSONPath?
JSONPath is a query language for JSON, similar to XPath for XML. It lets you extract specific values from complex JSON structures using path expressions. Use dot notation ($.store.book) or bracket notation ($['store']['book']).
JSONPath Syntax
| Expression | Description |
|---|---|
| $ | Root object |
| $.key | Child property |
| $[0] | Array index |
| $[*] | All array elements |
| $..* | All values (recursive) |
| $[-1] | Last array element |