Excel to CSV
Export every sheet of a workbook as CSV.
Updated
Add your files
XLSX, XLS, ODS
How to convert Excel to CSV
- 1
Add one or more .xlsx, .xls or .ods workbooks.
- 2
Choose Sheets: Every sheet for one CSV per sheet, or First sheet only.
- 3
Press Convert to CSV and download the files. When more than one CSV is produced, a sheets.zip holding all of them is offered as well.
- Use CSV to Excel when you have the CSV and want it back as an .xlsx workbook.
- Use Excel to PDF when the sheet should become a page people read rather than data another program loads.
Every sheet becomes its own file
The workbook is opened in your browser, .xlsx, .xls and .ods alike, and each sheet in the Sheets choice is written out as a comma-separated UTF-8 text file: one line per row, one field per cell, with the row and column structure of the sheet kept but nothing else. A sheet without content is left out. With two or more CSVs in the result they are listed one by one and also packed into sheets.zip, so a workbook of twelve monthly tabs comes down in one click. The result shows how many sheets were exported.
What a CSV can and cannot carry
CSV holds values and nothing more. Every cell is written as the text its number format produces, which is what you see in the sheet, so a currency cell keeps its symbol and a percentage its sign, and a program reading the file later will treat them as text unless it parses them. Formulas are replaced by their stored results, and a workbook saved without calculated values gives empty cells where the formulas were. Styles, comments, charts, images, data validation and frozen panes are not part of the output. Nothing is uploaded: the workbook is read and the CSV files are written on your device.
Questions about Excel to CSV
How are the files named?
After the workbook, with the sheet name added when more than one sheet is chosen: report.xlsx with the sheets Sales and Costs gives report-sales.csv and report-costs.csv, the sheet name in lower case with every run of characters other than letters and digits turned into one hyphen. With a single sheet, or First sheet only, the file is report.csv.
What happens to formulas, dates and formatting?
A formula cell is written as the value the workbook last stored for it, not the formula. Values are written as the cell's number format shows them, so a date and a number with two decimals come out the way they appear in the sheet. Bold, colours, column widths, merged cells and charts have no place in a CSV and are dropped; a merged cell's value appears once, in its first cell. Fields that contain a comma, a quote or a line break are quoted.
Why is a sheet missing?
A sheet with no content at all is skipped, so a workbook whose extra sheets are empty gives fewer files than it has tabs. If no sheet has content, the run stops with "No sheets contained data." Hidden sheets are exported like any other.
Advertisement