JSON Flatten
Flatten nested JSON to dot-notation and unflatten back
Paste JSON to transform
Flatten nested objects to dot-notation or unflatten back to nested structure
Ctrl+Enter to runCtrl+Shift+C to copy
Learn More
JSON Flatten: Convert Nested to Flat and Back
Flatten nested JSON to dot-notation and unflatten flat paths back to nested objects.
What Is JSON Flattening?
JSON flattening converts a deeply nested JSON object into a flat key-value structure using dot-notation paths. Each leaf value in the original object gets a unique path like 'user.address.city' that describes its position in the hierarchy.
5 min readRead full guide