JSON to CSV Converter

Convert JSON arrays to CSV or CSV back to JSON. Everything runs in your browser — nothing is sent to a server.

Output

Supported JSON formats

Array of objects — the most common format. Each object becomes a row, and object keys become column headers. Objects do not need to have identical keys; missing fields produce empty cells.

Array of arrays — each inner array becomes a row. The first inner array is treated as headers when "Include headers" is checked.

How nested objects are handled

When Flatten nested objects is checked, nested keys are joined with dot notation. For example, {"address":{"city":"NY"}} becomes a column named address.city with value NY. Arrays within values are serialized as JSON strings.

When flattening is off, nested objects and arrays are output as JSON strings in the CSV cell.

CSV to JSON

Paste CSV text into the input and click CSV to JSON. The first row is used as keys. The tool respects quoted fields, escaped quotes, and multi-line values inside quotes.

Your data never leaves your browser. No external requests are made.