CSV to JSON Converter

Paste your CSV or upload a file to convert it to a JSON array instantly. Auto-detects comma, semicolon, and tab delimiters. All processing in your browser.

Options

CSV Input

JSON Output

What is a CSV to JSON Converter?

A CSV to JSON converter transforms tabular data from comma-separated values format into JSON (JavaScript Object Notation). JSON is the standard data format used by REST APIs, web applications, databases like MongoDB, and data pipelines. Converting CSV exports from Excel, Google Sheets, or database tools to JSON makes the data directly usable in code.

Calcon's CSV to JSON Converter automatically detects your delimiter, converts data types (numbers stay as numbers), and handles quoted fields with embedded commas or newlines — all in your browser without any server upload.

How to Convert CSV to JSON

  1. Paste your CSV into the left panel or click Upload to upload a.csv or .tsv file.
  2. The JSON output appears instantly. The delimiter is auto-detected from your data.
  3. Adjust options: toggle First row is headers, Detect types, and Pretty print.
  4. Choose output format: Array of objects (default) orObject with key for lookup tables.
  5. Click Download to save the .json file orCopy to copy to clipboard.

Example Conversion

Input CSV:

name,age,city,active
Alice,30,Mumbai,true
Bob,25,Delhi,false
Carol,35,Bangalore,true

Output JSON (with type detection):

[
  { "name": "Alice", "age": 30, "city": "Mumbai", "active": true },
  { "name": "Bob",   "age": 25, "city": "Delhi",  "active": false },
  { "name": "Carol", "age": 35, "city": "Bangalore", "active": true }
]

Frequently Asked Questions

How do I convert CSV to JSON?

Paste CSV data into the left panel or upload a .csv file. JSON output appears instantly. Click Download to save as .json or Copy to copy to clipboard.

What CSV formats are supported?

CSV (comma), TSV (tab), semicolon-separated, and pipe-separated files. Delimiter is auto-detected. Quoted fields with embedded commas are handled correctly.

How does type detection work?

Numbers become numbers (30 not "30"), booleans become booleans (true/false), empty stays empty. Disable to keep all values as strings.

What is the "Object with key" output format?

Creates a JSON object keyed by a column you choose, instead of an array. Useful for lookup tables: {"alice": {"name":"alice","age":30}} instead of [{"name":"alice","age":30}].

Can I convert an Excel file to JSON?

First export your Excel file as CSV (File → Save As → CSV). Then paste the CSV here or upload the .csv file to convert it to JSON.

Is my data safe?

Yes. All conversion happens entirely in your browser. Your CSV data is never uploaded to any server.

Related Text Tools