JSON to CSV Converter
Convert arrays of JSON objects into CSV instantly. Donfig flattens an array of objects into rows, using the union of object keys as column headers. Nested objects are JSON-stringified into a single cell. CSV output is RFC 4180 compliant — quoted fields, doubled quotes for embedded quotes, CRLF line endings — so it imports cleanly into Excel, Google Sheets, BigQuery, or any standard CSV reader. For tab-separated output, switch the format selector to TSV. Conversion is client-side; your data never uploads.
JavaScript is required to use the live tool. Please enable JavaScript and reload.
Frequently asked
How are nested objects handled?
Each nested object is JSON-stringified into a single CSV cell. If you need a flatter representation, pre-process the input to spread nested keys into top-level columns.
What if my objects have different keys?
The header row is the union of keys across all objects. Missing values are emitted as empty cells.
Does it handle arrays of arrays?
Yes, but the result is column-of-JSON. For tabular arrays-of-arrays, transform to objects first.