About the JSON to CSV Converter
The JSON to CSV Converter runs entirely in your browser — your code and data never leave your machine. Paste, click, copy the result.
Spreadsheets speak CSV; APIs speak JSON. This tool converts an array of JSON objects into a table: the keys of the first object become the header row, every object becomes a row, and values containing commas, quotes or newlines are escaped correctly so Excel, Numbers and Google Sheets open the file cleanly.
How to use this tool
- Paste a JSON array of objects — the typical shape of an API response.
- Choose Quote all fields for maximum compatibility, or leave it off for a cleaner file.
- Pick TSV if your target app expects tab separation.
- Convert and copy the output (or save it as a .csv file).
Accepted input shapes
- Best:
[{"a":1,"b":2},{"a":3,"b":4}]— array of flat objects. - OK: a single object
{...}— becomes one row. - Nested values: objects/arrays are stringified as JSON in the cell so data is never lost.
How escaping works
Fields containing commas, double quotes or line breaks are wrapped in quotes, and inner quotes are doubled ("") — the RFC 4180 standard every spreadsheet understands.
Who is this tool for?
Analysts moving API data into Excel, developers preparing test fixtures, and anyone who has stared at a broken CSV export.
Developer tip
If Excel mangles characters (é, emoji), open Data → From Text/CSV and pick UTF-8 encoding — Windows Excel defaults to a legacy code page.