DFK Studio

Turn JSON into CSV

Paste an array of objects and get a spreadsheet-ready CSV, with the quoting and the awkward characters handled. Nothing is uploaded.

  • Free, no account
  • Nothing is uploaded
  • Runs in your browser

JSON in — an array of objects

CSV out

How it works

  1. 1 What goes in JSON records
  2. 2 It runs in your browser On your own device. Nothing is uploaded, there is no queue and no account, and it keeps working with the network switched off.
  3. 3 What comes back A CSV a spreadsheet will open

What it does

Paste an array of objects and get CSV that opens cleanly in a spreadsheet. Columns are worked out from every row rather than the first, nested values are flattened with a readable path, and the quoting is done properly so a comma inside a value does not become a new column.

This page does the work itself. Your file is handled by the browser and never sent anywhere — there is no server here to send it to.

Questions

Why read every row for the columns?

Because the first row is rarely the whole story. A field that is missing from record one and present in the other four hundred would be silently dropped by a converter that only looks at the first, and you would not find out until the column you needed was not there.

What happens to nested objects?

They are flattened into a column per leaf, with the path as the heading — user.address.city rather than a JSON blob in a cell. Arrays of scalars are joined with a semicolon, because a comma inside a CSV cell is an argument nobody wins.

Why is there a byte order mark option?

Because Excel on Windows opens a UTF-8 CSV as if it were the local codepage unless the file starts with one, which turns every accent and every emoji into mojibake. It is on by default for that reason and off if you are feeding the file to something that does not want it.

Which delimiter should I use?

Comma unless your spreadsheet is set to a locale that uses a comma for decimals — much of Europe — in which case semicolon is what Excel expects and comma will put your whole row in one cell. Tab is the safe choice when you are pasting straight into a sheet.

Every shelf