JSONPath Query
Query JSON data with JSONPath expressions. Supports filters, wildcards, and recursive descent.
✓ Filter Expressions✓ Wildcards✓ 100% Local
JSON Document
JSONPath Expression
Examples
Result
Results will appear here…JSONPath Syntax Reference
$Root element
.Child operator
..Recursive descent
*Wildcard
[n]Array index
[start:end]Array slice
[?(@.x)]Filter expression
@Current node
How to Use
- Paste your JSON document into the left input box.
- Enter a JSONPath expression in the query input, e.g. $.store.book[*].title.
- Click Query (or press Enter) to run the query. Results are shown as a JSON array.
- Use the example buttons below the input to quickly load preset expressions.
- Click Copy to copy the query result to your clipboard.
About JSONPath Query Tool
JSONPath is a query language for extracting values from JSON documents, similar to XPath for XML. Standardized as RFC 9535. JSONPath eliminates the need to write loops for deeply nested API data. Dollar-sign is root, dot for child access, brackets for arrays, asterisk for wildcard, double-dot for recursive descent, and filter expressions allow conditional queries. This tool executes queries in real time.
Frequently Asked Questions
Comments (0)
Leave a comment