Free Online JSON Path Query Tool
Query JSON data using JSONPath expressions with HubKit's JSON Path tool. Extract specific values from complex JSON structures without writing code. JSONPath is the JSON equivalent of XPath for XML — it lets you navigate and filter JSON documents with a concise query syntax.
How to Use
Paste your JSON document and enter a JSONPath expression (e.g., $.store.book[*].author). The tool evaluates the expression and shows the matching results. Use dot notation, brackets, wildcards, and filters to navigate complex structures.
Features
- Evaluate JSONPath expressions in real time
- Support for dot notation and bracket syntax
- Wildcard, filter, and recursive descent operators
- Formatted output of matched results
Frequently Asked Questions
What is JSONPath?
JSONPath is a query language for JSON, similar to XPath for XML. It uses expressions like $.store.book[0].title to navigate and extract data from JSON documents. The $ symbol represents the root object.
What are common JSONPath operators?
Common operators include $ (root), . (child), .. (recursive descent), * (wildcard), [] (subscript/filter), and [start:end] (array slice). Filters use the ?() syntax, e.g., $..book[?(@.price<10)].
Can I use JSONPath to filter array elements?
Yes. Use filter expressions like $..book[?(@.price<10)] to find books under $10, or $..book[?(@.author=="Tolkien")] to filter by a specific value.