CSV to JSON

Convert CSV data to a JSON array. Supports custom delimiters, quoted fields, and header detection.

CSV Input
JSON Output

JSON output will appear here

Ready
Paste CSV and convert to JSON
0
Rows
0
Columns
0 B
JSON Size
Free Converter Tool

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

  1. Paste your CSV data or click the folder icon to open a file.
  2. Choose the delimiter that matches your CSV (comma is the default).
  3. Enable First row as headers to use header names as JSON keys.
  4. Optionally enable auto-detection of numbers and booleans.
  5. Click Convert to JSON.
  6. Copy or download the .json file.

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.