Runs in your browser. Your input is not uploaded.

JSONPath tester

Run a JSONPath expression against JSON and list every match with its path.

Loading the tool…

What it does, how to use it, and questions

What it does

JSONPath selects values inside JSON with expressions such as $.store.book[0].title. Dialects differ; this page documents a Goessner-like subset: $, .key, ["key"], [n], [*] and recursive descent where implemented.

Matches are listed with a concrete path and the JSON value at that path.

How to use it

  1. Paste JSON.
  2. Enter a path expression.
  3. Read the matches or the error.

Things to watch for

  • Filter expressions and script expressions are not supported.
  • Array indexes are zero-based.

Questions

Which dialect is this?
A documented Goessner-like subset. It is not every feature of RFC 9535 or every library.
How do I select all array items?
Use [*] on the array, for example $.items[*].id.
Can I update JSON with a path?
No. This tool only queries.
Is the JSON uploaded?
No.