Convert an array of JSON objects into CSV, with correct escaping, entirely in your browser.
Input:
Output CSV:
If one object is missing a property another has, the column is still included, left blank for that row:
An array of objects, where each object becomes one CSV row -- for example [{"name":"John","age":30},{"name":"Jane","age":25}]. An array of arrays is also supported (each inner array becomes one row with no header row).
The CSV columns are the union of every property found across every object, not just the first one -- so an object with an extra field later in the array still gets its own column, with earlier rows simply left blank in that column.
Following standard CSV rules: a value containing a comma, a double quote, or a line break is wrapped in double quotes, with any double quote inside it doubled ("") -- so the result opens correctly in Excel, Google Sheets, or any other spreadsheet application.
It's converted to a JSON string and placed in that cell (e.g. {"city":"London"}), rather than being silently dropped or flattened into separate columns -- so no data is ever lost, even though it stays in JSON form inside that one cell.
You'll get a clear error -- this tool expects the top level to be an array. Wrap a single object in square brackets ([ ]) to convert it as a one-row CSV.
No. Every conversion happens locally in your browser using JavaScript. Nothing you paste here is sent to Brekzy or stored anywhere.
Explore Brekzy's growing collection of free calculators, converters, AI tools, and practical resources.