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.
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
- Scans byte-by-byte for PK\x03\x04 Local File Headers to bypass missing Central Directories.
- Extracts intact Deflate/Stored entries and repairs legacy non-UTF-8 filename encodings.
- Rebuilds a standards-compliant UTF-8 ZIP archive with valid CRC32 checksums.
Exact Error Codes & System Messages Fixed
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
Repair corrupted SQLite 3 headers, pad truncated pages, extract sqlite_master schema, and carve readable records from active B-tree & freelist pages.
Bypass broken DBF record counters, decode legacy Windows/DOS codepages (CP1252, GB18030, Shift-JIS, CP866), filter soft-deleted rows, and export clean UTF-8 CSV.
Fix broken image headers, recalculate invalid PNG chunk CRCs, strip malformed JPEG EXIF blocks, and restore missing EOF markers.
Repair garbled encoding, malformed timestamps, inverted end times, and broken numbering so VLC, Premiere, and CapCut import cleanly.