JSON to CSV Converter
The API gave you a JSON array and someone wants it in Excel — paste it above and get a clean CSV back. Every object key across the whole array becomes a column (in first-seen order, unioned across all rows), nested objects and arrays are serialized into their cells, and anything containing a comma, quote or line break is quoted and escaped exactly the way spreadsheet apps expect.
An array of plain arrays works too — it converts row-for-row with no header. Cells map predictably: null becomes empty, numbers and booleans become their string form, and complex values become compact JSON inside the cell.
Everything runs locally in your browser, which matters when the payload you are flattening contains production data.
FAQ
What JSON shapes can be converted to CSV?
A top-level array of objects (the common API-response shape) or an array of arrays. A single object or scalar cannot be a CSV — there is no row structure — so the tool tells you instead of guessing.
What happens to nested objects inside my JSON?
They are serialized to compact JSON inside the cell, properly quoted so the commas inside do not break the column structure. You can expand them later, but nothing is lost.
Will the output open correctly in Excel?
Yes — cells containing delimiters, quotes or newlines are quoted per CSV convention, with literal quotes escaped as doubled quotes. If your locale expects semicolons, pick the semicolon delimiter before copying.