CalculatorsConvertersDeveloperTextAll toolsDirectory
Submit your tool Sign in
Theme
Home/Data/JSON Unflatten

JSON Unflatten from Dot Notation

Rebuild a nested JSON object from a flat map of dot notation keys, which is the exact inverse of flattening and just as useful. Config systems, translation files and form data often arrive as a single level of dotted paths, and this tool expands them back into the real nested structure your code expects. It parses each key, splitting on dots and reading bracketed numbers as array indices, then creates the intermediate objects and arrays needed to place every value. Leaf values keep their original JSON type, so numbers and booleans are not turned into strings. Paste a flat JSON object whose keys are dotted paths, click unflatten, and copy the nested result. Everything runs locally in your browser, so the data you rebuild never leaves your device or gets logged elsewhere.

How to use JSON Unflatten

  1. Paste flat dot-notation JSON.
  2. Click unflatten to rebuild the structure.
  3. Copy the nested JSON.

Frequently asked questions

What input does unflatten expect?

It expects a flat map whose keys are dot-notation paths, and it rebuilds the nested object those paths describe.

How are array indices restored?

Bracketed numeric segments like items[0] are turned back into real array elements at the right positions.

Is it the inverse of flatten?

Yes. Unflatten reverses flatten, taking dot-notation keys back into a proper nested structure.

What is JSON Unflatten?

Rebuild a nested JSON object from a flat map of dot notation keys, which is the exact inverse of flattening and just as useful. Config systems, translation files and form data often arrive as a single level of dotted paths, and this tool expands them back into the real nested structure your code expects.

Is JSON Unflatten free to use?

Yes. JSON Unflatten is completely free, with no sign-up and no usage limits.

Does JSON Unflatten work in a web browser?

Yes. JSON Unflatten runs in any modern web browser. There is nothing to download or install.

Is my data private with JSON Unflatten?

Yes. JSON Unflatten runs entirely on your device in your browser, so nothing you enter is uploaded to a server.

Badge

Link this tool from a README, doc or site. The badge links back to this page.

Listed on yourhack.ai

[![Listed on yourhack.ai](https://yourhack.ai/badge/json-unflatten.svg)](https://yourhack.ai/json-unflatten)