Skip to main content
API & Developer Testing Tools

JSONPath Tester

Enter JSON data and a JSONPath expression to see the matching values, with clear syntax error feedback.

Paste your JSON data and a JSONPath expression below to see the matching values instantly.

Supports $ (root), .key, ['key'], [index], [i,j], [start:end], [*] (wildcard) and ..key (recursive descent). This is a practical subset of JSONPath, not a full implementation of every filter/script expression some JSONPath libraries support.

Supports common JSONPath syntax - dot and bracket notation, wildcards, array indexes, and recursive descent.

What Is JSONPath?

JSONPath is a query syntax for selecting values out of a JSON document, similar in spirit to how XPath works for XML. An expression like $.store.book[0].title selects a specific value; $..price recursively finds every "price" key anywhere in the document.

Why Use This Tool?

Useful for building or debugging a JSONPath expression before using it in code, testing how an expression behaves against real sample data, or exploring an unfamiliar API response structure.

How to Use the JSONPath Tester

  1. Paste your JSON data into the input area.
  2. Enter a JSONPath expression, for example $.users[*].email.
  3. Click Evaluate to see every matching value.

Supported Syntax

Dot notation ($.a.b), bracket notation ($['a']['b']), array indexes ($.items[0]), wildcards ($.items[*]), and recursive descent ($..name) are all supported. Advanced filter expressions are not supported.

Troubleshooting

"No matches found" means the expression is valid syntax but nothing in your JSON matches that path - double-check property names are spelled and cased exactly as they appear in the data.

Related Tools

For selecting a value by an exact, unambiguous path instead of a query pattern, see the JSON Pointer Tester (RFC 6901).

Share this tool: