Skip to content
>_ TrueFileSize.com

Corrupt ZIP File for Testing

Download an intentionally corrupt ZIP file for testing error handling. This file has damaged headers — your application should detect it and show a meaningful error instead of crashing.

sample-corrupt.zip

7.2 KB
Verified file details
Filename
sample-corrupt.zip
Exact size
7,420 bytes
Displayed size
7.2 KB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-corrupt.zip

Other ZIP files

sample-1kb.zip

1.1 KB
Verified file details
Filename
sample-1kb.zip
Exact size
1,163 bytes
Displayed size
1.1 KB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-1kb.zip

sample-10kb.zip

10.8 KB
Verified file details
Filename
sample-10kb.zip
Exact size
11,097 bytes
Displayed size
10.8 KB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-10kb.zip

sample-100kb.zip

104 KB
Verified file details
Filename
sample-100kb.zip
Exact size
106,174 bytes
Displayed size
104 KB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-100kb.zip

sample-500kb.zip

510 KB
Verified file details
Filename
sample-500kb.zip
Exact size
522,444 bytes
Displayed size
510 KB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-500kb.zip

sample-1mb.zip

1.05 MB
Verified file details
Filename
sample-1mb.zip
Exact size
1,102,644 bytes
Displayed size
1.05 MB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-1mb.zip

sample-5mb.zip

5.25 MB
Verified file details
Filename
sample-5mb.zip
Exact size
5,503,944 bytes
Displayed size
5.25 MB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-5mb.zip

Frequently Asked Questions

Why would I need a corrupt ZIP file?
To test that your application gracefully handles invalid uploads. Users may accidentally upload corrupted files — your app should detect this and show a helpful error message, not crash or hang.
What is wrong with this ZIP file?
The file has intentionally damaged central directory headers. It will be detected as a ZIP by magic bytes but fail during extraction — testing your error recovery code path.

Other archive formats

Similar files in other formats

sample-corrupt.zip

7.2 KB
Verified file details
Filename
sample-corrupt.zip
Exact size
7,420 bytes
Displayed size
7.2 KB
MIME type
application/zip
Note
Damaged ZIP — local file headers present, central directory corrupted
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/corrupted/sample-corrupt.zip

sample-1mb.rar

1.00 MB
Verified file details
Filename
sample-1mb.rar
Exact size
1,048,658 bytes
Displayed size
1.00 MB
MIME type
application/vnd.rar
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/rar/sample-1mb.rar

sample-1mb.7z

1.00 MB
Verified file details
Filename
sample-1mb.7z
Exact size
1,048,789 bytes
Displayed size
1.00 MB
MIME type
application/x-7z-compressed
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/7z/sample-1mb.7z

sample-100kb.tar.gz

100 KB
Verified file details
Filename
sample-100kb.tar.gz
Exact size
102,400 bytes
Displayed size
100 KB
MIME type
application/octet-stream
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/tar-gz/sample-100kb.tar.gz