JSON path finder
The JSON path finder searches a JSON document and tells you exactly where each match lives. It helps when you are digging through a large API response and need the path to a field for code, tests or documentation.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
Example
{"team":[{"name":"Ada","email":"[email protected]"},{"name":"Lin","email":"[email protected]"}]}[
{
"path": "/team/0/email",
"value": "[email protected]"
},
{
"path": "/team/1/email",
"value": "[email protected]"
}
]How to use the json path finder
- Paste your JSON into the JSON box.
- Type a key name or value in Find.
- Set Match to Exact key, Key contains or Value contains, and set Ignore case.
- Press Run, then Copy result or Download.
How it works
Paths use JSON Pointer format, such as /team/0/email, where 0 is the first item in an array.
A slash inside a key is written as ~1 and a tilde as ~0, as the JSON Pointer standard requires.
Key matches return the full value under that key, even when it is an object or array.
Value contains checks single values like text, numbers, true, false and null. Searching for 1 also matches the number 12.
If nothing matches, the result says No matching paths.
Everything runs in your browser. Your input is not uploaded or stored.
Questions and answers
What is a JSON Pointer?
A JSON Pointer is a standard way to write the location of a value in JSON, using slashes between keys and array positions. For example, /team/1/name means the name of the second item in the team array.
Does this use JSONPath queries like $.store.book?
No. You search by key or value, and it returns JSON Pointer paths, which use slashes instead of dots.
Can I search without matching case?
Yes. Set Ignore case to Yes and uppercase and lowercase letters are treated as the same.
Is my JSON uploaded?
No. The search runs inside your browser, so private API data stays on your machine.