CSV to JSON Converter
Convert CSV files or pasted data to a JSON array instantly. Supports quoted fields, custom delimiters and pretty-print output. Free, browser-based.
💻 Developer Tools
Free
Browser-based
What This Tool Does
The CSV to JSON Converter parses any delimiter-separated data and produces a JSON array. When the first row is a header, each row becomes a JSON object with named keys. Without a header, each row becomes an array of values. Quoted fields, fields containing the delimiter, and escaped quotes are all handled correctly.
Supported Delimiters
| Delimiter | Symbol | Common source |
|---|---|---|
| Comma | , | Excel, Google Sheets, standard CSV |
| Semicolon | ; | European locale Excel exports |
| Tab | \t | TSV files, copied spreadsheet cells |
| Pipe | | | SQL dumps, custom exports |
Output Format
With headers enabled, output is an array of objects: [{"name":"Alice","age":"30"}]. Without headers, output is an array of arrays: [["Alice","30"]]. Choose Minified indent for the most compact output, or 2/4 spaces for readable indented JSON.