Simple online tools for developers, networking, text and conversions.

Developer Tools

JSON Key Extractor

Extract unique keys and key paths from JSON objects and arrays.

Tool

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.

About this tool

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.

Use json key extractor when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Paste a JSON object or array into the input box
  2. Click Run Tool to extract keys
  3. Review the unique key paths in the output
  4. Use the result for API mapping, docs, or transformation planning
  5. If needed, compare the same payload later with JSON Diff Checker

Examples

Example

Input

{"name":"John","age":30}

Output

[
  "$.age",
  "$.name"
]

Useful when you only need a quick field list from a small object.

Example

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.

Common errors

The pasted JSON is invalid

Fix: Validate or format the JSON first before extracting keys.

The user expects values instead of only keys

Fix: Use JSON Path Finder if you need to search by key names and inspect matching values.

Arrays are expected to show every index separately

Fix: This tool uses [] notation for array structure instead of listing every numeric index.

Only part of the payload is pasted

Fix: Paste the full JSON structure so all keys can be discovered.

Repeated keys appear in many objects

Fix: The extractor returns unique paths so repeated structures do not flood the output.

FAQ

What does JSON Key Extractor return?

It returns a unique list of keys and nested key paths found in the JSON input.

Does it work with arrays?

Yes. Arrays are represented with [] notation in the extracted paths.

What is the difference between JSON Key Extractor and JSON Path Finder?

Key Extractor lists all available paths, while JSON Path Finder searches for paths that match a specific key term.

Can I use this on large API responses?

Yes. It is useful for quickly understanding the shape of large payloads.

Why are array indexes not listed one by one?

The tool focuses on reusable structure paths rather than every concrete array position.

Use cases

Related tools