CSV to JSON
Convert CSV data to a JSON array. Supports custom delimiters, quoted fields, and header detection.
JSON output will appear here
CSV to JSON Converter Online
Convert any CSV file or pasted CSV text to a clean JSON array instantly. Supports comma, semicolon, tab and pipe delimiters, automatic header detection, proper handling of quoted fields containing commas or newlines, and optional type coercion for numbers and booleans — all running locally in your browser.
How to convert CSV to JSON
- Paste your CSV data or click the folder icon to open a file.
- Choose the delimiter that matches your CSV (comma is the default).
- Enable First row as headers to use header names as JSON keys.
- Optionally enable auto-detection of numbers and booleans.
- Click Convert to JSON.
- Copy or download the
.jsonfile.
Features
- Supports comma, semicolon, tab, and pipe delimiters.
- Correctly handles quoted fields with embedded commas.
- Auto-detects numbers, booleans and null from string values.
- Pretty or minified JSON output.
- Open CSV files directly from your device.
- Download output as
.json.
Frequently Asked Questions
How are quoted CSV fields handled?
The parser correctly processes RFC 4180 quoted fields — fields wrapped in double quotes can contain the delimiter character, double quotes (escaped as two double quotes), and newlines without breaking the parsing.
What happens with empty fields?
Empty fields become an empty string "" in JSON by default. With type coercion enabled, they become null.
Is my data sent to a server?
No. All parsing and conversion runs entirely in your browser. Your CSV data never leaves your device.