Garbled Text Generator: Make It or Fix It
Make garbled text (mojibake) from real encoding errors, then copy and paste it, or paste broken text to try to fix it.
Garbled Text Generator Tool
Want inner letters shuffled instead? Use Scrambled on the corrupted text generator.
What Is Garbled Text?
Garbled text is text that shows the wrong characters. Most of the time it happens because text was saved in one character encoding and opened in another, so an apostrophe shows up as ’ and a name like Zoë or José comes out with extra symbols. The technical name is mojibake, from the Japanese for "character change".
This garbled text generator makes that kind of damage on purpose. It does not just sprinkle random symbols on your words. It runs your text through the same byte-level mix-up that breaks real websites, emails and spreadsheets, so the result looks like a genuine encoding failure. That makes it useful for props, puzzles and stories, and for testing whether your own software mangles text.
If you want the stacked-marks horror look instead, the Zalgo text generator and corrupted text generator are better fits. If you want to understand where all of these effects come from, read how glitch text works.
How the Garbling Works
Every character is stored as one or more bytes. UTF-8, the encoding most of the web uses, stores plain English letters as a single byte and everything else, like accents, curly quotes and emoji, as two to four bytes. Older single-byte encodings such as Windows-1252 and Latin-1 show one character per byte. If software reads UTF-8 bytes as Windows-1252, each byte of a multi-byte character gets its own character, and that is the junk you see.
Take the curly apostrophe. In UTF-8 it is three bytes: E2, 80 and 99. Read as Windows-1252, those bytes are ’. The table below shows the sequences you are most likely to run into, computed with the same method the tool uses.
| You see | It should be | Character |
|---|---|---|
| ’ | ’ | Right single quote (apostrophe) |
| ‘ | ‘ | Left single quote |
| “ | “ | Left double quote |
| †| ” | Right double quote |
| … | … | Ellipsis |
| – | – | En dash |
| — | U+2014 | Em dash (the long dash character) |
| é | é | e with acute |
| è | è | e with grave |
| ü | ü | u with umlaut |
| ö | ö | o with umlaut |
| ñ | ñ | n with tilde |
| ç | ç | c with cedilla |
| ß | ß | Sharp s |
| € | € | Euro sign |
| £ | £ | Pound sign |
Latin-1 and Windows-1252 differ in one range. Windows-1252 puts printable characters like the euro sign and curly quotes at byte values 128 to 159, while Latin-1 leaves them as invisible control codes. Browsers treat the "Latin-1" label as Windows-1252 (the WHATWG Encoding Standard (opens in new tab) lists "iso-8859-1" and "latin1" as labels for windows-1252), so the first style is the one you will meet most often. The Latin-1 style is here for the case where those hidden characters matter, such as when you are debugging a database.
The Four Styles Explained
| Style | What it does | Best for |
|---|---|---|
| UTF-8 read as Windows-1252 | Each byte of an accented character or curly quote becomes its own character | The most realistic look, props, screenshots, bug reports |
| UTF-8 read as Latin-1 | Same as above, but bytes 128 to 159 become invisible control characters | Testing database and file handling |
| Double Encoded | The garbled result gets garbled again, giving longer sequences | Heavily damaged text, harder puzzles |
| Single-byte read as UTF-8 | Characters that exist in Windows-1252 (accents, curly quotes, the euro sign) become the replacement character, a diamond with a question mark. Characters outside Windows-1252, such as Cyrillic, Japanese and emoji, become a plain question mark | Text where the original is gone for good |
The Accent Share slider decides how many letters get an accent before the error hits. At 1, a few letters change. At 10, about half of the vowels, n and c in your text do. Curly quotes and dashes are always converted when the option is on, since they are the most common real trigger.
How to Make or Fix Garbled Text
Pick a mode. Make Garbled Text creates mojibake. Fix Garbled Text repairs it.
Type or paste your text. To garble, use sentences with apostrophes, quotes or accents. To fix, paste the broken text exactly as you see it.
Choose an encoding error and a level. The output updates as you type. Press Reroll for a different pattern of accents.
Copy the result. Press Copy, then paste it where you need it. Use "Try fixing this output" to see the round trip.
When fixing, the tool tries each word as Windows-1252 and then Latin-1, decodes the bytes as UTF-8, and repeats up to four times for text that was garbled more than once. It tells you how many words it repaired and how many layers it found.
Why Text Gets Garbled in Real Life
Almost every case comes down to two parts of a system disagreeing about the encoding. The usual suspects:
- A web page with no declared encoding. Put
<meta charset="UTF-8">in the first 1,024 bytes of the page and save the file as UTF-8. - A database or connection set to the wrong encoding. In MySQL, the old
utf8setting only stores up to three bytes per character, so useutf8mb4. - CSV files opened in a spreadsheet. Excel can guess the wrong encoding for UTF-8 CSV files. Importing the file and choosing UTF-8, or saving it with a byte order mark, usually helps.
- Copying through several tools. Each hop between an email client, a word processor and a web form is another chance to mix encodings.
Once text has been saved through the wrong encoding and had unknown bytes replaced, it cannot be recovered from the damaged copy. Keep the original whenever you can.
Garbled Text vs Glitch, Zalgo and Corrupted Text
| Effect | How it is made | Can it be reversed? |
|---|---|---|
| Garbled text (this page) | A real character encoding mix-up applied to accents, quotes and symbols | Usually yes, with the fixer |
| Zalgo text | Unicode combining marks stacked above, through and below letters | Yes, by removing the marks |
| Corrupted text | Symbols, look-alike swaps, scrambled and deleted letters, and some scattered marks | Not reliably |
| Distorted text | Mostly wave, shimmer and noise effects built from combining marks, plus a few look-alike swaps | Not reliably |
Where to Use Garbled Text
- Testing software. Check that your forms, imports and exports keep accents and curly quotes intact.
- Fiction and games. Props for alternate reality games, damaged files, hacked notes and found documents.
- Puzzles and teaching. Show students what an encoding error looks like, then have them fix it.
- Bios and display names. Paste short garbled text into a display name or bio. Usernames and handles usually reject it.
Frequently Asked Questions
What is garbled text?
Garbled text is text that shows up as the wrong characters, usually because it was saved in one character encoding and opened in another. The most common version turns an apostrophe into ’ and an e with an accent into é. The technical name is mojibake. The word also gets used for a deliberate look: text that appears scrambled on purpose. This tool does the first kind, using the same byte-level mix-up that causes it in the real world.
Why does my text show ’ and é instead of normal characters?
Something read UTF-8 text as if it were Windows-1252 or Latin-1. A curly apostrophe takes three bytes in UTF-8, and each of those bytes got shown as its own character. Switch to Fix Garbled Text, paste what you see, and the tool will try to turn the bytes back into the original characters. If you are the site owner, the permanent fix is to make the page, the server and the database all agree on UTF-8.
Can this tool fix garbled text?
Often, yes. If the damage came from a character encoding mix-up and every character is still there, the fixer can reverse it, including text that was garbled twice. It cannot repair text that already shows the replacement character (a diamond or box with a question mark) or a plain question mark in place of a letter, because those mean the original bytes were thrown away. In that case the only fix is to get the text from the original source again.
Why did my plain English text not change?
Plain English letters, digits and basic punctuation use the same single byte in every common encoding, so a mix-up cannot touch them. Real mojibake only hits accents, curly quotes, dashes and symbols. That is why the generator has an option to add accents and curly quotes first. Turn it off if you only want characters you typed yourself to be garbled.
Is this the same as glitch text or Zalgo text?
No. Glitch and Zalgo text stack combining marks on top of letters for a creepy or broken look, and the result is meant to be seen as an effect. Garbled text from this tool looks like a real encoding failure and can be reversed. For the marks-and-symbols look, use the Zalgo generator, the corrupted text generator or the distorted text generator instead.
Can I use garbled text in a Discord, Instagram or TikTok name?
Use the display name or bio fields, not the username or handle. Handles on those platforms accept a limited set of characters, so garbled output will be rejected or stripped there. Plain Unicode in display names and bios generally pastes fine, but each app changes its rules over time, so test with a throwaway post first.
Can I use it to test my own website for encoding bugs?
Yes, that is one of the best uses. Paste text with accents, curly quotes and non-Latin scripts into a form, save it, and read it back. If it comes back changed, something in the chain is not using UTF-8. Generate garbled samples here and compare them with what your page shows to see which encoding pair caused the problem.
Is the garbled text generator free and private?
Yes. There is no account and no usage limit. Both modes use your browser's built-in text encoder and decoder, so the bytes are worked out on your device and nothing you type or paste is sent to a server.
More Free Text Tools
If you want stacked marks, scrambled letters or decorative Unicode instead of encoding errors, these pages cover them.