A database import screen, a CRM or a data pipeline asks for "a CSV file", and you have an Excel workbook. Saving as CSV looks like a one-click job until the importer complains about unexpected characters, splits a column in two, or you realise only one of your five sheets was exported.
This guide explains the choices hidden behind "Save as CSV": which sheet you get, delimiter, character encoding, byte order mark, line endings and whether numbers keep their formatting. Once you know what the receiving system expects, you can produce exactly that file, either from Excel itself or with a browser converter that lets you set every option explicitly.
The decisions inside a CSV export
CSV looks simple but has no single strict standard in practice. RFC 4180 describes the common form, and every program adds its own habits. These are the settings that matter.
Which sheet
CSV holds one table. When Excel saves a workbook as CSV it exports only the active sheet and warns that other sheets will not be saved. If you need every sheet, you must export them one by one, or use a tool that produces one CSV per sheet.
Delimiter
Comma is the default in English-speaking locales. In much of Europe, where the comma is the decimal separator, Excel uses the semicolon because that is the system's list separator. Tab-separated values (TSV) are handy for pasting into terminals and some analytics tools because tabs rarely appear inside data. A pipe (|) is common in older banking and logistics systems.
Encoding
UTF-8 can represent every language and is what most modern systems expect. Older Excel "CSV (Comma delimited)" output uses a regional code page instead, so characters outside that code page become question marks. Current Excel versions offer CSV UTF-8 (Comma delimited) as a separate format in the Save As list.
The byte order mark (BOM)
A BOM is three invisible bytes (EF BB BF) at the start of a UTF-8 file. Excel uses it to recognise UTF-8 when opening a CSV; without it, accented characters can appear garbled. Many programming tools, however, do not expect a BOM and may treat it as part of the first column name, so your header id becomes id. Add a BOM when a person will open the file in Excel; leave it off for scripts and databases.
Line endings
Windows uses carriage return plus line feed (CRLF); Linux and macOS use line feed (LF). Most importers accept both, but some strict tools and diffs care.
Displayed or raw values
A cell may contain 0.075 but display 7.5%, or contain a date serial but display 14/03/2025. Exporting the displayed text keeps things readable for people; exporting raw values is usually better for machines, as long as you know how dates will be represented.
Convert Excel to CSV in your browser
The Excel to CSV Converter opens .xlsx, .xlsm, .xls and .ods files with SheetJS in your browser, so the workbook is not uploaded.
- Open the Excel to CSV Converter and drop your workbook onto the upload area.
- Choose the Sheet, the Delimiter (comma, semicolon, tab or pipe) and the Line endings (Windows CRLF or Unix LF).
- Decide whether to keep Values as displayed, and whether to add a UTF-8 BOM (for Excel).
- Review the CSV text in the preview box.
- Click Download for the current sheet, All sheets (.zip) to get one CSV per sheet, or Copy to paste the text elsewhere.
Fields containing the delimiter, quotes or line breaks are wrapped in double quotes and inner quotes are doubled, so a note like Delivered, signed by "J. Smith" survives the round trip.
Doing it in Excel, LibreOffice or Google Sheets
Excel
Use File → Save As (or Save a Copy), and pick CSV UTF-8 (Comma delimited) (*.csv) from the file type list. Repeat for each sheet by activating it first. The delimiter follows your regional list separator; changing it means changing the operating system's regional settings, which also affects other programs. Excel's CSV UTF-8 format writes a BOM, which is what you want for Excel round trips.
LibreOffice Calc
File → Save As → Text CSV, then tick Edit filter settings. The dialog lets you pick the character set, field delimiter and quote character, and whether to save cell content as shown. It is one of the most flexible built-in exporters.
Google Sheets
File → Download → Comma-separated values exports the current sheet as UTF-8 with commas. There is no delimiter choice, so for semicolons or tabs use the Tab-separated download or convert afterwards.
Command line
For batch work, tools such as ssconvert (from Gnumeric) or libreoffice --headless --convert-to csv convert files in scripts. They are well suited to scheduled jobs on a server.
Tips and troubleshooting
The importer says "invalid character" in the first column
That is often the BOM. Export again with the BOM option switched off.
Accented names look wrong when reopened in Excel
The opposite problem: the file is UTF-8 without a BOM. Export with UTF-8 BOM (for Excel) switched on, or import the file through Data → From Text/CSV and pick UTF-8.
Numbers have thousands separators or currency symbols
You exported displayed values, so 1,250.00 € came through as text. Switch off Values as displayed to get 1250.
Dates changed format
With displayed values, dates follow the cell format in the workbook. For systems that need ISO dates (2025-03-14), format the column as yyyy-mm-dd in Excel before exporting, so the displayed value is already in the right form.
Merged cells and formulas
CSV stores values only. Formulas become their last calculated result, and merged cells keep the value in the top-left cell with the others blank. Unmerge and fill values before exporting if the importer needs every row complete.
Next steps
If the CSV is headed for a database, the CSV to SQL Converter can turn it into INSERT statements; the guide to importing a CSV file into a SQL database covers the rest. For JSON instead of CSV, go straight from the workbook with Excel to JSON.
Frequently asked questions
Why does Excel only save one sheet as CSV?
CSV can only represent a single table, so Excel exports the active sheet. Export each sheet separately or use a tool that produces a ZIP with one CSV per sheet.
How do I get semicolons instead of commas?
In Excel, the delimiter comes from your system's regional list separator. In a converter where you choose the delimiter yourself, simply select semicolon.
Should my CSV have a BOM?
Add a BOM if the file will be opened in Excel, which uses it to detect UTF-8. Leave it off for scripts, APIs and databases that may treat it as data.
What happens to formulas when I export CSV?
Each formula is replaced by the last value it calculated. CSV has no way to store the formula itself.
Is my workbook uploaded?
No. The Excel to CSV Converter reads and converts the file entirely in your browser.