CSV to JSON Converter
Convert CSV data to JSON format instantly. Paste your CSV or upload a file.
How to Convert CSV to JSON
- Upload or paste CSV — click "Upload CSV" to select a .csv file, or paste CSV data directly into the input box.
- Set the delimiter — choose Comma, Tab, Semicolon, or Pipe to match your CSV format.
- Check "First row is header" — if your CSV has column names in the first row, keep this checked for named JSON properties.
- Click "Convert to JSON" — the JSON array appears in the output box below.
- Copy or Download — click "Copy JSON" or "Download JSON" to save the result.
Frequently Asked Questions
How do I convert CSV to JSON? ▼
Paste your CSV data into the input box (or upload a .csv file), ensure "First row is header" is checked if your CSV has column names, select the correct delimiter, and click "Convert to JSON". The formatted JSON array appears instantly in the output box.
What delimiters are supported? ▼
Four delimiters are supported: Comma (,) for standard CSV files, Tab for TSV (tab-separated values), Semicolon (;) common in European CSV exports (used by Excel when the locale decimal separator is a comma), and Pipe (|) for pipe-delimited files.
What does "First row is header" mean? ▼
When checked, the first row becomes the JSON property names. For example, with headers "name,age,city", each row becomes an object like
{"name": "John", "age": "30", "city": "London"}. When unchecked, each row becomes a plain array of values.Can I convert an Excel file to JSON? ▼
This tool converts CSV, not Excel .xlsx directly. To use it: in Excel go to File → Save As → CSV. In Google Sheets go to File → Download → Comma Separated Values. Then upload or paste the CSV here.
Is my data sent to a server? ▼
No — all conversion happens in your browser. Uploaded files and pasted data are never sent to any server, making it safe for confidential or sensitive spreadsheet data.
What if my CSV has commas inside field values? ▼
This tool handles RFC 4180 quoted CSV: if a field contains a comma, it should be wrapped in double quotes in the CSV, e.g.
"Smith, John". The parser correctly handles quoted fields and escaped quotes (two consecutive double quotes represent a literal double quote).