jsonpost

JSON Flattener / Unflattener

Flatten nested JSON into dot/bracket key-value pairs, or reverse the process.

Runs entirely in your browser — your data never leaves your device.

Loading tool…

How to use this tool

  1. 1Paste your JSON into the editor.
  2. 2Choose Flatten or Unflatten and the key notation.
  3. 3Copy the converted output.

Frequently asked questions

What notation is used for flattened keys?
You can choose dot notation (a.b.c) or bracket notation (a[0].b), which is handy for spreadsheets and env vars.
Can it rebuild nested JSON?
Yes. Unflatten mode reconstructs the original nested object from flat keys.
Is my data uploaded to a server?
No. Every tool on JSONPost runs entirely in your browser using JavaScript. Your JSON never leaves your device, so it is safe to use with private or sensitive data.

Related tools