JSONPath Tester

How do you test a JSONPath expression? Paste your JSON, type an expression such as $.store.book[*].author, and every match appears with its path as you type.

Valid JSON

Uses JSONPath (jsonpath-plus). Paths without a leading $ are treated as starting at the document root. Filter scripts run in a safe subset in the browser.

3 matches

  • store.book[0].author
    "Nigel Rees"
  • store.book[1].author
    "Evelyn Waugh"
  • store.book[2].author
    "Herman Melville"

JSONPath syntax cheat sheet

SyntaxMeaning
$The root of the document
.key or ['key']A child property
..Recursive descent: search at any depth
*Wildcard: every child
[0]An array index
[0,1]A union of indexes or keys
[-1:]A slice (here, the last item)
[?(@.price < 10)]A filter; @ is the current item

An expression without a leading $ is treated as starting at the root. Everything runs in your browser; no JSON is sent to a server.

Frequently asked questions

How do I test a JSONPath expression online?
Paste your JSON into the left box, then type an expression such as $.store.book[*].author. The matching values and their paths appear as you type.
What does $.. mean in JSONPath?
The $ is the root of the document and .. is recursive descent, so $..price returns every price field at any depth.
How do I filter an array in JSONPath?
Use a filter expression: $.store.book[?(@.price < 10)] keeps the books whose price is under 10. Use @ for the current item, and [?(@.isbn)] to keep items that have a property.
Is my JSON sent to a server?
No. The expression runs in your browser, and filter scripts are limited to a safe subset instead of running arbitrary code.

⭐ Rate this tool

Your feedback helps us improve

Added Nov 14, 2026

🔄 Workflow Suggestion

Try combining multiple tools for a complete workflow. For example: Notepad → Text Encryption → Save to Cloud or Date Calculator → Calendar → Countdown Timer

Related Tools & Recommendations

Send Feedback

We'd love to hear your thoughts! Your feedback helps us improve our tools and create a better experience for everyone.

Share Your Experience

Tell us what you think about this tool

Your feedback helps us improve and create better tools for everyone