CSV to JSON converter

Turn CSV rows into JSON with the headers and value types you choose.

Choose or drop a file
CSV, TXT · at most 16 MB

What this converter does

CSV stores rows of values separated by a delimiter. JSON represents structured values with names and types, which is useful when a program or API expects JSON rather than a table file.

With the header option on, this converter uses the first row as the field names and creates a list of records. With headers off, it creates row arrays instead. Quoted commas and line breaks stay inside their field values.

Choose the delimiter and encoding that match the source. The number-conversion option controls whether suitable numeric text becomes a JSON number or stays text.

How to convert your file

  • Choose the CSV file and its delimiter or encoding options.
  • Choose whether the first row contains headers.
  • Turn number conversion off when you need all values to stay text.
  • Select Process, then download the JSON.

Which format should I choose?

  • JSON: choose it when the receiving program expects a list of records or row arrays.
  • CSV: keep this format when the receiving system expects a delimited table.
  • JSONL: use CSV to JSONL when each record needs its own line.

Results from our test files

Our larger table contained 1,000 records. With number conversion off, the JSON kept the reference 000000 and decimal text 0.50 as text.

The input was 47.87 KB and the JSON was 162.02 KB. The comparison includes quoted commas and line breaks inside fields.

  • Thousand-row table with text values

    Original size
    47.87 KB
    Output
    JSON
    Converted size
    162.02 KB
    Conversion and check
    0.672 s

Results from our test files. Recorded . Times include conversion and checking; upload, waiting and download times are separate.

Limits and troubleshooting

The upload limit is 16 MB. Limits also apply to rows, columns, cells and output size; a complex file can reach them before the upload-size limit.

Wrong characters point to an encoding mismatch, and unexpected columns point to a delimiter or quoting problem. Use the matching options, and read any note about guessed encoding, renamed headers or uneven rows.

FAQ

Questions about this tool

Will leading zeroes and decimal text stay unchanged?
Yes, when number conversion is off. This is the safest choice for identifiers and values whose exact text matters; converting a decimal to a number can change its written form.
Can a field contain commas or line breaks?
Yes, correctly quoted CSV fields can contain both. The converter reads the field as a whole and escapes the content as needed in JSON.
Does JSON keep spreadsheet formatting?
CSV does not store workbook styling, and the JSON contains values rather than an Excel-style sheet layout. Use CSV to XLSX if you need a workbook file.
Can I upload several CSV files together?
This converter takes 1 CSV file at a time. It does not combine separate files into one dataset.
Who can download my converted data?
Your download is access-controlled, and uploaded files are removed after processing. A single-file result is normally available for 30 minutes after it is ready. Limited processing information, such as format, size and status, can remain separately. Read the Privacy Policy.
Can I use it without a paid plan?
2 free jobs before sign-in + 2 after. Failed conversions are not counted against the allowance.

Related tools

All Data tools