JSON Unflatten

Paste a flat JSON object with dot keys (e.g. a.b.c: 1) to get a nested object. Inverse of flatten.

JSON Unflatten

How it works

We split each key by dot and build a nested object by creating objects along the path.

When to use it

Use after importing flat config or env-based config.

Frequently asked questions

Numeric keys?

Numeric path segments can become array indices in some modes.

Overwrite?

Later keys overwrite earlier when paths conflict.