CSV to JSON
Convert CSV to JSON, with quoted fields, line breaks in cells and the delimiter detected for you. Numbers and true/false can become real JSON types.
CSV to JSON converts comma, semicolon, tab or pipe separated data into a JSON array. It follows the CSV standard, so quoted fields, doubled quotes and line breaks inside cells are read correctly, and it can turn numbers and true or false into real JSON types.
What is a CSV file?
CSV
Comma-separated values: plain text where each line is a row and a delimiter splits the cells. Fields containing the delimiter, quotes or line breaks are wrapped in double quotes, as RFC 4180 describes.
Typed values
With typing on, 42 becomes a number, true becomes a boolean and an empty cell becomes null. Values with leading zeros such as 007, and very long digit strings, stay as text so nothing is lost.
Why use CSV to JSON?
- Reads real-world CSV. Exports from Excel, banks and databases often use semicolons, quotes and multi-line cells. The parser handles all of them.
- Delimiter detected. Comma, semicolon, tab or pipe is picked automatically from the first rows, or you can choose it.
- Private. Your data is converted in this tab and never uploaded.
How to use CSV to JSON, step by step

- Paste your data into CSV to JSON. Copy cells straight from a spreadsheet, which pastes as tab-separated text, or paste a CSV file.
- Check the options. Say whether the first row is a header, whether to type values, and pick objects or arrays.
- Copy or download the JSON. The output updates as you type and downloads as data.json.
Frequently asked questions
What if a header is blank or repeated?
Blank headings become column_1, column_2 and so on, and repeats get a suffix such as name_2, so no data overwrites other data.
Why are some numbers kept as strings?
Numbers with leading zeros, such as postcodes, and integers too long to store exactly, such as card numbers, stay as text to keep them intact.
Does it handle rows with missing cells?
Yes. Short rows are padded with empty values so every object has the same keys.
Looking for the long version? The guides cover each of these jobs in depth.