filerepair
All Tools ▾
Encoding Fix · Private & Free

Repair Corrupted ZIP & Fix Garbled Filenames

Salvage intact files from truncated archives and automatically convert legacy non-UTF-8 filenames (Western, Japanese, Korean, Cyrillic, Chinese) to clean UTF-8.

Drop your ZIP Archive (.zip) file here
Drag & drop anywhere or press⌘V·100% on-device · never leaves your browser
Try a sample:

Common Issues Handled

  • "End-of-central-directory signature not found (truncated archive)"
  • "CRC failed / Unexpected end of archive"
  • "Garbled mojibake filenames when extracting cross-platform ZIP archives on macOS/Linux"

How It Works

  1. Scans byte-by-byte for PK\x03\x04 Local File Headers to bypass missing Central Directories.
  2. Extracts intact Deflate/Stored entries and repairs legacy non-UTF-8 filename encodings.
  3. Rebuilds a standards-compliant UTF-8 ZIP archive with valid CRC32 checksums.

Exact Error Codes & System Messages Fixed

unzip / macOS Archive Utility
End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive.
Windows Explorer
Windows cannot open the folder. The Compressed (zipped) Folder is invalid. (Error 0x80004005)
7-Zip / WinRAR
Unexpected end of data / Headers Error / CRC failed in archived file
macOS Finder (Encoding)
Extracted filenames show mojibake characters like ªº¼½ or サンプル instead of Japanese/Chinese/European text

Why Truncated ZIPs Fail & Why Filenames Turn Into Mojibake

Standard unzip tools read a ZIP file backwards starting from the End-of-Central-Directory (EOCD) table at the very end. If a download stops at 98%, that footer is missing — so Windows Explorer and macOS Archive Utility immediately declare the entire archive invalid even though 98% of your files are completely intact at the front.

Filename garbling happens because older Windows archivers omit General Purpose Bit 11 (UTF-8 flag) and store filenames in local codepages (Windows-1252, Shift_JIS, EUC-KR, Windows-1251, GB18030, or Big5). When opened on macOS or Linux, those bytes are misinterpreted as Latin-1 or MacRoman.

What Can Be Repaired

  • Truncated ZIP files missing the Central Directory / EOCD footer
  • Garbled non-UTF-8 filenames across Western European, Japanese, Korean, Cyrillic, and Chinese locales
  • Leading junk bytes prepended before the first PK\x03\x04 Local File Header
  • Individual intact entries inside an archive containing one corrupt member

Honest Limitations

  • AES-256 or ZipCrypto password-encrypted archives
  • Multi-volume split archives (.z01, .z02) when volumes are missing
  • Deflate streams whose compressed payload was overwritten with zeros

Frequently Asked Questions

How does ZIP filename encoding repair work?

Older archivers omit the UTF-8 flag and write locale-specific bytes (Windows-1252, Shift_JIS, EUC-KR, Windows-1251, GB18030, etc.). FileRepair detects and transcodes them to standard UTF-8 with flag bit 11 set.

Can I choose the filename encoding manually if auto-detection guesses wrong?

Yes. Open "Advanced repair options" after loading your ZIP to explicitly pick Windows-1252, Shift_JIS, EUC-KR, Windows-1251, GB18030, or Big5 and re-run repair instantly.

Related File Tools