Developer Tools
JSONPath Tester
Query JSON documents in your browser with a documented subset of JSONPath selectors.
About this tool
Query JSON documents in your browser with a documented subset of JSONPath selectors.
What is it?
The tester selects matching values from JSON using a small, explicitly supported JSONPath expression subset.
How to Test a JSONPath Expression
Enter valid JSON and a $-rooted expression. Supported selectors are dot properties, quoted bracket properties, array indexes and wildcards.
- Enter the values or text required by the tool.
- Choose an option or calculation mode when one is available.
- Run the tool and review the result panel.
- Copy the result if you need to use it in another application.
Examples
- $.users[*].name → Ali\nAyşe
- $['users'][0].name → Ali
Common use cases
- Selecting fields from nested API response examples.
- Finding values in arrays without manually scanning a JSON document.
- Checking a JSONPath expression before using it in a supported application.
Technical details
- Supports $, dot properties, quoted bracket properties, numeric array indexes and wildcards.
- JSON is parsed with JSON.parse and selectors are evaluated in the browser; filters and recursive descent are not implemented.
Related concepts
JSON
JSONPath
Array index
Wildcard selector
What Is the JSONPath Tester?
The tester selects matching values from JSON using a small, explicitly supported JSONPath expression subset.
Frequently Asked Questions
Which JSONPath syntax is supported?
The supported subset includes $, .property, ['property'], [0], .* and [*]. Filters, slices, unions and recursive descent are not supported.
Does JSON leave the browser?
No. Parsing and selection happen in your browser.