JSON → CSV
Turn a JSON array of objects into spreadsheet-ready CSV in one step. Nested objects become dot-notation columns; arrays are serialized into cells.
- Spreadsheet ready
- Header row included
- Nested keys flattened with dot notation
JSON to CSV Converter Online
Export JSON arrays to spreadsheet-ready CSV in one click. Nested objects flatten to dot-notation columns; the first row is always headers. Download or copy the result for Excel, Google Sheets, Airtable, or databases: all locally in your browser. Starting from a sheet instead? Use CSV to JSON and bring rows back here when you need CSV again.
Where Is This Useful?
How to Use
- Paste a JSON array of objects into the input panel
- Click Export CSV or press Ctrl+Enter (on mobile, use the sticky bar or More for download & copy)
- Copy the CSV or download as
.csv, then open in your spreadsheet app
Example
[
{
"order_id": "A-1",
"customer": { "name": "Ada", "region": "EU" },
"amount": 120,
"tags": ["priority", "retail"]
},
{
"order_id": "B-2",
"customer": { "name": "Bob", "region": "US" },
"amount": 89,
"tags": ["wholesale"]
}
]order_id,customer.name,customer.region,amount,tags A-1,Ada,EU,120,"[""priority"",""retail""]" B-2,Bob,US,89,"[""wholesale""]"
Features
- Automatic header detection from all object keys
- Nested object flattening (
address.citybecomes a column) - Partner page CSV to JSON for the reverse direction and round-trip edits
- Proper CSV escaping for commas, quotes, and newlines
- One-click .csv file download
- After export, shows a short summary (rows, columns, whether nesting was flattened)
- 100% private; runs entirely in your browser
Frequently Asked Questions
How do I convert JSON to CSV online?
Paste valid JSON—usually a top-level array of objects—into the converter on this page and click Export CSV to generate downloadable CSV output directly in your browser.
Does my JSON need to be an array for CSV conversion?
In most cases, yes. CSV is row-oriented: each object in the array becomes a row and object keys become column headers. If your payload is wrapped differently, normalize it with the JSON Formatter first.
Can nested JSON objects be converted to CSV?
Yes. Nested objects are flattened into dot-path column names such as user.name or address.city before export, similar to the JSON Flatten workflow.
What happens if records use different keys?
The converter unions keys discovered across rows into columns. If a row lacks a key, that cell is left blank so you still get a rectangular spreadsheet.
Can I open the generated CSV in Excel or Google Sheets?
Yes. Standard CSV files open in Microsoft Excel, Google Sheets, LibreOffice Calc, and most databases. Download the .csv from this page and import as usual.
Is my JSON uploaded when converting to CSV?
No. Conversion runs locally in your browser for privacy and speed. Your JSON is not sent to a server.
How do I convert CSV back into JSON?
Use the CSV to JSON tool when you need spreadsheet rows back as a JSON array of objects for APIs or code.
Should I format or validate JSON before converting?
Yes. Run JSON through the JSON Formatter or JSON Validator first to catch syntax issues and make nested structure easier to inspect before export.
Related Tools