Skip to content

🔎 JSONPath Tester

Evaluate JSONPath queries (e.g. $.store.book[*].author) against JSON data in real time. Filters, recursive descent, and wildcards supported.

✅ 100% free, no signup, runs entirely in your browser (powered by jsonpath-plus)

🔒 About Privacy


    
📚 JSONPath Syntax Help
$ — Root object
@ — Current node (in filter)
.field / ['field'] — Child member access
.. — Recursive descent (any depth)
* — Wildcard (all elements)
[index] — Array index
[start:end:step] — Array slice
[a,b,c] — Multiple indexes / fields
[?(@.price < 10)] — Filter expression
[?(@.tags)] — Field existence

📖 How to Use

  1. 1
    Paste JSON
    Paste the JSON document on the left. The Sample button loads example data.
  2. 2
    Enter a query
    Type a JSONPath expression starting with $. Results update live. Filters and wildcards are supported.
  3. 3
    Inspect the result
    Matching values are pretty-printed on the right with the match count and any errors.

❓ FAQ

What is JSONPath?
A query language for JSON, analogous to XPath for XML. It uses $ as the root and supports dot/bracket notation and filter expressions.
How do I write filters like [?(@.price < 10)]?
@ refers to the current node. Comparison and logical operators (==, !=, <, <=, >, >=, &&, ||) are supported. Wrap string literals in single quotes.
When should I use the recursive descent (..)?
Use it to find all matches at any depth. $..author collects the author field wherever it appears in the document.
🐛 Found a bug or issue with this tool?

Free to use, no signup. Even just the steps to reproduce are helpful. Reports go directly to the operator and help us fix issues.

* Browser info (UA / screen / language / URL) is sent automatically to help reproduce the issue