CSV and JSON Converter

CSV to JSON and JSON to CSV right in the browser

Direction
Header

Conversion runs as you type. The delimiter is detected automatically: comma, semicolon or tab. Cells with quotes, delimiters and line breaks are supported per RFC 4180. Numbers are recognized automatically; values like «007» stay strings.

Why convert between CSV and JSON

CSV is a table stored as plain text: it is exported by Excel, databases and many services. JSON is the format of APIs and configuration files. There is no automatic bridge between them, and converting by hand takes time.

This page turns a table into an array of objects and back. The delimiter is detected on its own, column names come from the first row, and quotes and line breaks inside cells are handled per RFC 4180. Everything runs in the browser: the data never leaves your computer.

FAQ

Is the text sent to a server?

No. Conversion runs in the browser; the text never leaves your computer.

Which delimiters are supported?

Comma, semicolon and tab. In the “detect automatically” mode the delimiter is chosen from the first line of the text; you can also set it manually.

What happens to nested objects when going from JSON to CSV?

A table is flat, so a nested object or array is written into the cell as a JSON string.

How are quotes, delimiters and line breaks inside a value written?

Per RFC 4180: such a cell is wrapped in quotes, and a quote inside it is doubled. Converting back, the quotes are recognized and removed.