JSONPath Evaluator

Evaluate a JSONPath expression against a JSON document and see the matching values — free, in your browser.

Suggested tools

JSON Formatter

Beautify, minify and validate JSON instantly in your browser.

JSON
Open Tool

JSON to XML

Convert JSON into well-formed XML.

JSONXML
Open Tool

XML to JSON

Convert XML into clean JSON.

XMLJSON
Open Tool

JSON to YAML

Convert JSON into readable YAML.

JSONYAML
Open Tool

YAML to JSON

Convert YAML into JSON.

YAMLJSON
Open Tool

JSON Escape / Unescape

Turn text, JSON or XML into a JSON string literal, or unescape it back.

JSONTEXT
Open Tool

About JSONPath Evaluator

JSONPath Evaluator runs a JSONPath expression against your JSON and shows every matching value. JSONPath is to JSON what XPath is to XML: $.store.book[*].title selects all book titles, $..price finds every price at any depth, and $.items[?(@.qty > 5)] filters items.

Use it to work out the right expression for API tests, monitoring tools, Postman, Kubernetes (kubectl -o jsonpath) and data pipelines before putting it into code. It is powered by the jsonpath-plus library. Everything runs locally in your browser — the text you paste is never uploaded.

How to use JSONPath Evaluator

  1. Paste your JSON (or click Sample).
  2. Type a JSONPath expression, such as $.team[*].name.
  3. Run it and read the array of matching values.

Key features

  • Wildcards, recursive descent (..) and slices
  • Filter expressions like [?(@.price < 10)]
  • Results returned as a JSON array
  • Clear errors for invalid JSON or paths

Example

Expression: $.store.book[?(@.price < 260)].title — the titles of books cheaper than 260.

Input
{"store":{"book":[{"title":"Gitanjali","price":250},{"title":"Godaan","price":180},{"title":"Malgudi Days","price":299}]}}
Output
[
  "Gitanjali",
  "Godaan"
]

When to use JSONPath Evaluator

  • Writing assertions for API tests in Postman or REST clients.
  • Building kubectl -o jsonpath expressions.
  • Extracting just the values you need from a large JSON response.

Tips and common problems

  • Start with $ and add one step at a time to see how the result changes.
  • Use $..key to find a key at any depth.
  • Filters look like [?(@.price < 10)] — @ is the current item.

Frequently asked questions

A JSONPath can match any number of values, so results are returned as a list — even when there is only one match.