Convert Excel to CSV Online
Save one sheet of an Excel workbook as CSV, with the delimiter you choose, without opening Excel. The workbook is opened 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 Excel to CSV
Three steps from budget.xlsx to CSV.
1. Drop the workbook
Drop an .xlsx, .xls, .xlsm or .xlsb file, or paste cells copied from Excel.
2. Check it in the grid
Pick the right tab: only the active sheet goes into the CSV. Then delete helper columns or a totals row you don't want exported.
3. Choose a delimiter
Comma, semicolon, tab or pipe. The text updates as you switch; copy it or download data.csv.
Example: Excel in, CSV out
A quarterly budget sheet whose Total column sums the three months with =SUM(B2:D2).
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Category | Jul | Aug | Sep | Total |
| 2 | Rent | 1200 | 1200 | 1200 | =SUM(B2:D2) |
| 3 | Software | 340 | 355 | 410 | =SUM(B3:D3) |
Category,Jul,Aug,Sep,Total
Rent,1200,1200,1200,3600
Software,340,355,410,1105Total is exported as its results (3600 and 1105), not as =SUM(B2:D2). Formatting, comments and the Q2 sheet are dropped: CSV stores the values of one sheet only.
What changes between Excel and CSV
Quoting
A value is put in double quotes only when it contains the delimiter, a double quote or a line break, with inner quotes doubled. None of the sample values need it, so the output has no quotes at all.
Delimiter
Comma is the default. Semicolon is what Excel expects in locales that use a decimal comma (Germany, France, Brazil and others); Tab gives a TSV that pastes cleanly into spreadsheets; Pipe is handy when the data is full of commas.
Formulas become results
The grid calculates formulas, so Total gets the result (3600), not the formula text (=SUM(B2:D2)). Values are taken as the grid shows them, so check date and number columns there first.
When to convert Excel to CSV
- Importing workbook data into a tool that only accepts CSV, such as a CRM, a mailing tool or a bank upload.
- Getting a semicolon-separated file for a system set up for a European locale.
Excel to CSV in JavaScript
TabularJS reads every sheet; the snippet picks one by name. Then each field is quoted only where CSV needs it.
import tabularjs from 'tabularjs';
const { worksheets } = await tabularjs('budget.xlsx');
const sheet = worksheets.find((ws) => ws.worksheetName === 'Q3');
const [header, ...rows] = sheet.data; // Total arrives as "=SUM(B2:D2)"
const field = (v) => {
const s = String(v ?? '');
return /[",\n]/.test(s) ? `"${s.replace(/"/g, '""')}"` : s;
};
console.log([header, ...rows].map((row) => row.map(field).join(',')).join('\n'));Unlike this page, TabularJS does not calculate formulas: Total comes back as "=SUM(B2:D2)". Dates arrive as serial numbers (45414 is 2024-05-02).
Frequently asked questions
Why not just use Save As CSV in Excel?
You can. This page helps when you don't have Excel at hand, need a delimiter your Excel locale won't give you, or want to fix a few cells first and see exactly what will be written.
Can I get a semicolon-separated CSV?
Yes. Pick Semicolon in the Delimiter menu. Values that contain a semicolon are quoted automatically.
My workbook has several sheets. Which one is converted?
The one whose tab is active in the grid (the first sheet when the file opens). Click another tab to convert that sheet to CSV instead.
Which delimiter should I pick for Excel?
Comma works in English-language Excel. If your Excel uses a comma as the decimal separator, it expects semicolons, so pick Semicolon or the whole row lands in column A.
Does budget.xlsx get uploaded when I convert it to CSV?
No. The workbook is opened in your browser and never uploaded.