How to use the JSONPath Tester & Finder
- Paste your JSON.
- Type a JSONPath expression, or click a path in the list below.
- See the matching values and their paths instantly.
What does this tool do?
JSONPath is used in API testing tools, Kubernetes (kubectl -o jsonpath), AWS Step Functions and many data pipelines. This tester supports $, dot and bracket notation, [*], .., negative indexes, slices like [0:2] and filters with ==, !=, <, >, =~ and && / ||.
Everything runs in your browser — nothing you paste is uploaded.
Why use it?
- Filters and slices.
- Click to get a path.
- Shows every match's path.
Use cases
- Write assertions for API tests.
- Pull fields out of kubectl or AWS output.
- Explore an unfamiliar API response.
Common queries
$.store.book[*].title — every book title.
$..author — every author, at any depth.
$.store.book[?(@.price < 10)].title — titles of books under 10.
$.store.book[-1] — the last book.
Common mistakes
- Forgetting the $ at the start.
- Expecting one value when a query returns a list.
- Using dot notation for keys with spaces or dashes — use ['my-key'].
Privacy
Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.
Frequently asked questions
How do I find the path to a value?
Click it in the list, and its full path is filled in for you.
What does .. mean?
Recursive descent: search at every level below.
Is JSONPath the same everywhere?
Mostly, but tools differ in edge cases; RFC 9535 now standardises the syntax.
Content last updated . See how M2Toolkit works.