CSV to JSON Converter
Convert CSV to JSON and back, with quoted fields handled properly.
About this csv to json converter
CSV looks simple until a field contains a comma, a quote or a newline. Then the naive split-on-comma approach that everyone writes first quietly corrupts your data, usually somewhere in the middle of a large file where you will not notice.
This uses a real parser: quoted fields, escaped quotes, embedded newlines and configurable delimiters all work the way the RFC 4180 convention says they should. It converts in both directions.
How to use it
- Paste your CSV, or switch direction and paste JSON.
- Set the delimiter if it is not a comma — tab and semicolon are common.
- Choose whether the first row is a header.
- Copy the result, or download it as a file.
CSV to JSON Converter — FAQ
How are quoted fields handled?
Correctly. A field wrapped in double quotes may contain commas, newlines and doubled quotes ("") as an escaped quote, per the usual CSV convention.
What if my file uses semicolons?
Set the delimiter to semicolon. Many European locales export that way because the comma is used as a decimal separator.
Does it handle very large files?
It parses in memory, so a few megabytes is fine but a hundred-megabyte export will struggle. For files that size, use a script.
Is my data uploaded?
No. Parsing happens entirely in your browser, which makes it safe for exports containing customer or financial data.