Convert Excel to CSV without uploading the workbook
Many programs, databases and online shops import CSV but not Excel workbooks. This converter opens an .xlsx or .xlsm file in your browser, reads the cells of the sheet you pick and writes them as a CSV file: one line per row, one field per column. You choose the delimiter, the date format and the line endings, see the first rows in a table and download the result. With All sheets, every sheet becomes its own CSV file inside one ZIP.
The workbook is never uploaded. Your browser unpacks it and converts it in a background thread, so the page stays responsive even with big files. To go the other way, use CSV to Excel. For data that should end up in code, Excel to JSON reads the same workbooks.
What ends up in the CSV
An .xlsx file stores the value of each cell and, separately, its number format, which Microsoft describes as changing only how a value looks, not the value Excel calculates with (Available number formats in Excel). The CSV gets the stored value:
| In Excel you see | Stored in the file | In the CSV |
|---|---|---|
| $1,234.50 | 1234.5 with a currency format | 1234.5 |
| 5% | 0.05 with a percent format | 0.05 |
| 0.3 | 0.30000000000000004 | 0.3 |
| 10/23/2026 | 46318 with a date format | 2026-10-23, or the style you pick |
| 36:00:00 | 1.5 with the format [h]:mm:ss | 36:00:00 |
| TRUE | A true or false value | TRUE |
| #N/A | An error value | #N/A |
| The result of =SUM(B2:B9) | The formula and its last result | The result |
| 02134 | Text | 02134 |
Numbers are written with up to 15 significant digits, the precision Microsoft lists for Excel in Excel specifications and limits, so a value stored as 0.30000000000000004 comes out as 0.3, as Excel shows it. A merged cell keeps its value in the first cell of the range and leaves the others empty; switch on Repeat merged cell values to copy it into every cell of the range. Hidden rows and columns are exported like all others. The CSV starts at the first row and column that hold a value, so a table that begins in cell B3 starts at the top left of the CSV.
Dates and the two Excel date systems
Excel saves a date as a serial number that counts days, and the time of day as the fraction of a day. Microsoft explains in Date systems in Excel that workbooks use one of two systems: the 1900 date system, the default of Excel for Windows, Excel 2016 for Mac and Excel for Mac 2011, and the 1904 date system of earlier versions of Excel for Mac. The same date has a serial number 1,462 days higher in the 1900 system. The converter reads which system your workbook uses, so dates come out right in both.
A cell counts as a date when its number format shows a date or a time. The 1900 system also contains February 29, 1900, a day that never existed: Microsoft keeps it for compatibility with Lotus 1-2-3. The converter writes serial number 60 as 1900-02-29, as Excel shows it, and every later date correctly. Pick Excel serial number to get the raw numbers instead.
Neutralize formulas: why it matters
When a CSV file is opened in a spreadsheet program, a field that starts with an equals sign can run as a formula. The OWASP page on CSV injection lists =, +, - and @ as the risky first characters, along with tab, carriage return and line feed, and names what an attacker can do with it, such as taking the contents of the spreadsheet or of other open spreadsheets. One of its suggestions is a single quote in front of such fields.
Neutralize formulas does that for text cells, including the full-width variants of these characters that OWASP mentions. Real numbers like -5 stay numbers. Switch it on when the workbook holds text that people outside your team typed in, such as form answers or comments, and the CSV goes to someone who will open it in a spreadsheet. Leave it off when the CSV feeds a database or a script, because the quote becomes part of the value there.
Opening the CSV in Excel again
Microsoft support says Excel opens a UTF-8 CSV file normally when the file was saved with a byte order mark (Opening CSV UTF-8 files correctly in Excel). Add BOM for Excel puts that invisible mark at the start of the download, so names like Zoë or 田中 come through. Turn it off for scripts and databases. Copy CSV never includes it.
The quoting follows RFC 4180: a field with the delimiter, a double quote or a line break is wrapped in double quotes, and quotes inside are doubled.
Which files work
- .xlsx, the Excel Workbook format, and .xlsm, the macro-enabled workbook. Both are ZIP packages of XML parts, as Microsoft shows in Structure of a SpreadsheetML document, following the ECMA-376 Office Open XML standard. Macros in an .xlsm file are never run; only the cell values are read.
- Not .xls. Microsoft describes the Excel 97 to 2003 format as a binary file format (File formats that are supported in Excel, [MS-XLS]). This tool does not read it. Save the file as .xlsx first.
- Not password-protected workbooks, binary workbooks (.xlsb) or OpenDocument spreadsheets (.ods). The tool recognizes them and tells you what to do.
How big a workbook can be depends on the memory of your device: the whole file and the sheet you convert have to fit into it. Laptops handle far bigger files than phones. The work runs in the background, so the page stays usable while it does.
How to convert Excel to CSV
- 1Drop your .xlsx file on the box or browse for it. The first sheet appears in the preview.
- 2Pick a sheet, or All sheets for a ZIP. Choose the delimiter, the date style and the line endings.
- 3Check the preview, then download the CSV or copy it.
Guides on this topic
- CSV Shows Wrong Characters in Excel: The UTF-8 BOM Fix
- Excel's 1,048,576 Row Limit and How to Open a Bigger CSV
Frequently asked questions
Is my workbook uploaded?
No. Your browser unpacks the .xlsx file and writes the CSV on your own device, in a background thread. Nothing is sent to a server, so payroll sheets, customer lists and bank exports stay private.
Can I convert every sheet at once?
Yes. Pick All sheets in the Sheet list and you get a ZIP file with one CSV per sheet, named after the sheets. Hidden sheets are included and marked as hidden in the list. Chart sheets hold no cells, so they are left out.
Why does my CSV show 1234.5 when Excel shows $1,234.50?
The cell holds the number 1234.5, and the currency format only changes how Excel displays it. The CSV gets the stored number, without currency signs, thousands separators or percent signs, so other programs can calculate with it. A cell that shows 5% holds 0.05. Dates are the exception: they are written as dates in the style you pick.
What happens to formulas?
Each formula cell is exported with the result Excel saved the last time the file was calculated, the same value you see in the cell. The formula itself is not exported. If a file was made by a program that saves formulas without results, those cells stay empty and the tool tells you how many there are; open and save the file in Excel or another spreadsheet program once to store the results.
Can I convert an old .xls file?
No. Files from Excel 97 to 2003 (.xls) use a binary format, which this tool does not read. Open the file in your spreadsheet program, save it as Excel Workbook (.xlsx) and drop that file here. The same goes for password-protected workbooks: remove the password first.
Which delimiter should I pick?
Comma is the separator RFC 4180 describes and the one most programs and imports expect. Choose semicolon if your spreadsheet program puts every value into column A when it opens a comma-separated file, tab for pasting into other tools, and pipe when your data is full of commas and semicolons.