JSON to CSV

Convert JSON arrays to CSV format in your browser. Automatically detects all object keys and uses them as column headers. Handles nested arrays and mixed-type values. Download as a .csv file or copy the output directly. No signup required.

Frequently Asked Questions

What JSON structure is supported?
JSON arrays of objects where each object's keys become CSV column headers and each object becomes a row. For example: [{"name":"Alice"},{"name":"Bob"}] becomes a CSV with a 'name' column.
What happens to nested objects in the JSON?
Nested objects are either flattened (e.g., address.city becomes a column) or stringified into the cell value, depending on the nesting depth.
Can I convert a single JSON object (not an array)?
A single object will produce a single-row CSV. For objects with nested arrays, the array elements will each become a row.
Does it handle missing keys across objects?
Yes. If some objects are missing certain keys, those cells will be empty in the CSV output. All unique keys across all objects are used as column headers.
Is the conversion done in the browser?
Yes. All processing happens locally. Your JSON data is never uploaded to any server.