<link rel="stylesheet" type="text/css" href="/mirawhite.css">

How to open a CSV file in Excel

Updated November 26, 2026

Don’t double-click the CSV. Open a blank workbook, go to Data > From Text/CSV, select the file, then set File Origin to UTF-8 and Delimiter to the file’s separator (comma, semicolon or tab) and click Load: each value lands in its own column with the right accents. To keep leading zeros or long ID numbers, click Transform Data instead and set those columns to Text.

Why does my CSV open in one column in Excel?

A CSV file is plain text: one row per line, with a separator between the values. When you double-click it, Excel does not ask which separator the file uses. It assumes the list separator set in the Windows regional settings: a comma in the United States and the UK, a semicolon in most countries where the comma is the decimal mark, such as France, Germany, Spain, Italy or Brazil.

So a semicolon file sent by a European supplier opens on a US computer with every row squeezed into column A, and a comma file does the same on a French or German computer. To check which separator you have, open the file in Notepad, or TextEdit on a Mac, and look at the first line: the character between the column names is the separator.

How to import a CSV into Excel with Data > From Text/CSV

This import uses Power Query, built into Excel for Microsoft 365 and recent versions of Excel for Windows.

  1. Open a blank workbook.
  2. Go to Data > From Text/CSV, in the Get & Transform Data group, select the .csv file and click Import.
  3. In File Origin, choose the UTF-8 entry (code page 65001) if accented letters look wrong in the preview. For an old file saved by Excel on Windows, try the Western European (Windows) entry, code page 1252.
  4. In Delimiter, choose Comma, Semicolon or Tab. The preview splits into columns as soon as the right one is selected.
  5. Leave Data Type Detection on the first 200 rows, or turn detection off so that every column comes in as text.
  6. Click Load to place the data in a new sheet, or Transform Data to fix column types in the Power Query editor first.

Good to know : In Excel for Mac with Microsoft 365, the Data tab also offers Get Data (Power Query), with the same Text/CSV source.

Why are accents garbled (é, �) in my CSV?

Odd characters mean that Excel read the file with the wrong encoding. Most web apps, online stores and CRMs export in UTF-8. Microsoft states that Excel opens a UTF-8 CSV normally only when the file starts with a byte order mark (BOM). Without it, a double-click reads the file with the Windows code page and every accented letter turns into two strange characters.

The symptom tells you which encoding to choose in File Origin:

  • é shows as é, ü as ü, ñ as ñ: the file is UTF-8 read as Windows-1252. Choose UTF-8.
  • é shows as a � symbol: the file is Windows-1252 (or another old encoding) read as UTF-8. Choose Western European (Windows), 1252.

Leading zeros, long numbers and dates changed by Excel

When Excel opens a CSV, it converts anything that looks like a number or a date. The ZIP code 02134 becomes 2134, a 16-digit card or tracking number keeps only 15 significant digits (Excel’s maximum precision) and shows as 1.23457E+15, and a part number such as 1-2 can become a date. If you then save the file, the damage is permanent.

To keep these values intact, import them as text with Power Query:

  1. In the From Text/CSV preview, click Transform Data.
  2. Select the columns to protect: click a column header, then Ctrl+click the others.
  3. Click the type icon on the left of a column header (or Home > Data Type) and choose Text.
  4. Load the result into Excel. The values stay exactly as they are in the file.
  • Excel for Microsoft 365 and Excel 2024 also let you switch off these conversions for double-clicked files: File > Options > Data > Automatic Data Conversion, then untick “Remove leading zeros and convert to number” and “Keep the first 15 digits of long numbers and display in scientific notation if required”. These options do not apply to Power Query imports.
  • Dates in the wrong order: a European file writes 03/04/2026 for April 3, which a US Excel reads as March 4, while days above 12 stay as text. In Power Query, right-click the date column header, choose Change Type > Using Locale, select Date and the file’s locale, for example English (United Kingdom).

How to save a CSV file in UTF-8 from Excel

A CSV holds a single table of values: Excel saves only the active sheet and drops formatting, colors and formulas, keeping their results.

The separator written is the Windows list separator, so a US computer writes commas. If the person receiving the file uses a semicolon locale, they will see one column on double-click; send them the file with semicolons, or ask them to use From Text/CSV.

  1. Go to File > Save As, or Save a Copy, and choose the folder.
  2. In the file type list, choose CSV UTF-8 (Comma delimited) (*.csv).
  3. Click Save.

How to open a CSV file without Excel

Google Sheets reads UTF-8 files natively and lets you pick the separator:

  1. Open a spreadsheet in Google Sheets and go to File > Import.
  2. Select the .csv file from Drive or from your computer.
  3. Choose an import location, for example Create new spreadsheet or Replace current sheet.
  4. Choose the separator: Detect automatically, Tab, Comma, or Custom with a semicolon. Then click Import.
  • Google Sheets reads dates and decimal numbers according to the spreadsheet locale, set in File > Settings > Locale. Change it before importing a file from another country.
  • In LibreOffice Calc, open the .csv with File > Open: an import dialog appears before the file opens. Choose UTF-8 in Character Set, tick the right separator (Tab, Semicolon, Comma, Space or Other) and check the preview.
  • Still in LibreOffice, click a column in the preview and set Column type to Text to keep leading zeros.

Check or convert a CSV online with Utiloz

To look at a CSV before importing it, or on a computer without a spreadsheet app, drop it into the Utiloz CSV viewer. It detects the separator (comma, semicolon, tab or pipe) and the encoding (UTF-8, Windows-1252 or UTF-16), shows the data as a table with 500 rows per page, and lets you sort and filter. Values are displayed exactly as written in the file, so you can see whether IDs really start with 0 before Excel touches them.

To get a file that opens correctly on double-click, use Download this view (.csv) with the separator the recipient’s Excel expects and keep Excel-ready file (UTF-8 with BOM) ticked. To only swap commas and semicolons, the CSV comma to semicolon tool does it without breaking quoted cells and can convert decimal points too. Both tools read the file in your browser: nothing is uploaded. They cannot stop Excel from dropping leading zeros on double-click; for those columns, use the text import described above.

Frequently asked questions

How do I open a CSV file in Excel with columns?

Open a blank workbook, go to Data > From Text/CSV, select the file, choose the file’s separator in Delimiter (comma, semicolon or tab) and click Load. Double-clicking only works when the file uses the same separator as your Windows regional settings.

How do I open a CSV file without Excel?

Use Google Sheets (File > Import), LibreOffice Calc (File > Open, which shows an import dialog) or an online CSV viewer that reads the file in your browser. Notepad or TextEdit also show the raw content, separators included.

How do I change comma to semicolon when saving a CSV file?

Excel writes the Windows list separator, set in the region settings under Additional settings > List separator. That change affects every program, so converting a single file with a CSV comma to semicolon tool is often simpler.

How do I convert a CSV file to an Excel workbook?

Import the CSV with Data > From Text/CSV so the columns, accents and leading zeros are right, then use File > Save As and choose Excel Workbook (*.xlsx). Formatting and formulas you add afterwards are only kept in the .xlsx file.

← All guides