Mojibake Fixer

Paste garbled text to auto-detect the original encoding and fix it.

Last updated: 2026/10/16 Text Feedback & bug reports
Garbled Text
Drop the file here
Drag & drop a text file here
No data is sent to servers. All processing happens in your browser.
Detected Encoding: -
Mojibake Pattern: -
Confidence: -

Best Result (Recommended)

How to Use

1

Enter Garbled Text

Paste the garbled text from emails or old files into the text area, or drag & drop a text file.

2

Click Fix

Click the "Fix Text" button to auto-detect the encoding and apply the best fix.

3

Review & Copy

Check the result and copy or download it. Compare multiple candidates if available.

About Mojibake Fixer

Mojibake occurs when text encoding is misinterpreted. This tool auto-detects the original encoding of garbled text and restores it. It supports conversions between UTF-8, Shift_JIS, EUC-JP, and ISO-2022-JP, and can also decode MIME headers and Base64. All processing happens in your browser, so your text is never sent to any server.

Features

  • Auto Encoding DetectionAnalyzes garbled text patterns with high accuracy to automatically identify the original encoding.
  • Multiple CandidatesShows multiple fix candidates with confidence scores so you can pick the best result.
  • Email Mojibake SupportHandles Base64, Quoted-Printable, and MIME header mojibake automatically.
  • Privacy ProtectedAll processing happens in your browser. Text is never sent to servers.

Use Cases

  • Decoding garbled emails (ISO-2022-JP, Base64, etc.)
  • Fixing old Shift_JIS/EUC-JP files
  • Restoring garbled text copied from websites
  • Fixing UTF-8/Shift_JIS database conversion errors
  • Resolving CSV file encoding issues

FAQ

Is the Mojibake Fixer free?
Yes, it is completely free. No registration required.
Is my text saved anywhere?
No, your text is never sent to or stored on our servers. All processing happens locally in your browser.
What types of mojibake can be fixed?
It supports misencoding between UTF-8, Shift_JIS (Windows-31J), EUC-JP, and ISO-2022-JP (JIS). It also handles Base64, Quoted-Printable, and MIME header decoding.
Can I fix garbled files?
Yes, you can drag & drop text files (.txt, .csv, etc.) or use the "Load File" button. Files are read as binary data for more accurate detection.
Are there mojibake types that cannot be fixed?
If the original characters have been completely replaced with "?" or replacement characters, restoration is difficult. Also, image-based garbled text is not supported. For best results, use the original file or data source.