Mojibake Decoder | Fix Garbled Text

Fix garbled text caused by character encoding errors. Paste your mojibake text below and click the button to decode it. The tool automatically detects and repairs text that was corrupted by encoding mismatches, such as UTF-8 text incorrectly interpreted as Latin-1 or Windows-1252.

What is Mojibake?

Mojibake (文字化け) is a Japanese term meaning “character garbling” that describes garbled text resulting from character encoding errors. When text encoded in one character set is decoded using a different character set, the result is often unreadable gibberish with strange symbols replacing the original characters.

Common Causes of Mojibake

Mojibake typically occurs in these scenarios:

How to Use the Mojibake Decoder

  1. Paste your garbled text: Copy the corrupted text and paste it into the text box above.
  2. Click “Fix Mojibake”: The tool will analyze and attempt to decode the text.
  3. Review the result: The fixed text replaces the original. An explanation shows what encoding issues were detected and corrected.
  4. Copy the fixed text: Use the corrected text wherever you need it.

Examples of Mojibake

Here are common examples of mojibake and their corrections:

Accented Characters

Smart Quotes and Punctuation

Symbols and Special Characters

Emojis

How the Decoder Works

The Mojibake Decoder uses multiple techniques to repair garbled text:

Preventing Mojibake

To avoid mojibake in your own work:

Character Encodings Explained

Understanding character encodings helps prevent and diagnose mojibake:

ASCII (American Standard Code for Information Interchange)

The original 7-bit encoding supporting 128 characters: basic Latin letters, numbers, and punctuation. Insufficient for international text.

Latin-1 (ISO-8859-1)

An 8-bit encoding extending ASCII with 128 additional characters for Western European languages. Cannot represent characters outside this limited set.

Windows-1252

Microsoft’s extension of Latin-1, adding smart quotes, bullets, and other typographic characters in positions 128–159. Common source of mojibake with curly quotes.

UTF-8 (Unicode Transformation Format)

The modern standard supporting all Unicode characters. Uses 1–4 bytes per character, remaining compatible with ASCII. UTF-8 is now the dominant encoding on the web.

Who Needs This Tool?

Benefits of Our Mojibake Decoder

Limitations

While this tool handles most common mojibake patterns, some cases may be difficult to repair: