Free mojibake fixer

Fix garbled characters

Paste garbled text like “München” or “café” and copy the repaired version, even if it was mis-read more than once.

  • Free
  • No upload
  • No signup
Repaired text

Waiting for input …

Typical patterns

Almost always, UTF-8 was read as Windows-1252 or ISO-8859-1. In UTF-8 an accented letter takes two bytes, a dash or the euro sign three. The wrong program turns every byte into a character of its own, which produces these pairs:

Your text showsIt should read
ä ä
ö ö
ü ü
Ä Ä
Ö Ö
Ü Ü
ß ß
é é
– –
€ €
„ „

When the tool can’t help

The fixer repairs text that was read wrongly but kept intact. Three cases are out of its reach:

  • If the text contains the replacement character �, a program already threw the original bytes away. Those spots can’t be recovered. The source file is usually still fine and only needs to be read again with the right encoding.
  • Literal question marks, as in “M?nchen”, are gone for good. Nothing tells you which letter used to be there. Only the original file helps.
  • For a whole data file, find and replace is the wrong tool. Fix the encoding at export or import, or the problem comes back the next time the file is read.

Fix it at the source

The most common source is a CSV export from Excel. Use File → Save As and pick “CSV UTF-8 (comma delimited)”. The older “CSV (comma delimited)” format writes Windows-1252 on Windows, and the next program often reads it as UTF-8.

More causes and recipes for text editors, the command line and Python are in the guide Mojibake: understanding and fixing garbled characters.

Common questions

What is mojibake?
Mojibake is text made unreadable by a wrong character encoding, such as “é” instead of “é”. The word is Japanese and means roughly “transformed characters”.
Is my text sent anywhere?
No. The repair runs as a script in your browser. The text you paste never leaves your computer.
Does it work for French or Spanish accents?
Yes. The fixer reverses the wrong decoding for every character, including é, ñ, ç, the euro sign and curly quotes.

Upload your data, keep your accents

DataLion detects the encoding of a CSV file on import and converts it to UTF-8. Excel workbooks and SPSS files upload directly, with no CSV step in between. You start on the Free plan, no credit card required.

Start for free Data import in DataLion