JSON to CSV
Convert a JSON array into CSV format.
What the JSON to CSV converter does
This tool turns a JSON array of objects into comma-separated values (CSV), the format that spreadsheets and many data tools expect. It reads every object in your array, gathers the full set of keys across all rows to build the header line, and then writes one CSV row per object. Values that contain commas, quotes, or line breaks are automatically wrapped in quotes and escaped, so the output stays valid and opens cleanly in Excel, Google Sheets, or any CSV reader.
It is handy for analysts and developers who receive data as JSON from an API or export but need to view, sort, or share it in a spreadsheet. Instead of writing a one-off script, you can paste the array and get a downloadable CSV in seconds.
How to use it
Paste a JSON array of objects into the input box, for example a list of records each with the same fields. Press Convert to CSV and the result appears in the output box below. From there you can use Copy to place the CSV on your clipboard, or Download .csv to save it as a data.csv file ready to open in a spreadsheet.
The header row is built from the union of all keys found across your objects, so even if some records are missing a field, the column still appears and those cells are left empty. This keeps every row aligned to the same columns.
Tips and notes
The input must be a JSON array; a single object or other JSON value will produce an error message asking for an array. Nested objects or arrays inside a field are converted to their string form rather than expanded into extra columns, so flatten complex structures first if you need each nested value in its own column.
All conversion runs in your browser. Your data is never uploaded to a server, which makes the tool safe for private or proprietary datasets.