JSON to CSV Converter
Convert JSON arrays to spreadsheet-ready CSV in seconds. Handles nested objects, custom delimiters, and automatic header detection. Runs entirely in your browser.
How the converter works
From JSON array to spreadsheet-ready CSV in three steps.
Paste your JSON
Paste a JSON array of objects into the input field. The tool also accepts a single object, which is treated as a one-row table. Nested objects are flattened with dot notation.
Configure options
Choose your delimiter: comma for most spreadsheets, tab for data that contains commas, or semicolon for European locale settings. Toggle header inclusion on or off.
Copy or download
Copy the CSV to clipboard or download a .csv file ready to open in Excel, Google Sheets, or any spreadsheet application. Stats show row and column counts.
Why use this JSON to CSV converter?
Handles real-world JSON that other converters get wrong.
Automatic header detection
Headers are derived from the union of all keys across every row, so even sparse datasets with missing fields produce a correct, complete CSV.
Nested object flattening
Nested objects like {"address": {"city": "Lagos"}} become a flat column named address.city. Arrays inside objects are serialized as JSON strings to preserve the data.
Proper CSV escaping
Values that contain the delimiter, quotes, or newlines are automatically double-quoted and escaped per RFC 4180. The output imports cleanly into every major spreadsheet tool.
Runs entirely in your browser
Conversion uses only JavaScript running locally. No files are uploaded to a server. Your data stays on your device no matter the file size.
Frequently asked questions
Everything you need to know about converting JSON to CSV.
