Skip to content
ToolInstant

JSON Flatten

Local

Flatten nested JSON into one level of dot-path keys such as user.address.city. Pick the separator and array style (a.0 or a[0]). Unflatten it back any time.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Developer tools · Free · No upload · No sign-up

How to use the json flatten for free

  1. 1Paste nested JSON.
  2. 2Choose a separator and how array indexes look.
  3. 3Copy or download the flat JSON.

Also useful for: flatten json, json to dot notation, nested json to flat, json flattener, json key path.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this JSON flattener free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.

What happens to empty objects and arrays?+

They are kept as {} and [] values so nothing is lost and unflattening gives back the original shape.