01 Text recovery

Fix mojibake and
garbled text.

Paste mojibake — ByteBack will test possible encoding chains, choose the most readable result, and show every step.

No serverWorks offlineStores nothing

PATH SETTINGS

What could have happened to the text?

Maximum combinations
21 characters

Or drop one local text file onto the form. The preview reads only the first 1000 characters.

02

How it works

Pasted text no longer contains the original bytes. ByteBack reconstructs them through a possible mistaken encoding, decodes them again, and ranks reversible results by readability.

03 · ByteBack

A practical guide to text recovery

What is mojibake?

Mojibake is readable text turned into unexpected characters because bytes were decoded with the wrong character encoding. ByteBack is a free browser tool that tests possible repair chains, ranks readable results, and shows the transformations. Your text is processed on your device.

How do I fix garbled text?

  1. Paste a damaged string into the editor. ByteBack analyzes it automatically, or you can press Fix encoding.
  2. Compare the recovered text with the original and inspect the encoding path. If needed, select the expected language or encodings.
  3. Copy the result you have checked. Keep the original: the most readable candidate is a suggestion, not a guarantee.

What ByteBack can do

  • Automatic and manual encoding repair with a step-by-step recovery path.
  • Keyboard-layout correction and transliteration into Cyrillic.
  • Decoding HTML entities, escape sequences, URL encoding and Base64.
  • Importing a local text file and downloading the converted result as UTF-8.
  • Local text processing and offline use in supported browsers.

Text repair requires a modern browser with JavaScript and Web Workers support.

Examples of recoverable text

Examples of recoverable text
Damaged textRecovered textWhat changed
ПриветПриветUTF-8 read as Windows-1251
FrançaisFrançaisUTF-8 read as Windows-1252
ghbdtnприветWrong keyboard layout; expected language: Russian

What cannot be recovered reliably?

If the original bytes were replaced with � (U+FFFD) or question marks, the missing characters cannot be determined reliably from that string alone. Try to obtain the original file or another copy. Short strings and mixed encodings can also have several plausible interpretations.

Frequently asked questions

Does ByteBack upload my text?

No. Repair and readability scoring run in a Web Worker in your browser. Pasted text is not sent to a ByteBack server or saved in localStorage. The hosting provider receives normal requests for the app files.

Can I fix UTF-8 and Windows-1251 mojibake?

Yes, when enough information is preserved. Try automatic detection, then compare candidates or choose UTF-8 as the original encoding and Windows-1251 as the mistaken interpretation.

Can ByteBack repair double encoding?

It tests multi-step repair chains up to the selected search depth. Inspect every step, since a longer chain is not automatically a better answer.

Can it fix a wrong keyboard layout?

Yes. Select the expected text language to help rank keyboard-layout and transliteration candidates. This is different from repairing an encoding mismatch.

Does it work offline?

After the app files have been cached on a supported browser, ByteBack can run offline. Open it online first; installation and offline support depend on your browser.

Is it free and does it require an account?

The tool is free to use in the browser, with no account, advertising or behavioral analytics.

About ByteBack

ByteBack is maintained by vyach-vasiliev. You can visit the developer’s public GitHub profile or send feedback with a reproducible example. Recovery is heuristic: always check important text against the original.

Technical references