JSON to CSV Converter
Convert JSON data into a CSV file you can open in Excel or Google Sheets.
JSON Input
CSV Result
What Is a JSON to CSV Converter?
A JSON to CSV converter changes JSON data into CSV (comma-separated values) format. CSV files open easily in spreadsheet programs like Microsoft Excel and Google Sheets, so converting JSON to CSV makes your data simple to sort, filter, and share.
How to Convert JSON to CSV
- Paste your JSON into the JSON Input box, click Upload, or click Sample to try an example.
- Choose a separator: comma, semicolon, or tab.
- Click Convert to CSV.
- Check the Table preview, then click Copy or Download to save the CSV.
Features
- Converts an array of JSON objects into CSV rows.
- Creates column headers automatically from your JSON keys.
- Flattens nested objects into columns such as contact.email.
- Handles commas, quotes, and line breaks inside values safely.
- Downloads a CSV file that opens correctly in Excel.
- Runs in your browser, so your data is not uploaded to a server.
Example
[
{
"id": 1,
"name": "Clark, Emily",
"contact": { "email": "emily@example.com" },
"tags": ["admin", "editor"]
}
]id,name,contact.email,tags 1,"Clark, Emily",emily@example.com,"[""admin"",""editor""]"
Three things happened here. The nested contact object became the contact.email column. The name contains a comma, so it is wrapped in quotes to keep it in one column. The tags array is kept as JSON text in one cell, with its quotes doubled as the CSV standard requires.
Which Separator Should I Use?
- Comma is the standard and works in most programs.
- Semicolon is better if Excel puts everything in one column. Many European versions of Excel expect semicolons because they use the comma as a decimal mark.
- Tab is handy for pasting straight into a spreadsheet, and when your values contain lots of commas. For a proper TSV file with escaped tabs and line breaks, use JSON to TSV.
CSV Limits to Know
CSV is a flat table with no types, so every value becomes text and deeply nested data does not fit perfectly. If people will open the file in Excel, a real spreadsheet with numbers and a bold header is often better: try JSON to Excel. To do the conversion in code, see JSON to CSV in Python. For a table in a README or a GitHub issue, use JSON to Markdown Table, and read JSON vs CSV to choose the right format.
Frequently Asked Questions
What JSON format works best?
An array of objects works best, for example a list of users or products. Each object becomes one row, and each key becomes a column. A single JSON object is converted into one row.
What happens to nested JSON?
Nested objects are flattened using dot notation. For example, {"contact": {"email": "a@b.com"}} becomes a column named contact.email. Arrays inside a value are kept as JSON text in a single cell. To flatten JSON without making a CSV, or to rebuild nested JSON from dotted keys, use JSON Flatten / Unflatten.
Why would I use a semicolon separator?
In some regions, Excel expects semicolons instead of commas. If your CSV opens with all data in one column, try the semicolon option.
Is this JSON to CSV converter free?
Yes. It is free to use and does not require sign-up.