Separator mismatch
The unflatten separator must match the flatten.
Fix: Use the same separator in the toolbar.
header • up to 320x100 / 728x90
Rebuild nested JSON from a flat map of dotted keys and array-index paths
Output will appear here...
content bottom • up to 300x250
sidebar • 160x600
Last reviewed:
JSON (JavaScript Object Notation) is a lightweight, human-readable data format used almost everywhere on the web for APIs, config files, and log output.
JSON Unflatten takes a flat map like `{ "user.id": 1, "user.tags[0]": "admin" }` and rebuilds the original nested object structure.
Pair it with JSON Flatten for lossless round-trips between nested and flat representations.
{
"user.id": 1,
"user.tags[0]": "admin",
"user.tags[1]": "ops"
}{
"user": {
"id": 1,
"tags": ["admin", "ops"]
}
}The unflatten separator must match the flatten.
Fix: Use the same separator in the toolbar.
`a` and `a.b` in the same flat map are ambiguous.
Fix: Remove conflicting keys before unflattening.
Yes — with the same separator it round-trips losslessly.
By bracketed numeric indices like `tags[0]`.
Yes — there's no practical depth limit.
No — unflattening is client-side.
Keys follow the insertion order of the input map.
Pair with JSON Flatten and diff tools. You can also browse the full Data Converters category for more options.
Flatten nested JSON into single-level key/value pairs using dotted or custom separator paths
Format, validate, and beautify JSON online with readable indentation, syntax checking, and copy-ready output for APIs, logs, and config files.
Recursively sort JSON object keys alphabetically while preserving array order
Flatten any JSON document into a list of JSONPath-style leaf paths and values
Convert a .env (dotenv) file into structured JSON with quote, comment, and escape handling
Validate JSON syntax and catch parse errors instantly. Paste JSON and get immediate feedback on structural issues, missing commas, and unquoted keys.
Convert JSON to CSV format
Convert JSON to Excel format
Convert JSON arrays into JSONL or NDJSON online with one object per line, copy-ready output, and safe handling of nested records for data pipelines.
Convert JSON to SQL INSERT statements
Convert JSON to clean TOML online for config files, package settings, and developer tooling that prefers readable key-value documents.
Convert JSON into TypeScript interfaces and types online with nested objects, arrays, optional fields, and copy-ready model definitions.