Skip to content
Toolwright

JSONPath Tester

JSONPath Tester runs a JSONPath query against your JSON and lists every match with its path. It supports filters, slices, wildcards and recursive search, and runs in your browser, so nothing is uploaded.

Tool 062 · Developer
Outside requests …How to checkRuns on this deviceWorks offline once opened

How to use JSONPath Tester

  1. Paste your JSON on the left, or press Sample.
  2. Type a JSONPath that starts with $, or pick one of the examples.
  3. Read the matches, each with its exact path, and copy the values as a JSON array.

Frequently asked questions

Which JSONPath syntax does it support?

The standard one from RFC 9535: dot and bracket names, array indexes (including negative ones), slices like [1:3], wildcards, recursive search with .., unions, and filters with ==, !=, <, >, &&, ||, ! and the functions length(), count(), match() and search().

Why does my filter return nothing?

Filters compare real types, so the string "5" is not equal to the number 5. Check that the key exists on every item and quote text values, for example @.category == 'fiction'.

Does it run my query as code?

No. The query is parsed into a small tree and walked, and it never goes through eval. Your JSON is not uploaded either.

Next step

Need the JSON tidied first? Format and validate it. Open JSON Formatter & Validator.

  1. 056

    JSON Formatter & Validator

  2. 055

    JSON Diff

  3. 058

    JSON Schema Generator

  4. 095

    Regex Tester