JSON to CSV Converter
Paste JSON, preview the data as a table, and download CSV instantly. Supports nested objects, custom delimiters, and reverse CSV-to-JSON conversion.
JSON Input
CSV Output
Table Preview
| name | age | city |
|---|---|---|
| Alice | 30 | New York |
| Bob | 25 | London |
| Charlie | 35 | Tokyo |
3 rows · 3 columns · Delimiter: Comma
Why Convert JSON to CSV?
JSON is the standard data format for APIs, configuration files, and web applications. However, many workflows still depend on spreadsheets and tabular data. Converting JSON to CSV lets you open API responses in Excel or Google Sheets, import data into databases, or share structured information with non-technical stakeholders who prefer flat files over nested structures.
How This Converter Works
Paste a JSON array of objects into the input field and the tool automatically flattens nested properties using dot notation, extracts all unique keys as column headers, and generates a CSV string. You can choose between comma, tab, and semicolon delimiters. Toggle header inclusion or force-quote every field for maximum compatibility. The table preview lets you inspect the data before downloading. Everything runs in your browser with no server round-trips, so your data stays private.
CSV to JSON Reverse Conversion
Need to go the other way? Switch to CSV-to-JSON mode and paste comma-separated or tab-separated text. The first row is treated as the header, and each subsequent row becomes a JSON object. This is useful when you have spreadsheet data that needs to be sent to an API or consumed by a JavaScript application. The output is pretty-printed JSON that you can copy or download as a .json file.
Common Use Cases
- Export API responses to spreadsheets for analysis or reporting.
- Prepare CSV uploads for databases, CRMs, or marketing platforms from JSON source data.
- Convert CSV exports from tools like Excel or Google Sheets into JSON for use in web applications.
- Flatten deeply nested JSON structures into a readable flat table format.