JSONPath Tester

Test JSONPath expressions against your JSON. Supports filters, wildcards, recursive search, slices and unions, and shows values, paths and a result tree live.

  • Free, no sign-up
  • Runs in your browser
  • Your data stays private

How to use the JSONPath Tester

  1. Paste your JSON.
  2. Type a JSONPath such as $.store.book[*].author.
  3. Read the values, paths and matches table.

Why use this JSONPath Tester

  • Full query syntaxDot and bracket paths, wildcards, recursive .., slices, unions and negative indexes.
  • FiltersUse [?(@.price < 10 && @.category == "fiction")] and existence checks.
  • Values, paths or countSwitch the output to the matching paths or just the number of matches.
  • Clear errorsInvalid expressions explain what is wrong and where.

Frequently asked questions

What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. $ is the root and @ is the current item in filters.

How do I find a value anywhere in the document?

Use .. for a recursive search, such as $..price to find every price.

How do I filter an array?

Use a filter like $.items[?(@.qty > 1)] to keep only the items that match.

Related tools

More Developer Tools

User Reviews

–
No ratings yet
Write a review
Your rating *

Your email is never published. Reviews are moderated, and links aren't allowed.

What users are saying

No reviews yet

Be the first to share your experience with this tool — your feedback helps others.