JSON to CSV converter

Paste or drop JSON, see the flattened CSV table update live. Nothing leaves your browser.

Free to use, no sign-up.

How it works

  1. Paste JSON, or drop a .json or JSON Lines file. An array of objects, a single object, or an API response that wraps an array all work.
  2. Pick the delimiter, how nested objects are named (user.name) and what to do with arrays. The preview table updates as you go, and you can untick columns you do not want.
  3. Copy the CSV or download it. The conversion runs in your browser, so the data is never uploaded.

Questions

Is my JSON uploaded to a server?

No. The conversion is done by JavaScript in your browser tab and the tool has no network access, so your data stays on your device.

How does it handle nested objects?

Nested objects are flattened into one column per leaf value, named by path: {"user":{"name":"Ann"}} becomes a user.name column. You can switch the separator to an underscore or slash.

What happens to arrays inside records?

You choose. Keep each array as JSON text in one cell, join simple arrays with a separator, spread them into numbered columns (tags.0, tags.1), or create one row per array item when the array holds objects.

What if records have different keys?

The header is the union of all keys across all records, in the order first seen. A record missing a key gets an empty cell.

Will Excel open the file correctly?

Usually. If accented characters look wrong, tick the BOM option before downloading. If Excel on your system expects semicolons (common in several European locales), choose the semicolon delimiter.

Why is there a formula protection option?

A text value that starts with =, +, - or @ can be treated as a formula by Excel or Sheets. With the option on, such values get a leading apostrophe so they stay plain text. It is off by default because it changes your data.

Can it read newline-delimited JSON?

Yes. If the text is not one valid JSON document but every line is, it is read as JSON Lines and each line becomes a row.

Free tool by Huntsville Software. It runs in your browser; your files and text are not uploaded.