JSON Key Extractor

Extract all unique keys from JSON objects with full path notation. Get hierarchical key paths and export as text.

How to Use JSON Key Extractor

1. Enter JSON Data

Paste or type your JSON data in the input field. The tool works with any valid JSON structure.

2. Configure Options

Choose extraction options:

  • Include array indexes: Show array positions in paths (e.g., orders[0].id)
  • Unique keys only: Remove duplicate keys from the result
  • Sort alphabetically: Order keys alphabetically

3. Extract and Copy

Click "Extract Keys" to analyze the JSON and get all key paths. Copy the result for your use.

Example Usage

// Input JSON
{
  "user": {
    "name": "John",
    "address": {
      "street": "123 Main St",
      "city": "New York"
    }
  },
  "orders": [
    {"id": 1, "total": 99.99},
    {"id": 2, "total": 149.99}
  ]
}

// Extracted Keys (with array indexes)
user
user.name
user.address
user.address.street
user.address.city
orders
orders[0]
orders[0].id
orders[0].total
orders[1]
orders[1].id
orders[1].total