Free Tool
JSONPath Tester
Test JSONPath expressions against JSON data in real time. Supports dot notation, bracket notation, wildcards, array slices, and recursive descent.
JSONPath Tester
JSONPath syntax reference
$ is the root object. Use dot notation ($.key) or bracket notation ($['key']) to navigate. [*] or .* selects all items. [0] selects by index. [0:2] slices an array. ..key performs recursive descent — searching all levels. Paths are evaluated live as you type.
How to use
- Paste your JSON into the input area, or click Load example.
- Type a JSONPath expression starting with $.
- Matches are shown instantly as you type.
- Click Copy matches to copy the result array as JSON.
- Click Copy stats to copy the match count and path as plain text.
Your JSON stays in your browser — no data is sent to any server.
Frequently Asked Questions
- What JSONPath syntax is supported?
- Root ($), dot notation (.key), bracket notation (['key']), array index ([0]), negative index ([-1]), array slice ([0:2]), wildcard ([*] and .*), and recursive descent (..key).
- Does this support filter expressions like ?(@.price > 10)?
- Not currently. Filter expressions require a more complex parser. The tool covers the core syntax used in the vast majority of real-world JSONPath queries.