Command Palette

Search for a command to run...

JSONPath

JSONPath Tester

Query JSON data locally with a safe JSONPath subset.

Input
Provide JSON and a JSONPath expression.

All processing happens locally in your browser. No input is sent to a server.

Limits: JSON 500KB, path 1024 bytes, node visits 50000, results 1000

Results
0 results · 0 node visits

Run a query to see matched results.

What

JSONPath Tester definition

JSONPath is a path query syntax to select values from JSON documents.

Cases

Use Cases

1

Find target fields in large JSON payloads

2

Debug API response structures

3

Validate path expressions

How To

How to test JSONPath

Paste JSON and evaluate a path expression.

1

Paste JSON

Paste your JSON payload in the input panel.

2

Enter JSONPath

Type a JSONPath expression such as $.store.book[*].author.

3

Run query

Run the query and copy matched path/value pairs.

Knowledge

Understanding JSONPath

What is JSONPath?
JSONPath is a path language to navigate and query JSON data structures.
Root and properties
$ represents the root. Use .name or ['name'] to access object properties.
Array access
Use [index] for a specific element or [*] for all elements in an array.
Recursive descent
..name recursively finds matching properties across descendants.
Security model
Excluding script evaluation keeps querying deterministic and safer in-browser.

FAQ

JSONPath Tester FAQ

Which syntax is supported?
$ , .name, ['name'], [index], [*], ..name, ..* are supported.
Do you support filters like [?()]?
No. Filter/script expressions are intentionally excluded for security.
Is my JSON uploaded?
No. Parsing and evaluation run only in the browser.
What happens when results are huge?
Traversal/result limits stop execution safely.
Is there a path-length limit?
Yes. Path input is limited to 1KB.
What if I use unsupported syntax?
You will get a clear parse error message.
How do wildcards work?
[*] and .* iterate over all direct children of the current node.
Is recursive search expensive?
Yes. On large JSON trees, recursive queries can quickly hit visit limits.
JSONPath Tester