JSON → CSV
Convert a JSON array of objects to CSV. Nested objects use dot-notation column names.
Need the other direction? CSV → JSON
Convert JSON to Excel (CSV) Online
Paste a JSON array of objects and export it as a CSV file ready to open in Excel, Google Sheets, or LibreOffice Calc. Nested objects are flattened automatically using dot-notation column names. Download the result with one click: no account, no upload, no server. To go the other direction, use CSV to JSON to turn a spreadsheet back into structured data.
JSON Input vs. CSV / Excel Output
[
{
"name": "Alice",
"age": 30,
"address": {
"city": "London",
"zip": "EC1A"
}
},
{
"name": "Bob",
"age": 25,
"address": {
"city": "Berlin",
"zip": "10115"
}
}
]name,age,address.city,address.zip Alice,30,London,EC1A Bob,25,Berlin,10115
How to Use
- Paste a JSON array of objects into the left editor panel
- Click Convert to CSV or press Ctrl+Enter
- Copy the CSV output or click the download button to save a
.csvfile - Open the file in Excel, Google Sheets, or import it into your database
Features
- Automatic column headers detected from all unique keys across every row
- Nested object flattening:
address.cityandaddress.zipbecome separate columns - Proper CSV escaping for values containing commas, quotes, or newlines
- One-click
.csvfile download ready for Excel or Google Sheets - Reverse direction available: CSV to JSON for round-trip editing
- Shows row and column counts after conversion
- 100% private: runs entirely in your browser, nothing is uploaded
Frequently Asked Questions
Can I open the output directly in Excel?
Yes. Click the download button to save a .csv file, then open it in Excel, Google Sheets, LibreOffice Calc, or any spreadsheet application. Excel recognises CSV files natively and displays each field in a separate column.
How does it handle nested JSON?
Nested objects are flattened with dot-notation keys. For example, {"address": {"city": "London"}} becomes a column called address.city. This keeps the CSV flat so every spreadsheet tool can read it without extra configuration.
What if my JSON has arrays of objects?
The converter expects a top-level JSON array of objects, where each object maps to one row and each unique key becomes a column. If your JSON is wrapped in an outer object, extract the array first using the JSON Flatten or JSON Formatter tools, then paste it here.
Related Tools