You open a CSV file in Microsoft Excel, but instead of seeing readable text, some characters look broken. Names containing accents may appear as strange symbols, Hindi text may become unreadable, and special characters such as € or é may be replaced with unexpected combinations of letters.

This problem is usually related to character encoding. The CSV file may contain perfectly valid text, but Excel is interpreting the bytes using a different character set. The good news is that you can often fix the display without changing the original data.

Why does Excel display incorrect characters in CSV files?

A CSV file is a plain-text file that stores information in rows and columns. It does not automatically carry all the formatting and data-handling instructions found in an Excel workbook.

Computers store text as bytes. Character encoding tells software how those bytes should be interpreted as letters, numbers and symbols. UTF-8 is a widely used encoding that supports characters from many languages, including Hindi, English, Arabic and Chinese.

The problem occurs when a CSV file is saved using one encoding but Excel reads it using another. For example, a file saved as UTF-8 may be interpreted using a different Windows character set. The result is often called mojibake, which means text has become unreadable because it was decoded incorrectly.

Consider a simple example:

Original textPossible incorrect display
CaféCafé
RésuméRésumé
€100€100

These examples are typical of UTF-8 text being interpreted with an incompatible encoding. The exact result depends on the characters and the encoding Excel uses.

Why opening a CSV by double-clicking can cause the problem

One common reason is the way Excel opens CSV files. When you double-click a CSV file in Windows, Excel opens it directly and uses its default import behaviour to interpret the data.

That process may not identify the file’s actual encoding correctly, particularly when the file does not contain a Byte Order Mark (BOM). A BOM is a small marker at the beginning of a text file that can help software identify its encoding.

Microsoft explains that UTF-8 CSV files can normally be opened directly in Excel when they are saved with a BOM. For UTF-8 files without one, Microsoft recommends importing the file through Power Query or the text import option instead.

This is why the same CSV file may look incorrect when opened by double-clicking but display properly when imported through Excel’s Data tab.

See also  How to Recover Missing Fonts in Documents Shared Between Computers

How to fix incorrect characters in Excel

The most reliable solution is to import the CSV file and select the correct character encoding before loading the data.

Method 1: Import the CSV using From Text/CSV

This method works with modern Excel versions that include Power Query.

  1. Open Microsoft Excel without opening the CSV file directly.
  2. Go to the Data tab.
  3. Select Get Data, then From File, and choose From Text/CSV. In some versions, From Text/CSV appears directly under Get Data.
  4. Locate your CSV file and select Import.
  5. In the preview window, find the File Origin or encoding option.
  6. Select 65001: Unicode (UTF-8) if the file was saved using UTF-8.
  7. Check that the characters appear correctly in the preview.
  8. Choose the correct delimiter, usually Comma, and select Load.

The preview is important. If the text still looks incorrect, do not load the data yet. Try another encoding only if you have a reason to believe the file was created using it. Selecting UTF-8 for a file saved in a different encoding can create another set of incorrect characters.

Microsoft provides the steps for this process in its official guide to importing and exporting text files.

Method 2: Open the file using the Text Import Wizard

Some Excel versions still provide the older Text Import Wizard. It allows you to select the character set before importing the CSV.

If the option is not visible, you may need to enable the legacy wizard first:

  1. Open Excel and go to File > Options.
  2. Select Data.
  3. Under the legacy data import options, enable From Text (Legacy).
  4. Go to the Data tab and select Get Data > Legacy Wizards > From Text (Legacy).
  5. Choose your CSV file.
  6. In the first step, select Delimited and set File Origin to 65001: Unicode (UTF-8) if appropriate.
  7. Continue to the next step and select the correct delimiter.
  8. Check the preview and select Finish.

The wizard also lets you choose how individual columns should be interpreted. For example, you can import an ID column as text to preserve leading zeros.

Microsoft describes the wizard as a legacy feature that remains available for backward compatibility. Its newer Power Query import process is the alternative for most users. See Microsoft’s Text Import Wizard documentation for the available settings.

What if the CSV contains Hindi or other non-English text?

Files containing Hindi, Bengali, Tamil, Arabic or other non-English text need an encoding that supports those characters. UTF-8 is generally a good choice because it can represent text from a wide range of writing systems.

See also  Why PDF Files Become Larger After Simple Editing

For example, suppose a website exports a customer list containing Hindi names. The CSV may be saved correctly in UTF-8, but Excel may display the names incorrectly when the file is opened directly.

Importing the file through Data > From Text/CSV and selecting UTF-8 can solve the problem. Always check the preview before loading, especially when the file contains several languages.

If the characters remain broken even after selecting UTF-8, the problem may have occurred earlier. The application that generated the CSV might have saved the text incorrectly, or the original data may already have been damaged. Changing Excel’s import settings cannot restore characters that are no longer present in the file.

How to save a CSV file so Excel reads it correctly

If you create CSV files yourself, choosing the right encoding before sharing them can prevent this issue for other users.

When exporting from an application or database, look for an option such as CSV UTF-8 or UTF-8 encoding. If the application allows you to choose whether to include a BOM, consider enabling it when the file is mainly intended to be opened directly in Excel.

For example, Excel’s Save As menu includes a CSV UTF-8 format in supported versions. Selecting this format is generally more suitable for files containing international characters than relying on an older, region-dependent CSV format.

If you are generating CSV files through software, you can also specify UTF-8 explicitly. For example, Python’s built-in CSV workflow can write UTF-8 files with a BOM using utf-8-sig:

import csv

with open("customers.csv", "w", encoding="utf-8-sig", newline="") as file:
    writer = csv.writer(file)
    writer.writerow(["Name", "City"])
    writer.writerow(["José", "Madrid"])
    writer.writerow(["Nishant", "Baghpat"])

The utf-8-sig encoding writes a UTF-8 BOM at the beginning of the file. This can help Excel identify UTF-8 when opening the CSV directly. The BOM is not a replacement for correct encoding, and other applications may handle it differently.

Incorrect characters or incorrect columns: These are different problems

Not every CSV display problem is caused by character encoding. Sometimes the characters are correct, but Excel places the values in the wrong columns or changes how numbers and dates appear.

What you seePossible causeWhat to check
Text such as CaféIncorrect character encodingFile encoding and UTF-8 import settings
Entire row appears in one columnIncorrect delimiterComma, semicolon or tab separator
A name containing a comma splits into two cellsIncorrect text qualifier handlingQuotation marks around CSV fields
Numbers lose leading zerosAutomatic data conversionImport the column as Text
Dates appear in a different orderRegional date interpretationColumn data type and locale settings

For example, a CSV field containing "Delhi, India" should normally remain in one cell when quotation marks are used correctly. If the import settings do not recognise the quotation marks as text qualifiers, Excel may split the value at the comma.

See also  How to Remove Personal Metadata From Photos Before Sharing

Similarly, a product code such as 001245 may become 1245 if Excel interprets it as a number. That is a data-type issue, not an encoding problem. Choosing Text for the relevant column during import helps preserve the original value.

How to check whether the original CSV is damaged

Before changing or resaving a CSV file, check whether the original text is actually correct. Open a copy of the file in a plain-text editor such as Notepad or another editor that lets you inspect its encoding.

  • If the text looks correct in the editor but wrong in Excel, the issue is likely related to Excel’s import settings.
  • If the text is already incorrect in the editor, check the encoding used by the application that created the file.
  • If only some characters are affected, check whether the source data contains unsupported or incorrectly converted characters.
  • If the file looks correct in one application but not another, compare their encoding settings before modifying the original.

One important precaution: do not open a CSV with broken characters in Excel and save it over the original file before checking the import settings. Excel may save the incorrectly interpreted text, making it harder to recover the original content. Keep an untouched copy until you have confirmed that the imported data is correct.

Also Read

How to Compare Two PDF Documents Without Reading Every Page

Final Thoughts

When CSV files display strange characters in Excel, the file is not necessarily corrupted. In many cases, Excel is simply reading the text using the wrong character encoding.

Start by importing the CSV through Data > From Text/CSV and selecting the encoding used by the original file. UTF-8 is a common choice, particularly for files containing Hindi and other international characters. Check the preview before loading and keep an untouched copy of the original data. These small precautions can prevent incorrect text from spreading into reports, customer lists and other spreadsheets.

About the Author

Himanshu writes about technology, software tools and practical digital solutions.

One comment on “Why CSV Files Display Incorrect Characters When Opened in Excel”

Leave a Reply

Your email address will not be published. Required fields are marked *