πŸ“Š CSV ↔ JSON Converter

Convert CSV to JSON or JSON to CSV instantly. Supports comma, tab, semicolon, and pipe delimiters. Download the result as a file. 100% browser-based β€” your data never leaves your device.

Developer✓ 100% Free✓ Both Directions✓ No Upload

How to Use

1
Select conversion direction

Click "CSV β†’ JSON" or "JSON β†’ CSV" depending on what you need.

2
Paste your data

Paste CSV or JSON into the left panel. The output appears instantly on the right.

3
Copy or download

Click Copy to copy the output to your clipboard, or Download to save it as a file.

Frequently Asked Questions

How do I convert CSV to JSON?
Paste your CSV data into the left panel (make sure "CSV β†’ JSON" mode is selected) and the JSON output appears instantly on the right. Click Download to save the JSON file.
Can I convert JSON back to CSV?
Yes. Click "JSON β†’ CSV" to switch modes, paste your JSON array of objects, and the CSV is generated instantly. The first row of the CSV contains the field names from the JSON objects.
What delimiters are supported?
Comma (the standard), Tab (for TSV files), Semicolon (common in European spreadsheet exports), and Pipe. Select the delimiter that matches your CSV file.
Does this handle CSV files with quoted fields?
Yes. Fields containing commas or newlines that are wrapped in double quotes are correctly parsed, including escaped quotes within quoted fields.
Is my data sent to a server?
No. All conversion happens entirely in your browser using JavaScript. Your CSV and JSON data never leave your device.

About This Tool

CSV (Comma-Separated Values) and JSON (JavaScript Object Notation) are the two most common formats for tabular data exchange. CSV is widely used in spreadsheets, database exports, and data science workflows. JSON is the standard for web APIs, configuration files, and modern data pipelines. This converter handles the most common conversion scenarios: CSV with a header row becomes a JSON array of objects (each row becomes an object with keys from the header), and a JSON array of objects becomes a CSV with field names as the header row. All processing happens in the browser using JavaScript string parsing.

Related Tools