JSONPath Tester

Test JSONPath queries against JSON data and view matched values and paths.

JSON
Paste JSON directly or import a file from this device. Invalid JSON is flagged before the query runs.
JSONPath Query
Enter a JSONPath query to evaluate against the JSON input on the left. Load an example to try the tool quickly.
Results
Matched values and paths update as soon as both the JSON input and the JSONPath query are valid.
Matches: 4
[
  "Nigel Rees",
  "Evelyn Waugh",
  "Herman Melville",
  "J. R. R. Tolkien"
]

Overview

JSONPath Tester lets you run JSONPath queries against JSON data directly in the browser and inspect both the matched values and the matched paths side by side.

When To Use It

Use it when you need to prototype a JSONPath query, debug a selector against real payloads, or verify exactly which parts of a JSON document a query is matching.

How It Works

The tool validates the JSON input first, then evaluates the JSONPath query and keeps both result modes available in the same output panel so you can switch between values and paths without rerunning anything.