At One Place

CSV to JSON converter

Convert CSV to a JSON array of objects, or JSON back to CSV.

How it works

Converts CSV into a JSON array of objects using the first row as keys, and converts JSON arrays back into CSV.

The parser handles quoted fields properly, which is the part naive splitting gets wrong. A field wrapped in double quotes may contain commas, line breaks and escaped quotes (written as two double quotes), and splitting on commas destroys all three. Any CSV containing addresses or free text will hit this.

The delimiter is configurable, since semicolon-separated files are the norm in locales where the comma is the decimal separator.

This tool runs entirely in your browser. Nothing you enter is sent to a server, logged or stored, and the page keeps working with the network disconnected.

Common questions

Does it handle commas inside quoted fields?
Yes. Quoted fields may contain commas, newlines and escaped quotes, and are parsed correctly rather than split naively.
My file uses semicolons — will it work?
Yes, set the delimiter to semicolon. That format is standard wherever the comma is used as the decimal separator.

Related pages