
Your CSV file is not broken. It is almost certainly saved in UTF-8, and Excel opened it using a different character encoding, so letters like é, ü and ñ turned into symbols like é. Fix it by importing the file instead of double-clicking it, and telling Excel the file is UTF-8.
Why your CSV looks garbled
A CSV file is plain text, and plain text carries no label saying which alphabet it uses. The program that wrote the file and the program that reads it have to agree on the encoding — the codebook that turns bytes into characters. When they disagree, Excel reads the bytes with the wrong codebook, and every character outside plain English comes out wrong.
Most CSV files today are written in UTF-8, the encoding used by the web and by most software that exports data. In UTF-8, a plain English letter takes one byte, but an accented letter takes two or more.
The problem is what Excel does when you double-click a CSV file. It does not ask which encoding the file uses. It guesses, using your computer's regional encoding — on a typical Western Windows PC, that is Windows-1252, an older encoding that reads one byte per character. So the two bytes that mean é in UTF-8 get read as two separate characters, and you see é instead. The data was never damaged. Excel just read it with the wrong codebook.
That is also why the file often looks fine everywhere else. Open the same CSV in a text editor and the characters are correct. Only Excel's double-click path makes the wrong guess.
Some UTF-8 files start with a byte order mark, or BOM — three invisible bytes that announce "this file is UTF-8". Excel recognises a BOM, so a file with one usually opens correctly even on a double-click. A UTF-8 file without a BOM is the one that trips Excel up. The reliable fix is to import the file and state the encoding yourself.
How to tell what went wrong
The shape of the garbling is a clue to which two encodings are colliding.
| What you see | What it usually means |
|---|---|
| é, ü, ñ, or other accented letters show as é, ü, ñ | A UTF-8 file read as Windows-1252 |
| Text shows as boxes, question marks, or black diamonds | Characters that do not exist in the encoding Excel chose |
| Chinese, Japanese or Korean text shows as a string of Latin letters and symbols | A UTF-8 file read as a regional encoding |
| Everything lands in a single column | The delimiter is wrong — often a semicolon instead of a comma |
If accented letters have turned into é and friends, you are in the first row, and the fix below will sort it out. If you see boxes or question marks, the file may have already been saved once in the wrong encoding — see the troubleshooting section first.
The fix: import the file, don't double-click it
The reliable method works in current Excel for Windows.
- Open Excel and start a blank workbook. Do not double-click the CSV file.
- Go to the Data tab on the ribbon and click From Text/CSV.
- Find your CSV file, select it, and click Import.
- In the preview window, find the File Origin dropdown and set it to 65001: Unicode (UTF-8). This is the one setting that matters most. Watch the preview: your accented characters should snap back to normal right away.
- Check the Delimiter dropdown. It should be Comma. If the whole first row is sitting in a single column, the file probably uses semicolons or tabs instead — files exported on computers set to some European regional settings often do. Pick the delimiter that splits the preview into proper columns.
- Look at a row you know contains special characters before you finish. The preview is your test: if the names read as names, the encoding is right.
- Click Load.
Also, if your file has ID numbers or phone numbers, Excel's default column type can strip their leading zeros or turn long numbers into scientific notation. In the preview, select those columns and set their type to Text before you load.
If you prefer the classic Text Import Wizard
Microsoft still ships the older three-step wizard, and it gives you the most control over each column. It is a legacy feature, so you may need to switch it on first: go to File > Options > Data and tick From Text (Legacy). Then go to Data > Get Data > Legacy Wizards > From Text (Legacy) and pick your file.
The wizard walks you through three steps. In step 1, choose Delimited and set File origin to Unicode (UTF-8). In step 2, tick Comma as the delimiter and leave the text qualifier as the double quotation mark — that keeps a value like "Dallas, Texas" in one cell instead of splitting it in two. In step 3, click each column in the preview and set its format: Text for ID numbers and codes, Date for dates. Click Finish and choose where to put the data.
If a menu label differs on your version, Microsoft's help page for the wizard is the reference: Text Import Wizard - Microsoft Support.
The same fix on a Mac
Excel for Mac has the same blind spot, and it is worse there: Excel on macOS is particularly unreliable at detecting UTF-8 in a file without a BOM, so double-clicking a UTF-8 CSV on a Mac is the most likely place to see garbled text.
Use the same import route. Open a blank workbook in Excel for Mac, go to the Data tab, and click Get Data > From Text/CSV. Select your file, set the encoding to UTF-8 in the preview, check the delimiter is a comma, and click Load.
If your version does not show that menu, use File > Import instead, choose CSV file, and pick your file — that opens the Text Import Wizard, where you set the file origin to Unicode (UTF-8) in step 1 and the delimiter to Comma in step 2. The menu wording varies by version, but the principle never changes: pick the encoding yourself.
If the file still looks wrong
First, do not save the garbled version over your original file. Saving writes the wrong characters back into the file, and once that happens the correct characters are gone for good — choosing UTF-8 afterwards cannot reconstruct them. Keep the original untouched and re-import it.
Then work through these checks in order.
Try the other likely encoding. UTF-8 fixes most cases, but not every file is UTF-8. If the file came from an older Windows program, try 1252: Western European (Windows) in the File Origin dropdown.
Check the delimiter. If the text is readable but every row is crammed into one column, the encoding is fine and the delimiter is wrong. Switch it to Semicolon or Tab and check the preview again.
Check the source. If the file was already saved once from a garbled Excel view, the damage is in the file itself, and no import setting will bring the characters back. You need a fresh export from wherever the data came from.
How to save it back without breaking it again
Fixing the import is only half the job. If you edit the data and save it as an ordinary CSV, Excel writes it back using your regional encoding, and the next person to open it gets the same garbled mess you started with.
Save it as UTF-8 instead. Go to File > Save As and in the "Save as type" dropdown choose CSV UTF-8 (Comma delimited) (*.csv). That writes the file in UTF-8, so the accented characters survive. The plain CSV (Comma delimited) option uses the regional code page instead, and that is the one that reintroduces the problem.
Two things to keep in mind. A CSV holds only one sheet, so Excel saves only the sheet you are looking at. And a CSV is plain text: formatting and charts are dropped, and formulas are saved as their results. Keep your working copy as a normal Excel workbook and export a CSV only when you need to hand the data to another system.
A quick checklist for next time
- Never double-click a CSV that contains anything beyond plain English text.
- Always import through Data > From Text/CSV and set File Origin to 65001: Unicode (UTF-8).
- Check the preview before you click Load — one accented row tells you whether the encoding is right.
- Set ID and phone-number columns to Text.
- Save edited files as CSV UTF-8, and keep your .xlsx master copy.
Do that every time and the garbled characters stop happening, because Excel never gets the chance to guess the encoding.
Checked on 30 November 2026.
评论 暂无评论