Loading…

How to use JSON Unflattener

Paste a flat object with dot-notation keys and it is rebuilt into the nested JSON structure those paths describe.

Frequently asked questions

What input does it expect?

A flat object whose keys are paths like user.address.city; these are expanded into nested objects.

How are array indexes handled?

Numeric path segments such as items.0 are rebuilt as array elements in the correct positions.

Is this the opposite of flattening?

Yes — unflattening reverses the JSON Flattener, turning dot-notation keys back into nested structure.

More JSON Tools

JSON Key Extractor
Extract all keys, paths, and values from a JSON object
JSON Merger
Deep merge two JSON objects with conflict resolution
JSON Array Tools
Filter, sort, map and paginate JSON arrays interactively
JSON Query / Filter
Filter and transform JSON arrays with field conditions
JSON Repair
Fix broken JSON — trailing commas, single quotes, unquoted keys, comments
JSON ⇄ JSONL Converter
Convert a JSON array to JSONL/NDJSON and back, line by line
JSON to Go Struct
Generate a Go struct with json tags from a JSON sample
JSON to Python TypedDict
Generate a Python TypedDict class from a JSON sample
JSON to SQL INSERT
Generate SQL INSERT statements from a JSON array of objects
JSON Formatter
Beautify and format JSON with syntax highlighting
JSON Minifier
Minify JSON to remove whitespace and reduce file size
JSON Validator
Validate JSON syntax and get detailed error messages

← View all JSON ToolsBrowse all 1,100+ tools →