JSONPath Tester
Evaluate JSONPath expressions against your JSON and see the matches live. Broken JSON is repaired automatically.
Input
{
"users": [
{ "id": 1, "name": "Ada" },
{ "id": 2, "name": "Lin" }
]
}Query result
Output appears here.
Runs entirely in your browser — nothing is uploaded.
Test JSONPath Expressions Online
JSONPath is to JSON what XPath is to XML — a compact way to select values from a document. Paste your JSON, type an expression, and the matches update instantly.
Common JSONPath examples
$..name— everynameanywhere in the document$.users[*].id— every user id$.items[0]— the first item;$.items[-1:]— the last$..[?(@.active==true)]— objects whereactiveis true
Works on broken JSON too
If your JSON is invalid, it is repaired first so the query still runs. Want to check your JSON structure before querying? Run it through the JSON validator. For the full toolkit — format, validate, schema, diff, convert — open the JSON Studio.
Other JSON Tools