CSV to JSON

CSV Input

0 rows · 0 columns

JSON Output

JSON output will appear here...
No output

About CSV to JSON

How It Works

CSV (Comma-Separated Values) data is parsed row by row. When "First row as headers" is enabled, the output is an array of objects keyed by header names. Otherwise, it produces an array of arrays.

Quoted Fields

Fields containing delimiters, newlines, or double quotes can be wrapped in double quotes. Escaped quotes within a field use two consecutive double quotes ("").

Common Delimiters

  • Comma — most common (RFC 4180)
  • Semicolon — common in European locales
  • Tab — TSV files
  • Pipe — used in some data exports

Tips

  • Use the preview table to verify parsing
  • Toggle "First row as headers" to switch between object and array output
  • Upload .csv files directly or paste from a spreadsheet