Formatters tool
✦ Browser-firstJSONPath Tester
Query JSON with JSONPath expressions and see the matches live.
Supports $, .key, ['key'], [n], negative indexes, [*], .*, ..recursive descent, [a:b:step] slices and [n,m] unions. Filter expressions are not supported.
About this tool
Paste JSON and type a JSONPath expression to see every match instantly. Supports child and wildcard selectors, recursive descent, array indexes, slices and unions.
How to use the JSONPath Tester
- Paste your JSON document.
- Type a JSONPath expression starting with $.
- Read the matches and the match count.
Common uses
- Extracting fields from API responses
- Testing paths before using them in code
- Learning JSONPath
JSONPath Tester questions
What does $ mean?
It is the root of the document. Every JSONPath expression starts there.
What is the difference between . and ..?
A single dot selects a direct child. Two dots search all descendants.
Are filter expressions supported?
No. This tester covers selectors, wildcards, indexes, slices, unions and recursive descent.