Extract keys from a simple object
Input
{"name":"John","age":30} Output
[ "$.age", "$.name" ]
Useful when you only need a quick field list from a small object.
Developer Tools
Review practical JSON Key Extractor examples so you can understand expected input, output, and common patterns faster.
Use this JSON Key Extractor to list keys and nested key paths from JSON data. It is useful for API inspection, schema review, payload discovery, documentation work, test preparation, and understanding unknown JSON structures before mapping or transforming them. Paste a JSON object or array and get a clean list of unique paths in dot notation.
Example pages are especially useful for developer tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
{"name":"John","age":30} Output
[ "$.age", "$.name" ]
Useful when you only need a quick field list from a small object.
Input
{"user":{"id":7,"name":"Anna"},"roles":[{"type":"admin"}]} Output
[ "$.roles", "$.roles[]", "$.roles[].type", "$.user", "$.user.id", "$.user.name" ]
Useful when reviewing nested response fields before writing mappings or tests.
Fix: Validate or format the JSON first before extracting keys.
Fix: Use JSON Path Finder if you need to search by key names and inspect matching values.
Fix: This tool uses [] notation for array structure instead of listing every numeric index.
Fix: Paste the full JSON structure so all keys can be discovered.
Fix: The extractor returns unique paths so repeated structures do not flood the output.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main JSON Key Extractor page and test your own real input.