XLSX to CSV
Published Updated
Save one worksheet of an .xlsx or .xls file as CSV, or every sheet as its own CSV inside a ZIP, separated by commas, semicolons, tabs or pipes. Cells are written the way Excel displays them, so $12.50 stays $12.50.
What you see is what gets written
The tool reads the workbook with SheetJS and writes each cell's displayed text, not its raw value. Measured with the same library version the page uses, 0.20.3:
| Cell in Excel | Format | In the CSV |
|---|---|---|
| 12.5 | "$"#,##0.00 | $12.50 |
| 1234.5 | #,##0.00 | "1,234.50" (quoted, since it holds a comma) |
| 0.15 | 0% | 15% |
| 0.3333333 | 0.00 | 0.33 |
| 27 October 2026 | m/d/yy | 10/27/26 |
| 5 January 2026 | yyyy-mm-dd | 2026-01-05 |
| =C2*2 with a saved result of 25 | General | 25 |
Excel's own Save As CSV also writes one sheet at a time; Microsoft's text import and export page warns that only the current worksheet is saved. Here All Sheets does them in one go.
Rows and cells that surprise people
- Hidden rows and columns are exported. The SheetJS CSV options skip them only with
skipHidden, which this tool does not set. - Blank rows inside the data stay as lines of bare delimiters, because
blankrowsdefaults to true. The on-screen preview leaves them out, so its row count can be lower than the file's. - Merged cells keep their text in the top-left cell; the other cells of the merge are empty fields.
- Line breaks inside a cell are kept, with the value in double quotes as RFC 4180 describes. Rows themselves end with a line feed rather than the RFC's CRLF, which a strict importer may reject.
Exporting sheets to CSV
Step 1
Open the workbook
Choose an .xlsx or .xls file. The tool lists its sheets, hidden ones included, and shows the first 20 rows of the first sheet.
Step 2
Pick sheet and delimiter
Select one sheet or All Sheets (as .zip), then comma, semicolon, tab or pipe. Untick Include header row to leave out the first row.
Step 3
Download
One sheet saves as workbook-Sheet.csv; all sheets save as workbook.zip with one CSV per sheet, each named after its tab.
Choosing a delimiter
Comma is the separator RFC 4180 defines. Semicolon suits systems that write decimals with a comma, the setup that Microsoft notes makes Excel itself use a semicolon as its list separator. Tab and pipe are for data whose values contain both. With semicolon chosen, a value such as "a, b" no longer needs quotes, and the tool leaves them off.
Going the other direction, CSV to Excel builds an .xlsx from a CSV, and Excel to PDF prints a sheet as a table.
Questions about XLSX to CSV
Can I export every sheet at once?
Yes. Choose All Sheets (as .zip) and each tab becomes its own CSV inside one ZIP, named after the tab, with the same delimiter and header setting for all of them. Hidden sheets are part of the list too.
Why does my CSV have fewer decimals than the cell?
The CSV holds each cell as formatted on screen, not the value stored underneath. A cell showing 0.33 for one third is written as 0.33. Set the number format in Excel to show every digit you need before exporting.
Are formulas kept?
No, CSV has no formulas. Each formula cell contributes the result Excel saved with the file. A workbook made by a script that never stored results can give the formula text instead, for example =C4*2.
Are hidden rows and columns left out?
No. Rows and columns that are hidden in Excel are written to the CSV like any others. Delete them in the workbook first, or remove the lines afterwards, if they hold data that should not be shared.
What does Include header row do?
Unticked, it removes the first line of the CSV, whatever that row holds. If a cell in the first row contains a line break, only the part before the break goes, and the rest stays behind at the top of the file.
Why does Excel show strange characters when I open the CSV again?
The file is UTF-8 without a byte order mark. For such files Microsoft advises opening them from Excel's Data tab with From Text/CSV rather than by double-clicking. To get a workbook back instead, use CSV to Excel.