Enter a JSONPath expression to query
Enter a JSONPath expression to query
Query JSON data with JSONPath expressions using our free online JSONPath evaluator. Type expressions with dot notation, wildcards, array slicing, and recursive descent to extract exactly the values you need. Results update in real time, making it ideal for building and testing JSONPath queries for APIs, Postman tests, and data pipelines.
Try Convert All - paste JSON once, see TypeScript, Go, YAML, and 15 more formats instantly.
Enter the JSON data you want to query in the main editor. Any valid JSON object or array is accepted.
Type a JSONPath query like $.store.book[*].title or $..price in the expression field. Results update in real time as you type.
The output pane shows all values matching your JSONPath expression, formatted as a JSON array. Copy the results or refine your query.
JSONPath is a query language for JSON, similar to XPath for XML. It lets you extract specific values from a JSON document using path expressions like $.users[0].name. It is widely used in API testing tools like Postman and in data pipeline configurations.
The single dot (.) accesses a direct child property. The double dot (..) performs recursive descent, searching the entire document tree for matching keys at any depth. For example, $..name finds every "name" field regardless of nesting level.
Yes. Filter expressions like $..book[?(@.price < 10)] let you select array elements that meet a condition. You can filter on numeric comparisons, string equality, and property existence.
JSONPath uses dollar-sign-based syntax ($.) and is primarily a querying language. jq is a more powerful command-line tool with its own transformation language. JSONPath is simpler for read-only queries, while jq supports data transformation and output reshaping.