Pre-launch — your 10 free credits are reserved for launch day. Join the waitlist
query-extract · free tool

JSONPath Tester

Run a JSONPath against your JSON and see what it selects.

Runs in your browser — your data never leaves it

Paste, type, or drop a file. Runs as you type.

Output appears here as you type.

Worked example

Input
$.order.id
---
{"order":{"id":"7"}}
Output
1 match

[
  "7"
]

This example is one of JSONPath Tester's test cases — if the tool stopped producing this output, the build would fail.

Questions

How do I use it?
Put the JSONPath on the first line, then a line containing only ---, then your JSON.
Which JSONPath syntax is supported?
A deliberate subset: $.a.b, $.a[0], $.a[*].b, and $..b recursive descent. Filter expressions ($.a[?(@.b==1)]) are refused explicitly rather than quietly matching nothing.
Why refuse instead of returning no matches?
Because 'no matches' and 'I didn't understand your query' look identical, and one of them wastes an hour of your afternoon.

Related tools