JSON to CSV
Convert JSON to CSV
Frequently Asked Questions
How do I convert JSON to CSV?
Paste a JSON array of objects. The converter uses object keys as column headers and values as rows. [{"name":"Alice","age":30}] becomes "name,age\nAlice,30". Nested objects are flattened with dot notation.
How are nested JSON objects handled?
Nested objects are flattened: {"user":{"name":"Alice","address":{"city":"NYC"}}} becomes columns "user.name" and "user.address.city". Arrays within objects are joined with semicolons or expanded to multiple rows.
Can I choose which fields to include in the CSV?
Yes. After pasting JSON, the converter shows all available fields. Uncheck fields you want to exclude. You can also reorder columns by dragging. Only selected fields appear in the output CSV.
How are special characters handled in CSV output?
Values containing commas, quotes, or newlines are automatically wrapped in double quotes. Double quotes within values are escaped as "". The converter follows RFC 4180 CSV standards for maximum compatibility.
Can I download the CSV file directly?
Yes. Click Download to save the CSV file. You can also copy to clipboard for pasting into spreadsheets. The file uses UTF-8 encoding with an optional BOM for Excel compatibility.