JSON to CSV Converter

Convert a JSON array to a clean CSV file in one click.

FreeNo signup Runs in browserInstant download
Input JSON
Output CSV
Advertisement

How to convert JSON to CSV

1

Paste your JSON array

Your JSON must be an array of objects. Each object becomes a row, each key becomes a column header.

2

Choose delimiter

Select comma (standard), semicolon (common in Europe), or tab for TSV format.

3

Download the CSV

Click "Download .csv" to save and open in Excel, Google Sheets, or any spreadsheet tool.

How JSON to CSV Conversion Works — and When to Use It

JSON and CSV serve different purposes. JSON is the language of APIs — it handles nested data, arrays, and complex types. CSV is the language of spreadsheets — flat, tabular, universally supported. Converting between them bridges the gap between your API data and tools like Excel, Google Sheets, Tableau, and data analysis pipelines.

When to convert JSON to CSV

The most common scenario: you fetch data from an API and need to share it with a business user who works in Excel. Other cases include feeding JSON data into machine learning pipelines that expect CSV, importing into databases with CSV import utilities, or creating reports from API responses without writing custom export code.

What JSON structure works for CSV

CSV is flat — it has rows and columns, no nesting. The ideal JSON for CSV conversion is a flat array of objects: [{"name":"Alice","age":28},{"name":"Bob","age":34}]. Each object becomes a row; each key becomes a column header. Nested objects are stringified into the cell as JSON text.

Delimiter choice matters

Comma is the standard delimiter in English-speaking countries. In Europe, Excel often defaults to semicolons because commas are used as decimal separators. If your data contains commas (addresses, descriptions), values are automatically quoted to prevent parsing errors. Choose the right delimiter for your target application.

Frequently asked questions

How do I convert JSON to CSV online for free?
Paste your JSON array into the input box on this page, select your preferred delimiter (comma, semicolon, or tab), and click Convert. The CSV output is generated instantly in your browser with no signup required. Click "Download .csv" to save the file.
What JSON format is required for CSV conversion?
Your JSON must be an array of objects — for example: [{"name":"Alice","age":25},{"name":"Bob","age":30}]. Each object in the array becomes one row in the CSV. The keys of the first object are used as column headers.
Can I open the exported CSV in Excel or Google Sheets?
Yes. Download the CSV file and open it directly in Microsoft Excel, Google Sheets, LibreOffice Calc, or any spreadsheet application. If you're using a European locale, try the semicolon delimiter instead of comma to avoid formatting issues.
What happens to nested JSON objects when converting to CSV?
Nested objects and arrays are serialized to their JSON string representation and placed inside the CSV cell. For example, {"address":{"city":"Paris"}} becomes a cell with the value {"city":"Paris"}. For deeply nested data, flatten your JSON first using our JSON Formatter.
Is there a file size limit for JSON to CSV conversion?
No file size limits. Since all conversion runs locally in your browser using JavaScript, there are no server-side restrictions. Performance depends on your device's available memory.
Can I convert JSON to TSV (tab-separated values)?
Yes. Select the "Tab" option from the delimiter dropdown before clicking Convert. The output will be tab-separated (TSV), which is useful for importing into databases and some spreadsheet tools that handle tabs better than commas.