Paste garbled text
Wrong encoding (how it was misread)
Correct encoding (what it should be)
Fixed text
How this works: the tool re-encodes your pasted text back into raw bytes using the “wrong” encoding, then decodes those same bytes using the “correct” one — reversing exactly what went wrong the first time. Some mojibake is double-encoded and needs the fix run twice. Everything happens locally in your browser; nothing is uploaded.

Mojibake and Encoding Fixer

Mojibake is text that turns into strange symbols when a computer reads it with the wrong character encoding. Fix broken text from emails, CSV files, and old websites with the free Garbled Text Fixer.

Last updated: July 2026

You paste text into a document and see strange symbols instead of real letters. That is mojibake. Unlike standard text issues that require Unicode normalization, encoding issues stem from misread character sets. This page explains what causes it and how to fix it fast with the free Garbled Text Fixer.

What Is Mojibake and How Does Auto Detect Work?

Quick Answer Mojibake is broken text that shows up when a computer reads a file with the wrong character encoding. Pick the right encoding and the real text appears again.

Every letter on your screen is stored as a number. A character encoding tells the computer which number matches which letter.

UTF-8 is the most common encoding today. Older systems often used ISO-8859-1 or Windows-1252 instead, which can accidentally introduce hidden formatting or invisible characters into your documents.

When a file saved in one encoding gets opened with another, the numbers stop matching the right letters. The result is a string of odd symbols like é or ’ instead of normal words.

This pattern is called mojibake. It is a Japanese word that means broken or transformed characters.

Why I Built This Tool

I am Samar Waheed. I run AI Cleaner Text by myself. I started the site to clean up messy text from AI tools like ChatGPT and Claude.

Soon I noticed a related problem. People kept sending me CSV files and emails full of garbled symbols. The letters were broken because of a wrong encoding, not bad AI output.

So I built a separate fixer just for this. The Garbled Text Fixer detects the encoding and restores your text right in your browser. Nothing gets uploaded to a server. Your file stays on your device the whole time.

Common Encoding Scenarios and Validation

Broken text shows up in a few predictable places. Here is what usually causes it and how to fix each one.

ScenarioCauseFix
Email shows question marksWrong charset headerSwitch the header to UTF-8
CSV shows weird accentsSaved in Windows-1252, opened as UTF-8Auto detect and convert with the fixer
Chinese text shows boxesGBK or Big5 mismatchPick the correct CJK encoding
Old website text is garbledMissing meta charset tagAdd a UTF-8 meta tag to the page
Word import breaks on pasteLatin-1 versus UTF-8 clashReimport with the matched encoding

Why Encoding Errors Happen

Computers only understand numbers. Every character encoding maps numbers to letters in its own way.

ASCII was the first common encoding. It only covered basic English letters and numbers. Later encodings like ISO-8859-1 added accented letters for European languages.

Windows-1252 looks similar to ISO-8859-1 but is not identical. A few number slots point to different symbols. UTF-8 came later and can represent almost every language on earth.

Problems start when software guesses the wrong encoding for a file. The bytes stay the same but the letters shown change. Sometimes text gets encoded twice by mistake.

Real-World Case Study: Recovering a Corrupted CSV

I got a CSV export from an old database last year. Every accented name showed up as strange symbols. The file had been saved in Windows-1252 but opened as UTF-8 by default.

I ran it through the Garbled Text Fixer and picked the right source encoding. The names came back correct in under a minute.

Double Mojibake: When Text is Garbled Twice

This creates double mojibake, a harder pattern to reverse. The fixer checks common byte patterns to guess the original encoding on its own. Run the text through twice if the first pass still looks broken.

Common Misconceptions About Mojibake

Some people think mojibake means the data is gone. In most cases the original bytes are still there. Others think only old files get this problem. New files break too when apps guess the wrong charset.

Applications Across Domains

Data engineers use encoding tools to clean pipelines before loading files into a database. Developers fix broken strings from old APIs or scraped web pages. Digital humanities researchers restore old documents scanned from legacy systems. Support teams and marketing teams fix garbled customer messages and old exported newsletters.

Before and After Example

The fixer reads the broken bytes and maps them back to the correct letters. The layout stays the same.

Before
Café résumé
Text saved in UTF-8, misread as Windows-1252
After
Café résumé
Restored with the Garbled Text Fixer

How to Use This Tool (Fixed & Tested)

Fixing garbled text takes three steps. Everything runs in your browser. Nothing is uploaded, and nothing is stored.

1

Paste Your Garbled Text

Paste the broken text into the Garbled Text Fixer at aicleanertext.com.

2

Detect or Pick the Encoding

Let auto detect guess the source encoding, or pick one yourself from the list.

3

Copy the Fixed Text

Copy the restored text and paste it back wherever you need it.

Tips for Cleaner, More Reliable Text

Set every new project to save files as UTF-8 from the start. Add a charset meta tag to every HTML page you build. Keep a backup of the raw file before you try any fix.

Frequently Asked Questions

Answers to the most common questions about fixing mojibake.

What is mojibake?

Mojibake is text that looks like broken symbols because a computer read it with the wrong character encoding. The real letters are still there underneath.

How accurate is Auto Detect?

Auto detect works well for common encodings like UTF-8, Windows-1252, and ISO-8859-1. Rare or mixed encodings can need manual selection.

Why does the tool sometimes output replacement characters ()?

That symbol appears when a byte has no valid match in the chosen encoding. It means some data was lost before the fix.

Can I fix double-encoded text?

Yes. Run the text through the fixer twice, once for each layer of wrong encoding, until real words appear.

Does this tool support Chinese/Japanese/Korean encodings?

Yes. It supports Shift-JIS, GBK, Big5, GB18030, and EUC-KR along with common Western encodings.

Does this tool store or upload my text?

No. Everything runs in your browser. Your text never leaves your device or touches a server.

Is the Garbled Text Fixer free to use?

Yes. It is free, needs no signup, and works on any modern browser.

What is the difference between ISO-8859-1 and Windows-1252?

They share most letters but a few number slots differ. Windows-1252 adds symbols like curly quotes that ISO-8859-1 lacks.

Broken Text Is Easy to Fix

Free · No signup · No upload · Works on any device

Try the Tool →