🔎 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
- ・All processing happens entirely in your browser
- ・Your input data is never sent to any server
📚 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
Paste JSONPaste the JSON document on the left. The Sample button loads example data.
-
2
Enter a queryType a JSONPath expression starting with $. Results update live. Filters and wildcards are supported.
-
3
Inspect the resultMatching 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.
🔗 Related Tools
🐛 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.
✅
Thanks for your report!
Your report has been delivered to the operator and will be used to improve the tool.