Skip to content
Convertto

JSON Flattener

Flatten deeply nested JSON into dot-notation keys, or expand flat keys back into nested objects.

To flatten JSON, paste a nested object and every leaf value is rewritten with a dot-notation path key such as user.address.city. This makes deeply nested API responses easy to diff, search, load into a spreadsheet or feed into a translation file.

Runs in your browser
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

What is flattening for?

Getting nested JSON into anything that expects a flat table — a CSV, a spreadsheet, a database column set. A nested address object becomes address.city and address.postcode, which a table can hold and a nested object cannot.

How to use the json flattener

  1. 1Enter or paste your json.
  2. 2Choose the key separator.
  3. 3Turn "Index into arrays" on or off as needed.
  4. 4The result appears immediately — copy or download it.

Embed this tool

Put the working json flattener on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More data & format tools