← Tools
Conversion

JSON to CSV

Convert a JSON array of objects to CSV format. Download or copy the result. Nested values are stringified.

JSON Input
CSV Output

Input Format

Input must be a JSON array of objects. Each object becomes a row. Keys from the first object (and any additional keys in subsequent objects) are used as column headers.

Nested Values

Nested objects and arrays are serialized to a JSON string within the cell. If a key is missing from a row, the cell is left empty.

Special Characters

Fields containing the delimiter, double quotes, or newlines are automatically wrapped in double quotes and internal quotes are escaped as "" per RFC 4180. To go the other direction, use CSV to JSON. To explore the output CSV, use the CSV Viewer.