CSV Shows Garbled Characters in Excel? How to Open a UTF-8 CSV Correctly
You double-click a CSV file and Excel shows Café instead of Café, ’ instead of an apostrophe, or a column of question marks where Japanese or Chinese names should be. The data is usually fine; Excel is just reading it with the wrong encoding. This guide explains why, then shows how to open the file correctly in Excel and Google Sheets. The Excel steps are checked against Microsoft's support articles and documentation.
Why a CSV file turns into garbled text
A computer stores text as numbers. The rule that maps characters to numbers is called a character encoding. Many CSV files today are saved as UTF-8, but older Windows software often uses a regional code page such as Windows-1252 (Western European) or Shift_JIS (Japanese).
If a file is read with a different encoding from the one it was saved in, the same bytes turn into different characters. A UTF-8 é is two bytes, and read as Windows-1252 those two bytes show up as é. A CSV file is plain text and usually does not say which encoding it uses.
The exception is the BOM (byte order mark), a small marker at the very start of the file that says "this is UTF-8." Microsoft's article Opening CSV UTF-8 files correctly in Excel says a UTF-8 CSV saved with a BOM opens normally. Without a BOM, import it with the encoding set by hand, as below.
| What you see | What it should be | Likely cause |
|---|---|---|
é, ü, ñ | é, ü, ñ | UTF-8 file read as Windows-1252 |
’, “, — | ’ “ — | UTF-8 curly quotes or dashes read as Windows-1252 |
縺薙l-style text | Japanese text | UTF-8 file read as Shift_JIS |
? in place of letters | Any text the file could not store | The file was saved in an encoding without those characters, so they are gone; ask for a UTF-8 export |
Import the CSV with Data > From Text/CSV and pick the encoding
Instead of double-clicking the file, load it from inside Excel:
- Open a new, blank workbook in Excel.
- On the Data tab, in the Get & Transform Data group, select From Text/CSV.
- Find the CSV file and select Import.
- In the preview window, set File Origin to 65001: Unicode (UTF-8).
- When the text looks right in the preview, select Load (or Transform Data to clean it up in Power Query first).
The steps come from Microsoft's Import or export text (.txt or .csv) files. Microsoft Learn's Power Query Text/CSV connector page explains the File Origin dropdown and notes that UTF-8 is detected automatically only when the file starts with a UTF-8 BOM. Excel versions differ slightly; in some, the command is under Get Data > From File > From Text/CSV.
If UTF-8 still looks wrong, try another code page in the same dropdown, such as 1252 for Western European files or 932 for Japanese. Microsoft lists the numbers in Code Page Identifiers.
The same preview has a data type detection setting. Choosing not to detect data types loads every column as text, which keeps IDs like 007 and long account numbers intact.
Re-save the file as UTF-8 with BOM
Most text editors let you choose the encoding when you save. If the CSV looks correct in your editor, save a copy with the encoding set to "UTF-8 with BOM" (the exact label varies by editor). As Microsoft's article above notes, Excel opens a UTF-8 CSV with a BOM normally, so a double-click will work from then on.
Look for a setting called "Encoding" in the save dialog or the status bar. Keep the original file until you have checked the copy.
Open it in Google Sheets and download it as Excel
If the Excel import still gives you trouble, Google Sheets can read the file and save it as an Excel workbook:
- Open a spreadsheet in Google Sheets.
- Select File > Import, choose the CSV file, check the Separator character, and select Import.
- When the text looks right, select File > Download (shown as Download as in some versions) and choose Microsoft Excel.
- Open the downloaded file in Excel.
See Google's help pages Import data sets & spreadsheets, Use both Excel & Sheets: Best practices and Create, view, or download a file. If the text is already garbled in Google Sheets, the file itself was saved with a different encoding or the characters were lost; ask for a fresh export.
Copying a table from a website? Skip the CSV file
If you are saving a web page's table as CSV only to open it in Excel, you can skip the file. When you copy and paste, there is no encoding to choose, so this encoding problem does not come up. For a quick paste, select the table, copy it, and paste it into a cell in Excel.
SumiTable, a free browser extension by Sh23 (store release in preparation), lists the tables on the page. Pick one and click "For Excel / Sheets (TSV)," then select a single cell in Excel and paste; each value lands in its own cell. Merged cells, two-row headers and footnote marks like [1] are cleaned up before copying. The free version works now, up to 200 rows per table. The conversion runs on your computer, and the page content is not sent anywhere.
Saving tables as an Excel file (.xlsx) or as a CSV file with a BOM is planned for a future paid version (Pro), which is not on sale yet. See About SumiTable.
Still garbled? Check these
- Did you save over the file while it was garbled? Once the wrong characters are saved, they cannot be converted back. Start again from the original file.
- Did you try more than one encoding? Compare UTF-8 and the regional code page in the preview.
- Did leading zeros disappear? Excel removes leading zeros and keeps only 15 significant digits, so load ID columns as text (Keeping leading zeros and large numbers).
- Can you ask whoever made the file? Knowing which encoding they exported with is the most reliable fix.
Summary
- Garbled characters mean the CSV is being read with a different encoding from the one it was saved in.
- In Excel, use Data > From Text/CSV and set File Origin to 65001: Unicode (UTF-8), or another code page.
- Saving the file as UTF-8 with BOM lets Excel open it with a double-click.
- For tables on web pages, copy and paste instead of going through a CSV file.