Skip to content
DevKOM

CSV to JSON

Paste CSV or TSV to get JSON. Use the first row as keys, or output arrays. Quoted values containing commas, quotes and line breaks are handled correctly.

Output
JSON output

How to convert CSV to JSON

  1. Paste your CSV data or open a .csv file from your device.
  2. Tell the tool whether the first row contains column names, and pick the delimiter.
  3. Optionally turn numbers and booleans into JSON types.
  4. Copy the JSON or download it as a file.

Frequently asked questions

What happens with malformed CSV?

The converter still produces output where it can and lists each problem, such as a missing closing quote or a row with the wrong number of fields, with its row number.

Can I convert TSV or semicolon-separated files?

Yes. Choose tab, semicolon or pipe as the delimiter, or leave it on Auto-detect.

More in Code & Data.