JSONPath Evaluator
Test and evaluate JSONPath expressions against your JSON data
Input JSON
Query Results
Test JSONPath expressions against real JSON data and see matching results instantly — useful for building API filters, writing test assertions, or exploring an unfamiliar JSON payload without writing code.
Frequently Asked Questions
What is JSONPath used for?
JSONPath is a query language for extracting values from JSON documents, similar to how XPath works for XML. It's commonly used in API testing tools, log processors, and data pipelines to pull specific fields out of nested JSON without writing custom parsing code.
What does the $ symbol mean?
$ represents the root of the JSON document. Expressions build on it, e.g. $.store.book[*].title selects the title field from every book in store.book.
How do I filter results by a condition?
Use a filter expression like $.store.book[?(@.price < 10)] to return only array elements matching the condition — here, books priced under 10. Click 'Show Examples' above the editor for more filter patterns.
Why am I getting 'No matches found'?
This usually means the path doesn't exist in your JSON, or a typo in a key name (JSONPath is case-sensitive). Try starting with $ alone to confirm your JSON is valid, then build the path up one level at a time.
Have suggestions or feedback? We're constantly improving FormatChamp based on your comments.