Guide · checked 23 November 2026

Fix garbled characters in a CSV in Excel for Mac

When a CSV shows odd characters instead of accents or symbols, the text is usually fine and the app read the bytes with the wrong encoding. Here is how to fix it, and what each way costs.

TabTool for macOS showing a CSV with emoji and accented text.
Excel opens UTF-8 normally
If the file was saved with a BOM. Microsoft gives other ways to open one without a BOM.
BOM bytes
A UTF-8 BOM is the three bytes EF BB BF at the start of a file.
Excel for Mac import
Data > From Text (Legacy) opens the Text Import Wizard, where File origin sets the character set.

A CSV is bytes. The encoding says which bytes mean which character. If the app guesses a different encoding than the one the file was written in, accented letters and symbols turn into other characters. The data is not changed on disk.

Microsoft says Excel opens a UTF-8 CSV normally if it was saved with a BOM, and gives other ways to open it if not. A UTF-8 file without a BOM is a common cause of garbled text. A file in a legacy encoding that Excel does not expect gives the same symptom.

Your options

  1. Excel: import with File origin

    On Excel for Mac, choose Data > From Text (Legacy), open the file in the Finder dialog, and in the Text Import Wizard set File origin to the character set of the file. Pick the character set that matches the file.

    Good for: Fixes the display without changing the file.

    Costs: You have to know the encoding. Microsoft's page does not list the available character sets, and says to leave File origin at its default in most cases.

  2. Excel: save as CSV UTF-8

    If you made the file in Excel, Save As offers CSV UTF-8 (Comma delimited) (.csv), which writes the sheet's data as UTF-8 text. Microsoft's Excel for Mac page marks this format as Excel 2016 for Mac only; check that it appears in your version.

    Good for: The file you pass on is UTF-8, which most other tools read.

    Costs: Only works for a file Excel can already show correctly. It saves the active sheet, and formulas and formatting are not kept.

  3. iconv

    iconv ships with macOS. -f names the encoding the file has now and -t the encoding you want. Replace WINDOWS-1252 with the real source encoding; iconv -l lists the names.

    Good for: Needs no install, and writes a new UTF-8 file next to the original.

    Costs: You must name the right source encoding. A wrong guess still produces a file, with the wrong characters in it. Converting to UTF-8 with iconv does not add a BOM.

    iconv -f WINDOWS-1252 -t UTF-8 in.csv > out.csv
  4. Add a UTF-8 BOM

    If the file is already UTF-8 and has no BOM, write the three BOM bytes in front of it. Microsoft says Excel opens a UTF-8 CSV normally when it has a BOM.

    Good for: One command, and the text is unchanged.

    Costs: Run it once: a second run adds a second BOM. Some tools do not expect a BOM at the start of a file.

    printf '\xEF\xBB\xBF' | cat - in.csv > out.csv
  5. TabTool

    A free, MIT-licensed CSV editor. It detects the encoding on open from UTF-8, Windows CP1252, MacRoman, and GBK, and shows it in the format bar. If the text looks wrong, choose another encoding there: TabTool re-reads the file from disk with it, and asks before it drops unsaved edits.

    Good for: You see the result at once, for any of the supported encodings, including Windows-1250 and Cyrillic, which detection does not try.

    Costs: Saving keeps the encoding and the UTF-8 BOM the file was opened with. Export can write another encoding, but Export never writes a UTF-8 BOM, even if the file had one. So TabTool will not fix an Excel problem that needs a BOM; use the BOM command above for that.

Try TabTool

Download on the Mac App Store

Sources · checked 23 November 2026