CSV to JSON Converter
Paste CSV — get clean JSON. Quoted fields, escaped quotes and embedded newlines all handled correctly.
How to use
- Paste CSV on the left. Comma, tab or semicolon separators are auto-detected.
- Keep First row is header on for named objects; turn it off for arrays of arrays.
- Click Convert — valid quoting (RFC 4180) is applied, so multi-line cells survive intact.
Frequently asked questions
How does this converter handle quoted CSV fields?
Fields wrapped in double quotes can contain commas, newlines and escaped quotes (doubled double-quotes). This parser implements the RFC 4180 quoting rules, so Excel-style exports convert correctly instead of breaking rows apart.
Does the first row become JSON keys?
Yes — if the first row contains column names, each data row becomes a JSON object keyed by those names. If your CSV has no header, toggle the option and you get arrays of values instead.
Can I convert JSON back to CSV?
Yes — use our companion JSON to CSV converter, which handles the reverse direction including proper re-quoting of values that contain commas or quotes.