First CHToolsFree web tools

FIRST CH TOOLS / Text / 109 CSV MOJIBAKE FIXER

Fix a CSV That Shows Garbled Characters in Excel

Does your CSV turn “José” into “José” when you open it in Excel? Drop it in to check its encoding (how the characters are stored) and save it again in a form Excel opens correctly.

Sample: members.csv
Encoding
-
Line endings
-
Size
-

Opened in Excel as it is

Scroll sideways →

After saving again

Scroll sideways →

Save as

The file is read and written inside this browser. Nothing is sent or stored.

From the garbled sample to a file Excel reads, in three steps

  1. Add the CSVChoose the garbled file. It shows the encoding, line endings and size, then how Excel reads it now next to how it will read after saving.members.csv → UTF-8, no BOM / Excel shows “José”
  2. Pick a formatIf unsure, choose UTF-8 with BOM. Choose Shift_JIS only when the receiving system asks for it, and decide replacements for the red characters.José → Jose 🎂 → Delete
  3. Save and open in ExcelThe format is added to the file name. Double-click to open it.members_utf8bom.csv / members_sjis.csv

Why Excel garbles CSV files

A CSV is plain text and often carries no mark saying which encoding it uses. When you double-click a CSV without that mark, Excel reads it in the computer’s legacy code page, so a UTF-8 file exported from a web service or Google Sheets turns “é” into “é” (or Japanese into strings of “縺”). Saving it with a BOM (a 3-byte mark at the start that says “UTF-8”) makes Excel open it as UTF-8 (Microsoft Support: “Opening CSV UTF-8 files correctly in Excel”, checked 2026-12-02).

Characters lost in Shift_JIS

Shift_JIS holds a limited set of characters, so emoji, accented letters such as “é” and rare kanji such as “𠮷” cannot be written. These are shown in red, and you choose a replacement (“e”, “吉”) or “Delete” before saving; nothing is silently turned into “?”. Characters such as “髙”, “①” and “㈱” exist only in the Windows version of Shift_JIS (CP932): Excel reads them, but systems limited to the older standard character set (JIS X 0208) may not, so they are shown in yellow and can be replaced too. The conversion table is built by reading every two-byte pair with this browser’s Shift_JIS decoder (the browsers’ shared encoding rules, WHATWG Encoding Standard).

Encodings it reads, and those it does not

It detects six encodings: UTF-8 (with or without BOM), Shift_JIS, EUC-JP, JIS (ISO-2022-JP) and UTF-16 (with or without BOM). Files in Latin-1, Chinese or Korean encodings (GB18030, Big5, EUC-KR) are not detected or read. If detection is wrong, choose the encoding under “Read as”. Pasted text is restored only when it is UTF-8 that was read as Windows-1252 or Shift_JIS.

What it does not do

It does not edit, total or sort cells, restore leading zeros or values Excel turned into dates, or unify full-width and half-width characters. Only the line breaks between rows are changed; line breaks inside cells stay as they are. To compare two CSVs, use the Text & Code Diff Checker. AI agents can run the same check and conversion as described on Use from AI.

Advertisement