JSON Key-Value Extractor
Pull every value for a given key from anywhere in a JSON document — with full paths or as a clean array.
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.
About this tool
Need every email in a response, no matter how deep it hides? This extractor scans the entire document — objects, arrays, any depth — and returns every occurrence of the key you name, either with its full path, as a JSON array of values, or one value per line.
Case-insensitive matching is available for messy real-world data.
How to use it
- Paste your JSON.
- Type the key to extract (e.g.
email). - Choose an output format: paths + values, JSON array, or plain lines.
- Copy or download the result.
Useful ways to apply it
- Collecting all IDs or emails from a nested API response.
- Auditing where a config key appears across a large document.
- Extracting URLs from a sitemap-style JSON blob.
- Feeding a clean value list into another script or spreadsheet.
Worked example
Example input
{"user":{"email":"ada@example.com"},"team":[{"email":"linus@example.com"}]} + key email
Expected output
user.email = "ada@example.com"; team[0].email = "linus@example.com"
Edge cases to check
- The same key can occur at many nesting levels.
- Case-insensitive matching can merge keys that an application treats as distinct.
- Values can be objects/arrays, not only primitives.
Known limitations
The extractor searches property names recursively; it does not evaluate JSONPath predicates or semantic relationships between fields.
How this tool was reviewed
Reviewed with nested objects, arrays, duplicate key names at different paths, case sensitivity and object-valued matches.
Standards and technical references
See the site-wide testing methodology for fixture categories, privacy checks and correction policy.
Frequently asked questions
Does it search nested arrays too?
Can I match keys regardless of case?
What if the key holds an object?
Privacy
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.