
How to use
- Paste JSON into Source JSON. Click Format JSON to tidy it; an error message points to invalid JSON.
- Open branches in the Interactive Tree and click any key or value to copy its exact JSONPath, such as $.store.book[0].title.
- Type part of a key or a value into Path Search to list every path that contains it, for example a customer name in a long API response.
- Paste or edit a path in the Evaluator to see the value it points to, or an error if nothing matches.
What a JSONPath is
A JSONPath describes where a value sits inside a JSON document, the way a file path describes where a file sits on a disk. It starts with $ for the whole document, then adds .key for an object property and [n] for an array position, counting from 0. Keys with spaces or symbols are written in brackets and quotes, such as $["first name"].
You need these paths when writing code that reads an API response, setting up a no-code automation (Zapier, Make, n8n), mapping fields in an integration, or writing a test assertion. Clicking the value is quicker and safer than counting nested brackets by hand.
Example
For this data: { "store": { "book": [ { "title": "Dune", "price": 9.99 }, { "title": "Emma" } ] }, "first name": "Ann" }
| JSONPath | Value |
|---|---|
| $.store.book[0].title | Dune |
| $.store.book[0].price | 9.99 |
| $.store.book[1].title | Emma |
| $["first name"] | Ann |
What the evaluator supports
The evaluator follows exact paths: dot keys, bracketed keys in single or double quotes, and array indexes. It does not run wildcards ([*]), recursive search (..), slices ([0:2]) or filters ([?(@.price < 10)]); those return an error here. To find every match for a word, use Path Search instead, which walks the whole document.
Libraries use slightly different flavors of JSONPath. The standard was published in 2024 as RFC 9535; the simple paths this tool copies work the same in all of them.
Frequently asked questions
How do I get the JSONPath of a value?
Paste the JSON, open the tree and click the value. Its path is copied, ready to paste into your code or automation.
Do array indexes start at 0 or 1?
At 0. The first item of an array is [0], the second is [1].
Why does my path say no match?
Check the spelling and capitals of each key (paths are case-sensitive), that the index exists, and that you are not using a wildcard or filter, which this evaluator does not run.
Is my JSON uploaded?
No. Parsing and searching happen in your browser, so API responses with private data never leave your device.