CSV ↔ JSON Converter

Paste CSV to get a JSON array of objects, or paste JSON to get CSV back. Delimiter auto-detect, quoted fields with embedded commas and newlines, and a live preview table.

Preview (first 20 rows)

No data yet
How it works: the delimiter (comma, semicolon, or tab) is auto-detected from the header row. Quoted fields follow RFC 4180, so embedded commas, doubled quotes (""), and even newlines inside quotes are handled. Going the other way, JSON objects are flattened one level with dot notation (address.city becomes a column named address.city) and the column set is the union of all keys. Numbers and booleans in CSV cells stay as strings by design, so IDs like 007 and zip codes keep their leading zeros. Everything runs locally, nothing is uploaded.