JSON Key Extractor
List all unique key paths or extract values for a specific key.
What is Key Extractor?
The JSON Key Extractor helps you understand the full shape of an unfamiliar JSON document by listing every unique key path, or extract all values for a specific key across nested/array structures.
How it works
We parse the JSON and recursively collect key paths. In 'Extract all keys' mode, every unique dotted path is listed. In 'Extract values' mode, we find all occurrences of a key path and collect their values.
- Paste JSON. Drop or paste any JSON document.
- Choose mode. 'Extract all keys' lists every key path. 'Extract values' needs a key path to search for.
- Copy results. Copy the key list or values array to clipboard.
Examples
All keys
Paste a user API response and get a list like "name, email, address.street, address.city".
Values for a key
Search for "email" across an array of users to get all email addresses.
Common mistakes
Key path format
Use dot notation for nested keys (e.g. address.city). Bracket notation for arrays (e.g. items[0].name).
Alternatives
JSON Tree Viewer
Visual tree exploration.
Frequently asked questions
Can it count key frequency?
Not in Wave 5 — frequency counting is planned as an advanced feature.
Does it handle arrays?
Yes — arrays are traversed recursively, with items addressed as [0], [1], etc.