JSONPath

Pick JSON values with a small JSONPath subset.

Added 2026-10-31

What it does

A JSONPath expression picks values out of one JSON document in this tab. The supported subset is the root dollar, dot names, bracket names, indexes including a negative index, a wildcard, a slice with a positive step, a comma list of indexes or names, and a recursive descent. A filter that starts with a question mark and a parenthesis is rejected, so this is not the full IETF JSONPath language and it is not a script. A path that matches nothing returns an empty list and says the path did not match. That is different from invalid JSON, which stops. Integers larger than 2^53 - 1 keep their digits. The text is not uploaded.

How to use it

  1. Paste JSON and a path that starts with $.
  2. Use dot names, indexes, wildcards, slices, or $..name.
  3. No match returns an empty list. Invalid JSON stops. A filter is not supported.

Common mistakes

  • A miss is an empty list. A path that matches nothing is not invalid JSON. The result is [] and a note says so.
  • Filters are not supported. An expression that starts with ?( stops. This subset does not run a script.

The document stays in this tab. It is not uploaded.

Related tools