JSON Path Tester
Input JSON and a JSONPath expression; see all matches with path and value.
JSON
Paste or type your JSON document
JSONPath expression
e.g. $.items[*], $..name, $.store.book[0].title
Try an example
Click to load JSON and a JSONPath expression
Key Features
Test JSONPath expressions against any JSON and see matches in the browser.
Paste any JSON
Paste or type a JSON document. Arrays and nested objects are fully supported.
JSONPath expressions
Use standard JSONPath: $.key, $[*], $[0], $..key, and filter expressions.
See all matches
Results show each match with its path and value. Copy matches for use elsewhere.
Standard JSONPath
Uses jsonpath-plus: dot notation, brackets, wildcards, recursive descent, and more.
Instant results
Run the expression and see matches immediately. No server round-trip.
Clear errors
Invalid JSON or bad JSONPath shows a clear error message.
How to Use
Simple 4-step process
Step 1
Paste or type your JSON in the first box.
Step 2
Enter a JSONPath expression (e.g. $.items[*].name or $..id).
Step 3
Click Run JSONPath to see all matches.
Step 4
Each result shows the path and value. Use Copy to export matches.
Frequently Asked Questions
Everything you need to know about this tool and how it works.
See Full FAQJSONPath is a query language for JSON, similar to XPath for XML. It lets you select elements by path (e.g. $.store.book[0].title), wildcards ($[*]), and recursive descent ($..name).
This tool uses jsonpath-plus. You can use $ (root), .key or ['key'], [0] indices, [*] wildcard, .. recursive descent, and filter expressions like ?(@.price < 10).
Nowhere. JSON and the JSONPath expression are evaluated in your browser. No data is sent to any server.
Check that your path matches the structure of your JSON. Use $ to select the root, $.key for a property, and $[*] for all array elements. Recursive descent $..key finds all values of key at any depth.
Still have questions?
Can't find what you're looking for? We're here to help you get the answers you need.