What it does
Excel stores dates as serial numbers and drops leading zeros unless the cell is formatted. With formatted values on, the CSV keeps what you actually see in Excel.
| Order date | ZIP | Amount |
|---|---|---|
| 45295 | 2134 | 1450 |
| 45296 | 7302 | 380 |
Order date,ZIP,Amount
04-01-2024,02134,"1,450.00"
05-01-2024,07302,380.00 Watch how it works
How to convert an Excel file to CSV
- Drop your
.xlsxor.xlsfile above. - Pick the sheet you need. Choose All sheets to get a zip with one CSV per sheet.
- Check the preview, then click Download CSV.
Doing it in Excel itself
If you only have one sheet, Excel can do this too: File → Save As, then pick CSV UTF-8 (Comma delimited). Excel only saves the sheet that's open, and warns that other sheets will be lost. Each sheet has to be saved separately.
This tool is quicker when a workbook has many sheets, when you're on a computer without Excel, or when you need a semicolon-separated file.
Comma or semicolon?
In countries that write decimals with a comma (much of Europe and South America), Excel expects semicolons in CSV files. If your file opens with everything squeezed into column A, export again with Semicolon.
What a CSV can't keep
A CSV is plain text, so formulas, colours, merged cells, charts and multiple sheets are lost. Formulas are saved as their current results. Keep the original workbook if you might need any of that later.
Questions
Which Excel files are supported?
Modern .xlsx and .xlsm workbooks, older .xls files, and OpenDocument .ods files. Password-protected workbooks need to be unlocked in Excel first.
How large a workbook can I convert?
Workbooks up to about 100–200 MB convert comfortably. An .xlsx file is a compressed package that has to be unpacked fully in memory, and a single sheet can hold at most 1,048,576 rows anyway. For larger data, export CSV from the source system and use the Large CSV viewer or SQL on CSV, which handle files of several gigabytes.
Is my workbook uploaded?
No. The workbook is opened by a library running inside this page, so it never leaves your computer.
Can I export every sheet at once?
Yes. Choose “All sheets” and you will get one CSV per sheet, packed into a single .zip file.
Why do dates look like numbers such as 45291?
That is how Excel stores dates internally. Keep “Use formatted values” on and the dates are written exactly as they appear in Excel.
Will leading zeros be kept?
Yes, as long as the cell is stored as text in Excel, or uses a number format that shows the zeros. The CSV gets the value as Excel displays it.