Excel CSV vs UTF-8: Fix Special Characters Now
In this article
When you open a standard Comma-Separated Values (CSV) file in Microsoft Excel, special characters like accented letters, emojis, or non-Latin scripts often appear as garbled symbols. This happens because older versions of Excel default to the system's local encoding (often Windows-1252) rather than reading the file as UTF-8. To fix this, you must explicitly import the data using Excel’s Data Import tools and select UTF-8 as the file origin.
What You'll Need
- A CSV file containing special characters.
- Microsoft Excel installed on your computer (Desktop version recommended for full control).
- Basic familiarity with the Excel ribbon interface.
Step-by-Step
- Open a blank workbook: Launch Microsoft Excel and create a new, empty spreadsheet. Do not double-click the CSV file to open it directly, as this triggers the automatic import that causes character errors.
- Navigate to the Data tab: In the ribbon menu at the top of the window, click on the Data tab. Look for the section labeled "Get & Transform Data" or simply "From Text/CSV." Note that menu labels can differ slightly depending on your Excel version and region.
- Select the source file: Click the From Text/CSV button. A file browser window will appear. Locate and select the CSV file you wish to import, then click Import.
- Configure the File Origin: An import preview window will open. At the top of this window, look for a dropdown menu labeled "File Origin." By default, it may show "Windows (Default)" or another local codepage. Change this setting to 65001: Unicode (UTF-8). As soon as you select UTF-8, the preview pane should update, displaying the special characters correctly.
- Verify Delimiters: Ensure the "Delimiter" option is set to Comma. If your data uses semicolons or tabs, adjust accordingly. The preview table below these settings allows you to confirm that columns are splitting correctly.
- Load the data: Once the preview looks correct, click the Load button. Excel will insert the data into your current worksheet. The special characters should now display properly without any replacement question marks or weird symbols.
Common Mistakes
The most frequent error is double-clicking the CSV file in File Explorer or Finder. This forces Excel to use its legacy parser, which assumes the file matches the operating system's regional language settings. If your OS is set to English (US) but the file is UTF-8 encoded with European accents, this method fails immediately. Another common mistake is saving the file back as a standard CSV after importing. While Excel handles the display correctly during the session, saving as "CSV (Comma delimited)" might revert the encoding to the system default unless you specifically choose "CSV UTF-8" from the save type dropdown.
Tips
If you frequently work with UTF-8 CSV files, consider using the "Power Query" editor (accessed via the same From Text/CSV button, but clicking Transform Data instead of Load). Power Query allows you to save the import steps. Next time you receive an updated version of the same file structure, you can simply refresh the query, and Excel will automatically apply the UTF-8 encoding setting again. Additionally, always check if your source system exports with a Byte Order Mark (BOM). A BOM helps some software identify UTF-8 files automatically, though Excel’s modern import tool handles files with or without a BOM effectively when you manually specify the origin.
Troubleshooting
If characters still appear incorrect after selecting UTF-8, verify that the source file is actually saved as UTF-8. Open the file in a plain text editor like Notepad++ or Visual Studio Code. These editors usually display the encoding in the status bar. If the file is saved as ANSI or ISO-8859-1, selecting UTF-8 in Excel will result in further corruption. In such cases, convert the file to UTF-8 using the text editor first, then repeat the import steps in Excel. If the data appears shifted or misaligned, check the delimiter setting; sometimes commas within text fields require proper quoting by the source system to be parsed correctly.
Frequently Asked Questions
Why does Excel mess up my CSV files?
Excel historically defaults to the system's locale-specific encoding (like Windows-1252) for speed and compatibility with older files. It does not automatically detect UTF-8 unless a Byte Order Mark is present or you use the modern import wizard.
Is there a difference between CSV and CSV UTF-8?
Yes. A standard CSV is just a text file with comma separators. "CSV UTF-8" is a specific format option in Excel's Save As dialog that ensures the text is encoded in UTF-8, preserving international characters for other users who open the file.
Can I fix the encoding after opening the file?
No, once the data is loaded into cells with incorrect encoding, the original byte information is lost. You must delete the imported data and re-import the raw file using the Data > From Text/CSV method with the correct File Origin selected.
Does this work on Mac?
Yes, the process is nearly identical on macOS. Go to Data > Get Data > From Text/CSV. The interface layout differs slightly, but the option to change the File Origin to UTF-8 remains available in the import preview window.