JSON to CSV Converter
Convert JSON arrays to CSV format for Excel, Google Sheets, and other spreadsheet tools. Handles nested objects and varying fields.
How to Use the JSON to CSV Converter
1
Enter JSON
Paste a JSON array of objects into the input field. Each object will become a row in the CSV.
2
Click Convert
Press Convert to CSV to transform your JSON array into a comma-separated table.
3
Download or Copy
Download the CSV file for Excel or copy it to your clipboard for quick use.
Frequently Asked Questions
The JSON must be an array of objects. Each object becomes a row and its keys become column headers. Single objects or nested structures are flattened with dot notation for the headers.
Nested objects are flattened using dot notation. For example, {"address":{"city":"NYC"}} becomes a column named "address.city". This ensures nested data is preserved in a flat CSV structure.
Our converter collects all unique keys across every object in the array. Objects missing certain fields will have empty cells in those columns, ensuring no data is lost.
Not on this page, but we provide a CSV to JSON tool that handles the reverse conversion. Check our related tools section below.
Yes. All JSON parsing and CSV generation happens entirely in your browser. Your data never leaves your device. Verify by checking the Network tab.
Related Tools
Ad