📋 JSON Flatten & Unflatten

Convert nested JSON to flat dot notation, or unflatten back to nested structure.

📂 Drag & drop a .json file here, or click to browse
Input JSON
Output

What is JSON Flattening?

JSON flattening converts nested objects into a flat structure using dot notation. For example, {"user": {"name": "John"}} becomes {"user.name": "John"}.

Examples

Nested (Original)
{
  "user": {
    "name": "John",
    "address": {
      "city": "NYC"
    }
  }
}
Flattened
{
  "user.name": "John",
  "user.address.city": "NYC"
}

Use Cases