JSON Path Query Tool
Query and extract data from JSON using JSONPath expressions. Navigate complex structures with simple syntax.
data_object JSON Input
search Query Result
JSONPath Syntax Reference
Basic Selectors
$ | Root element |
.property | Dot notation property |
['property'] | Bracket notation property |
[index] | Array index |
Array Operations
[*] | All array elements |
[1,2,3] | Multiple indices |
[start:end] | Array slice |
[0:3] | First 3 elements |
Recursive Descent
.. | Recursive descent |
$..name | All "name" anywhere |
$..price | All "price" fields |
$..[0] | First element of all arrays |
Common Examples
$.store.book[*] | All books |
$.store.book[0].title | First book title |
$..book[*].author | All authors |
$.store.book[-1:] | Last book |
Try These Examples
Click any example to load the JSON and query into the panels above.
Key Features
Deep Query
Navigate deeply nested JSON structures with simple expressions. Supports wildcards, slices, and recursive descent.
Instant Results
Real-time query execution as you type with automatic JSON formatting in the output.
Full Syntax
Supports dot notation, bracket notation, wildcards, array slices, and recursive descent operators.
Privacy First
All processing happens locally in your browser. Data never leaves your device.
Frequently Asked Questions
Getting Started
What is JSONPath?
JSONPath is a query language for JSON, similar to XPath for XML. It allows you to extract and filter data from JSON documents using a simple, expressive syntax. It's widely used in API testing, data extraction, and configuration management.
How do I use this tool?
Paste your JSON into the left panel, enter a JSONPath expression in the input field, and click "Query". The matching results will appear in the right panel. Use the example links to try common patterns.
Is this JSONPath tool free?
Yes. All tools are completely free and run locally in your browser. No signup, no limits, no hidden costs.
Basic Syntax
How do I select nested properties?
Use dot notation: $.store.book[0].title or bracket notation: $['store']['book'][0]['title']. Both access the same nested value.
What does the $ symbol mean?
The $ symbol represents the root element of your JSON document. All JSONPath expressions start with $ to indicate you're querying from the top level.
Can I select all items in an array?
Yes! Use the wildcard [*] to select all elements. For example, $.store.book[*].title gets all book titles.
Advanced Features
What is recursive descent?
The .. operator performs a deep search through all nested levels of the JSON. $..price finds all fields named "price" anywhere in the structure.
Can I use this tool offline?
Yes! Once you've visited the page, all functionality works offline thanks to service workers and local processing.