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.

Extracted values

  

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

  1. Paste your JSON.
  2. Type the key to extract (e.g. email).
  3. Choose an output format: paths + values, JSON array, or plain lines.
  4. 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.

Last reviewed: September 3, 2026 · Maintainer: William

Standards and technical references

Frequently asked questions

Does it search nested arrays too?
The tool recursively scans objects and arrays, including objects nested inside arrays, until normal browser/runtime memory and recursion limits are reached.
Can I match keys regardless of case?
Tick case-insensitive matching to treat Email, EMAIL and email as the same key.
What if the key holds an object?
Object and array values are included and shown as JSON.

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.