JSONPath Tester

Run a small JSONPath subset against a JSON document and list each match with its path. Script expressions and filters with nested paths are not included.

Supported: .name, [index], [*], [start:end], ..name, and [?(@.field == value)]. Filters compare with ===-style equality, so 1 and "1" differ.

Matches

  • $.store.book[0].title

    "A"

1 matches

How to use it

  1. Paste a JSON document.
  2. Enter a path that starts with $.
  3. Read the matching values. Use an example if you want a known query.

Common mistakes

  • $.books.title does not walk an array. Use $.books[*].title.
  • Filters only select items in an array, and the comparison is one field deep.
  • A path that visits too many nodes is stopped.

Examples

Index

$.store.book[0].title

Filter

$.store.book[?(@.price < 10)].title

Frequently asked questions

Processing stays in this browser tab. What you paste is not uploaded, and this tool does not write it to local storage.