Developer Tools
JSON Path Finder
Paste JSON and get the exact path to any key or value in dot, bracket, and JSONPath notation. Search the tree and copy paths. No signup.
Paste any JSON object or array. Nothing is uploaded; the JSON is parsed in your browser.
Paste JSON above, or load the sample, to explore its structure and copy the path to any field.
The three notations
Dot path
store.book[0].titleReads like JavaScript property access. Keys that are not valid identifiers fall back to bracket form automatically.
Bracket path
["store"]["book"][0]Every key is quoted in brackets, so it is always valid even for keys with spaces, dashes, or dots.
JSONPath
$.store.book[0].titleStarts at the root $ and is the format JSONPath query engines accept, including this site's JSONPath Tester.
How to use
- Paste your JSON into the input box, or load the sample to see how it works. Invalid JSON shows the parser error so you can fix it.
- Pick a path style: dot notation like a.b[0], bracket notation like ["a"][0], or JSONPath like $.a[0].
- Expand the path tree and select any node, or type a key, value, or part of a path into the search box to list every matching path.
- Read the selected node's path in all three notations, then use the copy button on the node, the search result, or the path row.
- Paste a JSONPath result into the JSONPath Tester to run it against the same data. Everything is computed in your browser.
About this tool
The JSON Path Finder is the reverse of a JSONPath query tool: instead of writing a path expression to pull values out, you paste your JSON and it hands you the exact path to any key or value you point at. It is built for the everyday moment when you have a large API response, configuration file, or log payload open and you need the path to one specific field for code, a JSONPath query, a test assertion, or a documentation reference, and counting opening and closing brackets by hand is slow and easy to get wrong. The tool parses your JSON in the browser with the native JSON parser, so invalid input is reported with the parser's own error message rather than failing silently, and it then builds an expandable tree of the whole structure. Every node, whether an object, an array, a string, a number, a boolean, or null, is labelled with its key or array index and a short preview of its contents, and selecting any node shows its path in three notations at once. The dot path reads like JavaScript property access, for example store.book[0].title, and automatically falls back to bracket form for any key that is not a valid identifier, such as a key with spaces or a dash. The bracket path quotes every key, for example ["store"]["book"][0]["title"], so it stays valid no matter how unusual the key names are. The JSONPath form begins at the root dollar sign, for example $.store.book[0].title, which is the syntax that JSONPath query engines expect, including the JSONPath Tester on this site, so you can copy a path here and paste it straight into a query there. A search box finds every path whose key, value, or path text matches what you type, which is the fastest way to locate a field that is buried several levels deep, and you can narrow the search to keys only, values only, or path text only. Each result and each tree node has its own copy button that copies the path in the style you have chosen, and a summary shows the total number of keys, the number of leaf values, the maximum nesting depth, and the total node count so you can size up an unfamiliar document at a glance. Everything happens locally in your browser. The JSON you paste is never uploaded, logged, or sent anywhere.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
JSONPath Tester
Evaluate JSONPath queries with filters, regex, and recursive descent.
Open tool
DeveloperJSON Formatter
Format, minify, and validate JSON in your browser.
Open tool
DeveloperJSON Key Extractor
List every key path in a JSON document with value type and count, in dot, bracket, or JSONPath form.
Open tool
DeveloperJSON Flatten Unflatten
Two-way converter between nested JSON and path-keyed flat JSON.
Open tool
DeveloperJSON Size Analyzer
Profile a JSON document by bytes, depth, types, and heaviest paths.
Open tool