Skip to content

CSV to JSON

Turn CSV or TSV into a JSON array

CSV input

Paste CSV or drop a .csv file

JSON output

JSON appears here

How to use

  1. Paste CSV or TSV text, or upload a file.
  2. Check the detected delimiter and whether the first row is a header.
  3. Copy or download the JSON array.

About CSV to JSON

The parser follows RFC 4180: quoted fields may contain delimiters, quotes and line breaks, and blank lines are skipped. With a header row each line becomes an object whose keys are the column names. Convert the other way with the JSON to CSV converter.

Frequently asked questions

The tool looks at the first rows and picks the separator (comma, semicolon, tab or pipe) that produces consistent columns. You can override it if the guess is wrong.