Mojibake Generator & Repair

Reproduce character garbling, or undo it - the encoding is guessed for you.

✨ What you can do

  • Reproduce one piece of text as it would garble in ten encodings - Shift_JIS, EUC-JP, Latin-1, GBK and more
  • Paste garbled text and get repair candidates ranked by how readable the result is
  • When U+FFFD makes recovery impossible, the page says so instead of pretending
  • Runs entirely in your browser, with one-click copy and a shareable URL

🪄 Good for

Broken email or CSV

Garbling that looks like "ã‚ãªãŸ" is almost always fully recoverable.

Testing your own site

See exactly how a mis-declared charset renders, using real byte sequences.

Deliberate effects

Garble text on purpose for a horror or retro-computer look.

Teaching encodings

Show the same sentence side by side in every encoding.

🔒 Privacy

Your text is converted in the browser and never sent to a server. Only the share button sends the URL - which contains your text - to the shortening service.

❓ FAQ

Why does mojibake happen at all?

Text is stored as numbers, and an encoding is the agreement about which number means which character. Write with one agreement and read with another, and the same bytes come out as different characters.

Can "ã‚ãªãŸ" style garbling be fixed?

Almost always. That shape is UTF-8 bytes read as Windows-1252, where every byte simply became a different character - no information was lost, so pasting it into Repair brings the original back.

Why can't the Shift_JIS style be fixed?

Byte sequences that do not exist in Shift_JIS are replaced with U+FFFD as they are decoded, and that replacement throws the original numbers away. No tool can recover them; you have to reopen the original file with the right encoding.

Why are several candidates shown?

Garbled text alone does not say which encoding was used to read it, so every candidate is tried and ranked by how naturally the result reads. The top one is usually right, though short strings can fool it.

Is my text uploaded anywhere?

No. All conversion happens in the browser. Only the share button sends anything, and only the URL you asked it to shorten.

Can I garble emoji and half-width katakana?

Yes, but many encodings cannot represent those characters at all, so they come out as "?" or U+FFFD. Emoji exist in almost no encoding other than UTF-8, so garbling loses them.

🔗 Related tools

Mode

How UTF-8 text looks when read as each of these encodings instead.

How it garbles

Enter some text to see the result here.