JSON Key Path Explorer
List every field in a JSON object as a dot/bracket path (e.g. user.address.city, items[0].id), making it easy to reference deeply nested values.
About this tool
List every field in a JSON object as a dot/bracket path (e.g. user.address.city, items[0].id), making it easy to reference deeply nested values.
Example
Input: {"user":{"name":"Al"}}
Output: user.name = "Al"
Privacy
This tool runs entirely in your browser. Your data is processed locally and never uploaded to a server.
How to use this tool
- Paste a valid JSON object or array into the input box.
- Check the generated key paths to see every nested field in dot or bracket notation.
- Use the paths to copy field names into code, tests, filters, or API mappings.
- If the JSON changes, paste the updated version again to refresh the list.
Step by step, what happens
- The tool reads your JSON and walks through each object, array, and nested value.
- For every field it finds, it builds a path that shows where that value lives, such as user.address.city or items[0].id.
- Array entries are shown with bracket indexes so you can tell which element each path belongs to.
- The result is a flat list of key paths that makes deep JSON structure easier to inspect and reference.
Worked example
Suppose you want to find the exact path for a user's city and a product id inside a small JSON response.
Input: {"user":{"name":"Ana","address":{"city":"Paris"}},"items":[{"id":1,"name":"Pen"}]}
- Paste the JSON into JSON Key Explorer.
- The tool scans the root object, then follows the nested user object and the items array.
- It lists each reachable field as a path, including the array item path for the first element.
Output: user.name
user.address.city
items[0].id
items[0].name
Tips and common mistakes
- Make sure the input is valid JSON, because a missing comma or quote will stop the tool from listing paths correctly.
- Remember that arrays use bracket indexes, so the first item is shown as [0], not [1].
- If a field appears multiple times in different places, each location gets its own full path.
- Use the output paths exactly as shown when you need to reference deeply nested values in code or documentation.
Frequently asked questions
What notation is used?
Dot notation for object keys and [index] for array elements, the same syntax used in code.
Why is this useful?
To quickly find the exact path to a nested value for use in code or JSONPath.
Is it private?
Yes, everything runs locally.
More Developer Tools Tools
Explore related calculators in this category
API Key Generator
Generate random, secure API keys and tokens with an optional prefix. Cryptographically secure.
JSON Diff
Compare two JSON objects and see which keys were added, removed or changed.
JSON File Viewer
Open and pretty-print a JSON file in your browser. View large JSON files safely and privately.
JSON Formatter
Format, beautify and validate JSON with proper indentation. Shows clear error messages for invalid JSON.
You Might Also Like
Popular tools from other categories
JSON Escape
Escape text for safe use inside a JSON string, handles quotes, backslashes and newlines.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.