Skip to content
Fast Forward >> Excel

How to open a CSV file in Excel and fix columns, commas and broken characters

Last updated:

Double-clicking works only for clean files without accents or leading zeros. The safe way is an import. Open a blank workbook, choose Data > From Text/CSV, pick encoding 65001 Unicode (UTF-8) and the right delimiter. Set ZIP codes and long IDs to Text before you load. To send data back, save as CSV UTF-8.

Contents

Step by step

  1. Open a blank workbook

    Do not double-click the CSV file. Start Excel with a blank workbook instead.

  2. Start the import

    Choose Data > From Text/CSV in the Get & Transform Data group and select the CSV file.

  3. Check encoding and delimiter

    If accents look wrong in the preview, set the encoding to 65001 Unicode (UTF-8). Pick Comma or Semicolon as the delimiter until every value sits in its own column.

  4. Keep numbers as text

    Click Transform Data and set columns like ZIP code, customer ID and long order numbers to the Text type, so leading zeros and digits survive.

  5. Load the data

    Load the result to the sheet. Excel creates a table that you can refresh later when a new file arrives.

  6. Check the result

    Look at accents, leading zeros, the full length of long numbers and whether dates and amounts are right-aligned.

The steps at a glance

StepWhat you doWhere
1Open a blank workbookstart Excel, do not double-click the CSV
2Start the importData > From Text/CSV
3Encoding and delimiterpreview window, 65001 Unicode (UTF-8), Comma or Semicolon
4Numbers as textTransform Data, column type Text
5Load and checkLoad, then look at accents, zeros and digits
6Save back as CSVFile > Save As, file type CSV UTF-8 (Comma delimited)

There are four practice files, no email needed. All hold the same invented customer list with accents, ZIP codes with a leading zero and a 16-digit order number.

  • Comma CSV, UTF-8 without BOM, decimal point, US dates like 11/03/2026
  • Semicolon CSV, UTF-8 without BOM, decimal comma, the way German and French systems export
  • CSV with BOM, same as the comma file, but with a BOM
  • Result file, the list imported correctly

Double-click or Data > From Text/CSV?

A double-click opens the CSV right away, but Excel then decides on its own about delimiter, character set and data types. This table shows when that is good enough.

Your situationMethodWhy
Quick look, no accents, no leading zerosdouble-clickfastest
Accents look broken (Müller instead of Müller)Data > From Text/CSV with 65001 Unicode (UTF-8)the file is UTF-8 without a BOM
Everything lands in column AData > From Text/CSV and pick the delimiterthe file uses semicolons, often because it comes from Europe
ZIP codes, customer IDs, long numbersData > From Text/CSV > Transform Data, column as TextExcel turns them into numbers otherwise
A new file arrives every weekData > From Text/CSV, then refreshthe query stays in the workbook
The result goes back to another systemSave As, the CSV type that system needssee the section on saving

Five things that go wrong and how to fix them

  1. Everything is in one column. The file uses semicolons and your Excel expects commas, or the other way round. Fix it with an import and the right delimiter, or use Data > Text to Columns on a file that is already open.
  2. Accents and special characters are broken. "Müller" turns into "Müller" and "Québec" into "Québec". The file is UTF-8 without a BOM and the double-click reads it with an older character set. Import it with 65001 Unicode (UTF-8).
  3. Leading zeros disappear. ZIP code 02108 becomes 2108, customer ID 000417 becomes 417. Set the column to Text during the import.
  4. Long numbers turn into 4.00638E+15. Excel keeps at most 15 digits. 4006381333931234 becomes 4006381333931230 and the last digit is gone for good. Import the column as Text before you save anything.
  5. Dates and amounts are wrong. "1234,50" from a European file becomes text in US Excel, and "03/11/2026" means 3 November in Europe but March 11 in the US. Tell Excel the locale of the file during the import, or set the separators under Advanced in the legacy wizard.

You can reproduce all five with the practice files. Double-click the semicolon file and compare it with the result file.

Why does a CSV from Europe open in one column?

CSV stands for comma-separated values. In most of Europe, though, the comma is the decimal separator. That is why German, French and many other European versions of Excel write and expect semicolons. When a colleague in Berlin or Paris sends you a CSV, US Excel puts the whole line into column A, and amounts like 1234,50 stay text.

Which character Excel expects depends on the list separator in Windows. These are the usual defaults, your PC may be set differently.

CountryList separatorDecimal separator
United States, United Kingdomcommapoint
Canada (English)commapoint
Germany, Austria, France, Belgiumsemicoloncomma
Switzerland (German)semicolonpoint

You have three ways to handle the delimiter.

  1. For this one file. Import with Data > From Text/CSV and choose Semicolon. This is the safe way.
  2. For Excel only. Go to File > Options > Advanced and clear Use system separators, then type your own decimal and thousands separators.
  3. For every program. Change the list separator in the Windows region settings, under the additional settings for numbers. This affects all programs on your PC, and colleagues who open your files still have their own settings.

If the file is already open with everything in column A, select the column and choose Data > Text to Columns. Pick Delimited, tick the delimiter and finish. Leading zeros are often lost by then, though.

How to import a CSV step by step

This is the way in Excel for Microsoft 365 on Windows.

  1. Open a blank workbook and go to the Data tab.
  2. In the Get & Transform Data group, click From Text/CSV and choose the file.
  3. Check the encoding in the preview window. If you see odd symbols instead of accents, set it to 65001 Unicode (UTF-8).
  4. Under Delimiter, choose Comma or Semicolon until every value sits in its own column.
  5. Load puts the data straight into the sheet. To set columns as text first, click Transform Data instead.
  6. In the editor, click the small type icon on the left of the column header and choose Text for ZIP code, customer ID and order number. Then load the result to the sheet.

Excel adds the data as a table. Sorting, filtering and totals are covered in how to create a spreadsheet in Excel. When you replace the CSV with a new file of the same name, refresh the query on the Data tab to pull in the new rows.

When the legacy Text Import Wizard is the better choice

The legacy wizard asks for every setting in three steps. It is slower, but you see exactly what happens. It helps when you want a column read as text right away or need to set the date order.

To switch it on, go to File > Options > Data and tick Show legacy data import wizards. You then find it under Data > Get Data > Legacy Wizards > From Text (Legacy). Microsoft notes you may need to close and reopen the workbook before it appears.

Wizard stepWhat you set
1choose Delimited, set File origin to 65001 Unicode (UTF-8)
2tick the Delimiters you need, Semicolon or Comma
3under Column data format, set ZIP code and IDs to Text and dates to the order the file uses (day, month, year for European files), and set decimal and thousands separators under Advanced

How to stop Excel from removing leading zeros

If you like opening CSV files with a double-click, you can switch off the four most common conversions. In Excel for Microsoft 365 and Excel 2024, on Windows and Mac, go to File > Options > Data and find Automatic Data Conversion. On a Mac it sits under Excel > Preferences > Edit. According to Microsoft, the switches control these conversions.

  • removing leading zeros (00123 becomes 123)
  • keeping only the first 15 digits of long numbers (from 16 digits on the number otherwise stays text)
  • converting digits around an "E" (123E5 becomes 1.23E+07)
  • turning letter and number mixes into dates (JAN1)

Clear the boxes, and ZIP codes and part numbers survive a double-click. One catch. Microsoft says these settings do not apply to imports through Data > From Text/CSV, so there you set the types yourself as shown above.

Decimal comma or decimal point?

A semicolon CSV from Germany or France writes amounts as 1234,50. US Excel reads that as text. Here is how to keep the amount a number.

  • When you import. Under Transform Data, change the amount column to a number using the locale of the file (for example German, Germany), or set the comma as decimal separator under Advanced in the legacy wizard.
  • When you export for a European system. Microsoft describes this route in File > Options > Advanced. Clear Use system separators, set the decimal separator to a comma and the thousands separator to a point. Excel then uses the semicolon as list separator.

An amount stored as text sits on the left of the cell and causes #VALUE! in formulas. Our guide to Excel errors shows how to repair it.

How to save an Excel file as CSV

Use File > Save As or Save a Copy and choose the file type. Excel offers several CSV types. Which one you need depends on where the file goes next.

DestinationFile typeWhy
online shop, CRM, newsletter tool, web portalCSV UTF-8 (Comma delimited) (*.csv)accents and special characters survive
older program that cannot read UTF-8CSV (Comma delimited)uses the Windows list separator, accents may not survive
old Mac programCSV (Macintosh)different line endings
very old DOS programCSV (MS-DOS)old character set

If the destination says nothing else, choose CSV UTF-8. Keep two things in mind.

  • A CSV saves only the active sheet. Formulas, formatting and other sheets are lost. Always save as an Excel workbook first and then save a copy as CSV.
  • If long numbers were stored as numbers before, the digits after the 15th are already gone. Check the column before you save.

Opening CSV files on a Mac

In Excel for Microsoft 365 for Mac and Excel 2021 and 2024 for Mac, Microsoft describes the import through Data > Get Data > From File > From Text/CSV. The preview settings match Windows. On a Mac the list separator follows the language and region settings of macOS. Whether your Save As list shows CSV UTF-8 depends on the version, so check the list of file formats.

CSV vs Excel file, what is the difference?

Is CSV the same as Excel? No. A CSV is plain text, one line per record with values split by a character. Any program can read it. An Excel workbook (.xlsx) stores formulas, formats, several sheets, charts and data types.

CSVExcel workbook (.xlsx)
Contentvalues as text onlyvalues, formulas, formats
Sheetsoneas many as you like
Data typesnone, Excel guesses when openingstored with the file
Best formoving data between programsworking and calculating

Rule of thumb. Work in the .xlsx and hand over a CSV only when another program asks for it. Searching for "convert CSV to Excel" usually means exactly this, import the CSV and save the result as a workbook.

Common mistakes

  1. Editing a CSV and saving it as CSV again. ZIP codes and long numbers stay broken for good. Import, check, then save.
  2. Choosing the wrong CSV type. The destination shows question marks instead of accents. Modern systems need CSV UTF-8.
  3. Exporting just the first sheet. The CSV has less data than expected because only the active sheet is saved.
  4. Changing the Windows list separator and forgetting about it. Other programs suddenly write semicolons. Set the delimiter per import instead.
  5. Text to Columns instead of an import. The columns look right, but leading zeros are already gone. For important IDs, always use Data > From Text/CSV.

Download the practice files

Try each file twice, once with a double-click and once with Data > From Text/CSV. That way you see every problem for yourself.

  • Comma CSV. Accents break on double-click, leading zeros vanish, the order number loses a digit.
  • Semicolon CSV. Lands in column A in US Excel, amounts with a comma stay text.
  • CSV with BOM. Same content as the comma file. According to Microsoft a double-click shows the accents correctly here.
  • Result file. Imported correctly, with a sheet called "How it was done".

All names and addresses are invented. Free for teaching and personal use with attribution (CC BY-NC 4.0).

What should you learn next?

Once the list is clean in Excel, the real work starts. Totals, lookups, finding duplicates. Practice that in our Excel exercises with instant feedback. The Excel test shows where you stand today. More guides and templates are in the resources.

Sources

Menu paths follow Microsoft's help pages as of November 2026, Excel for Microsoft 365 on Windows.

Frequently asked questions

How do I open a CSV file in Excel without breaking it?

Open a blank workbook and choose Data > From Text/CSV. In the preview, set the encoding to 65001 Unicode (UTF-8) and the right delimiter. Use Transform Data to set ZIP codes and long IDs to Text before you load.

Why does my CSV open in one column?

The file uses a different delimiter than your Excel expects. US Excel expects commas, while files from Germany or France often use semicolons. Import the file through Data > From Text/CSV and choose Semicolon as the delimiter.

How do I stop Excel from removing leading zeros?

Set the column to Text during the import with Data > From Text/CSV and Transform Data. For double-clicked files, Excel for Microsoft 365 and Excel 2024 let you switch off removing leading zeros under File > Options > Data > Automatic Data Conversion.

Why do special characters look wrong when I open a CSV?

The file is saved as UTF-8 without a BOM, and a double-click reads it with an older character set. Import it with 65001 Unicode (UTF-8). According to Microsoft, a UTF-8 file with a BOM opens correctly with a double-click.

How do I save an Excel file as CSV UTF-8?

Choose File > Save As and pick CSV UTF-8 (Comma delimited) (*.csv) as the file type. Excel saves only the active sheet, so save the workbook as .xlsx first and then a copy as CSV.

Learn Excel with no prior knowledge

You type every formula yourself, you're allowed to make mistakes and you get an explanation right away. Lesson 1 is free.