Runs locally

JSON Unflatten Tool

Rebuild nested JSON from flattened path keys with prototype-pollution protections. Runs locally in your browser.

Runs locally. Your JSON never leaves your browser.

Unsafe path segments such as __proto__, prototype and constructor are skipped to prevent prototype pollution.

Flattened JSON Input

Waiting for flattened JSON input.

Nested JSON Output

Rebuilt locally from path keys.

JSON Unflatten Tool

Unflatten reverses path-based keys into nested JSON objects and arrays when the path notation is clear.

Arrays

Numeric path segments such as users.0.name and bracket segments such as users[0].name are treated as array indexes.

Ambiguity and limitations

Flattened JSON is ambiguous when real keys contain separators or when arrays are represented inconsistently. Choose the same separator used when flattening for the best result.

Security

Dangerous prototype-pollution keys are never assigned. Paths containing __proto__, prototype or constructor are skipped and reported in the status message.

Privacy

Unflattening runs locally in your browser and does not send JSON to Laravel.

FAQ

Can unflatten rebuild arrays?

Yes, when numeric path segments make the array structure unambiguous.