JSON ↔ CSV

Online JSON ↔ CSV converter. JSON→CSV auto-extracts field names as headers; CSV→JSON treats the first row as keys. Supports comma, semicolon and tab delimiters. Nested objects are auto-serialized.

Delimiter
Input
Output

What JSON formats are supported?

Arrays of objects are supported — the most common format, e.g. [{"a":1},{"a":2}]. Nested objects or arrays are serialized to a JSON string in the CSV cell, and preserved as strings when converting back.

What if objects have different fields?

JSON→CSV takes the union of all keys across all objects as headers. Missing fields for a given row are left empty. For best results, keep field names consistent across all objects.

What if a CSV field contains commas or newlines?

The tool follows RFC 4180: fields containing the delimiter, newlines, or double-quotes are automatically wrapped in double-quotes. Internal double-quotes are escaped as two consecutive double-quotes.

How are non-ASCII characters handled?

Downloaded CSV files use UTF-8 encoding with BOM, so Excel opens them without garbled text on Windows.