Skip to content

CSV to JSON Converter

Convert CSV data to JSON — and JSON arrays back to CSV. Quoted fields, embedded delimiters, and line breaks are handled correctly, and nothing leaves your browser.

Direction

Frequently Asked Questions

How do I convert CSV to JSON?
Paste your CSV into the input box with the CSV to JSON direction selected. If the first row contains column names, keep the header checkbox on and each row becomes a JSON object keyed by those names; turn it off and each row becomes a plain array of values.
Does the converter handle quoted fields with commas or line breaks?
Yes. The parser is a proper state machine, not a naive split on commas: quoted fields may contain delimiters, doubled quotes (""), and even embedded line breaks, exactly as the CSV standard (RFC 4180) allows.
Which delimiters are supported?
Comma, semicolon, and tab. By default the tool auto-detects the delimiter by counting which candidate appears most in your data, and you can override the detection manually — useful for European CSV exports, which often use semicolons.
How does JSON to CSV work?
Paste a JSON array of flat objects. The converter takes the union of all keys as the header row, then writes one CSV row per object, quoting any field that contains the delimiter, a quote, or a line break. Nested objects and arrays are not flattened — keep the objects flat.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser — nothing is sent to a server. You can copy the result to the clipboard or download it as a .json or .csv file directly.

Related Tools