JSON → CSV

Convert an array of objects into CSV with customizable delimiter and file download.

Runs entirely in your browser
Delimiter:

FAQ

What if my rows have different keys?
Columns are the union of every key across all rows, ordered by first appearance. Missing values render as empty cells.
What happens to nested objects and arrays?
They are JSON.stringify'd into a single cell. CSV has no nesting concept — if you need flat output, transform the JSON before conversion.
How are commas and quotes escaped?
Any cell containing the delimiter, a double-quote, or a newline is wrapped in double-quotes; embedded quotes are doubled. This is standard RFC 4180 behavior.

Related tools