JSON to CSV Converter

2 rows, 7 columns. Nested objects become dot-separated columns; lists of values are joined with “; ”.

RFC 4180, local

Paste an array of JSON objects to get a spreadsheet-ready CSV. Columns are the union of all keys, so records with missing fields still line up.

How the conversion works

  1. The input must be a JSON array of objects, or an object with such an array as a property (for example an API response with {"items": [...]}).
  2. Each object is flattened: nested objects become parent.child columns, arrays of objects become items.0.name-style columns, and arrays of plain values are joined with “; ”.
  3. Columns are the union of all keys in first-seen order, so a record missing a field gets an empty cell.
  4. Cells are quoted per RFC 4180 when they contain the delimiter, a double quote or a line break; inner quotes are doubled.

The sample's second record, with a city of Arlington, VA and a note containing quotes, shows both escaping rules. The conversion runs in your browser, so you can use it with private exports.

FAQ

Frequently Asked Questions

How are nested objects handled?
They are flattened into dot-separated column names: {"customer": {"city": "London"}} becomes a customer.city column.
How are commas and quotes escaped?
Per RFC 4180: a value containing a comma, quote or line break is wrapped in double quotes, and quotes inside it are doubled ("").
Will Excel open the file correctly?
The download includes a UTF-8 byte-order mark so Excel detects UTF-8. Choose the semicolon delimiter if your Excel locale uses commas as decimal separators.
Copied to clipboard!