JSON ↔ CSV Converter

Convert between JSON arrays and CSV format. Everything runs in your browser.

How it works

Select JSON → CSV or CSV → JSON mode. In JSON → CSV mode, paste a JSON array of objects and click Convert — the tool reads the keys from the first object as column headers and serialises each array element as a row, quoting any values that contain commas or newlines. In CSV → JSON mode, paste a CSV with a header row and click Convert — each row becomes a JSON object keyed by the header names. Nothing is sent to any server.

Frequently asked questions

What JSON structure can I convert to CSV?

The tool accepts a JSON array of flat objects where each object has the same keys. Keys become the CSV header row and each object becomes a data row. Nested objects are serialised as JSON strings in the cell.

Does it handle commas inside values?

Yes. The tool follows RFC 4180 — values containing commas, double quotes, or newlines are automatically wrapped in double quotes, and internal double quotes are escaped by doubling them.

What happens to nested JSON when converting to CSV?

Nested objects and arrays are serialised to their JSON string representation and placed in the CSV cell. All data is preserved, but you may need to post-process deeply nested columns.

Is my data sent to a server?

No. All conversion logic runs entirely in your browser using JavaScript. Your data never leaves your machine.