Categories

JSON Key Extractor

Extract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.

Convert nested keys to dot notation (e.g., "user.profile.name")

Include the data type of each key (string, number, boolean, object, array, null)

Include the full path to each key in nested objects

Remove duplicate keys when they appear in multiple locations

API Documentation

Request Endpoint

POST /en/api/tools/json-key-extractor

Request Parameters

Parameter Name Type Required Description
jsonInput textarea Yes -
outputFormat select Yes -
flattenKeys checkbox No Convert nested keys to dot notation (e.g., "user.profile.name")
includeTypes checkbox No Include the data type of each key (string, number, boolean, object, array, null)
includePath checkbox No Include the full path to each key in nested objects
sortBy select Yes -
removeDuplicates checkbox No Remove duplicate keys when they appear in multiple locations
maxDepth number No -

Response Format

{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Text: Text

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-json-key-extractor": {
      "name": "json-key-extractor",
      "description": "Extract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=json-key-extractor",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]