Convert CSV to Excel Online
Open a CSV as a spreadsheet and save it as a real XLSX workbook, without going through Excel's text import wizard. The CSV is read in your browser and never uploaded.
Drop a CSV or Excel file here
CSV · XLSX · XLS · XLSM · XLSB
Ready to download as a binary file.
How to convert CSV to Excel
Three steps from contacts.csv to an XLSX file.
1. Paste or drop the CSV
Paste CSV text or drop a .csv, .tsv or .txt file; the delimiter is detected.
2. Check it in the grid
Check that the columns split correctly. If everything sits in column A, the delimiter wasn't detected, usually because the first line looks different from the rest of the file.
3. Download XLSX
Click Download XLSX. The workbook (data.xlsx) is built from the grid as it is at that moment, in your browser.
Example: CSV in, Excel out
A semicolon-separated contact list, as exported by Excel in many European locales, with one phone number missing.
name;email;phone;city
Lee, Ana;[email protected];+44 20 7946 0958;London
Jonas Weber;[email protected];;Berlin| A | B | C | D | |
|---|---|---|---|---|
| 1 | name | phone | city | |
| 2 | Lee, Ana | [email protected] | +44 20 7946 0958 | London |
| 3 | Jonas Weber | [email protected] | Berlin |
The file uses semicolons, which the page detects from the first line, so the comma in Lee, Ana is just part of the name. The missing phone number stays an empty cell.
What changes between CSV and Excel
Built from the grid
The XLSX is made from the grid, row for row: the header row (name, email, phone, city) is row 1 and the first data row is row 2. The "First row as header" checkbox affects only text outputs, not the workbook.
Real workbook
You get an Office Open XML .xlsx file, not a CSV with a different extension, so Excel opens it without the text-import step and without asking about delimiters.
Detected delimiter: semicolon
The page counts commas, semicolons, tabs and pipes in the first line and splits on whichever appears most: 3 semicolons here. Quoted fields keep their delimiters and line breaks inside one cell.
When to convert CSV to Excel
- Sending data to someone who expects a workbook they can open with a double-click, not a text file.
- Turning a CSV you work with often into a file you can format, filter and add formulas to in Excel.
CSV to Excel in JavaScript
TabularJS reads the CSV into a 2D array. Writing the .xlsx is the part TabularJS leaves to a writer library.
import tabularjs from 'tabularjs';
// CSV values are strings; the header row stays in data[0]
const { worksheets } = await tabularjs('contacts.csv', { delimiter: ';' });
const [header, ...rows] = worksheets[0].data;
// TabularJS reads spreadsheets but does not write them.
// [header, ...rows] is the 2D array an XLSX writer takes; this page
// builds the file with Jspreadsheet and its @jspreadsheet/render extension.
console.log([header, ...rows]);TabularJS returns CSV values as strings and leaves the header in data[0]. It does not guess the delimiter: comma is the default, so the snippet passes { delimiter: ';' }.
Frequently asked questions
Do I need Excel installed?
No. The workbook is generated in your browser. You can open the .xlsx in Excel, LibreOffice Calc, Google Sheets or Apple Numbers.
Is there a row limit?
No fixed limit. The file is loaded into the grid in your browser, so very large files take longer, but nothing is cut off.
My CSV uses semicolons or tabs. Do I need to change anything?
No. Whichever of comma, semicolon, tab or pipe appears most often in the first line is used as the delimiter. The workbook is built from the cells, so the input delimiter doesn't matter after that.
Does the XLSX open in Google Sheets, LibreOffice or Numbers?
Yes. It is a standard .xlsx workbook, so Microsoft Excel, LibreOffice Calc, Google Sheets (File > Import) and Apple Numbers all open it.
Does contacts.csv get uploaded when I convert it to Excel?
No. The CSV is read in your browser and never uploaded.