From CSV to JSON
CSV is a table written as text: one line per record, values separated by a character. JSON is the exchange format of APIs and applications. The tool reads your CSV according to the RFC 4180 standard: a field can be in quotes to contain the delimiter or a line break, and a quote is doubled ("").
The delimiter can be detected automatically (comma, semicolon used by spreadsheets in many countries, tab, vertical bar) or chosen by hand. With the headers in the first row you get an array of objects; without them, an array of arrays.
From JSON to CSV
The expected JSON is an array of objects, or an array of arrays. The columns are all the keys found; a missing key gives an empty cell. A nested value (object or array) is written as JSON in its cell. Cells that contain the delimiter, a quote or a line break are wrapped in quotes.
Typed values and limits
By default, 42 becomes a number, true and false booleans, null a null value. Text in quotes always stays text. Untick the option to keep everything as text. Values with leading zeros, such as 007, always stay text. The file is limited to 20 MB and the preview to the first 100 rows.
Frequently asked questions
Is my data sent to a server?
No. The conversion happens in your browser: a file you open is read locally and nothing is sent. Only your settings are kept in the browser's storage, never your data.
Why do my accented characters display wrongly?
The file is read as UTF-8. A CSV exported from an old spreadsheet in Windows-1252 must first be saved again as UTF-8. The CSV downloaded from the tool is UTF-8 with a byte order mark, which spreadsheets recognize.
My CSV uses semicolons: what should I do?
Nothing: automatic detection recognizes them. You can also choose the delimiter by hand if the result looks wrong.
What does the tool do with rows shorter or longer than the header?
Missing cells are null in JSON, extra columns are given a name (column5…), and a warning tells you how many rows are irregular.