Sample ZIP Files — Free Download for Testing
Download free sample ZIP archive files for testing file extraction, upload handlers, and archive processing. Available from 1KB to 100MB. Includes password-protected and nested ZIP variants.
sample-1kb.zip
File details and verification
- Filename
- sample-1kb.zip
- Exact size
- 1,163 bytes
- Displayed size
- 1.1 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 04d104c11bef76e652a3fbabfdf32dd484a5391461ae4dc05b4dc79a56c8e8de
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-1kb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10kb.zip
File details and verification
- Filename
- sample-10kb.zip
- Exact size
- 11,097 bytes
- Displayed size
- 10.8 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- ed152a503c8f6aa597e7a02af51aee217c27775b8126edf0675b018bccb1f114
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-10kb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100kb.zip
File details and verification
- Filename
- sample-100kb.zip
- Exact size
- 106,174 bytes
- Displayed size
- 104 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 6121cd2d8a028e8e390fca16114f1146a1284948191354f67dd383825e78d950
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-100kb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-500kb.zip
File details and verification
- Filename
- sample-500kb.zip
- Exact size
- 522,444 bytes
- Displayed size
- 510 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 8bd1c1e127989ddaac1b0675ecd6f269ade00afdfc40397d805b67338ad514c1
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-500kb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-1mb.zip
File details and verification
- Filename
- sample-1mb.zip
- Exact size
- 1,102,644 bytes
- Displayed size
- 1.05 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- bb63fb5a55ce96b8533aab7e7a18a58321ce007a361a5e68880ef483f436b35b
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-1mb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-5mb.zip
File details and verification
- Filename
- sample-5mb.zip
- Exact size
- 5,503,944 bytes
- Displayed size
- 5.25 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- a6eab7be93fcbb76a3d28ad664389f3d714b6c6642b4a7cd256ac864196b5711
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-5mb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10mb.zip
File details and verification
- Filename
- sample-10mb.zip
- Exact size
- 11,005,644 bytes
- Displayed size
- 10.50 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 53dce6a1a24eec99df56d6bc419bd13da2f2d932dec62e277e0629b8f0b0decd
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-10mb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-50mb.zip
File details and verification
- Filename
- sample-50mb.zip
- Exact size
- 54,018,744 bytes
- Displayed size
- 51.52 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 56d8d428105b391f4929c6b51a2ce05f0855400a65e843550a3dcd184f738784
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-50mb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100mb.zip
File details and verification
- Filename
- sample-100mb.zip
- Exact size
- 108,035,244 bytes
- Displayed size
- 103 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 5b5f8226ec04c7cd3baab655c8378508488a03178197b0e98476da2dec71b27e
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-100mb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-1gb.zip
File details and verification
- Filename
- sample-1gb.zip
- Exact size
- 1,073,741,824 bytes
- Displayed size
- 1.00 GB
- Catalog status
- Valid catalog fixture
- SHA-256
- b4d96d4d3ffa8c00ecc4b9c8aedd78be1e83ac712e797966f3ede9ac975dc0f6
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- Note
- Contains one uncompressed generated payload.bin entry
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-1gb.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-with-password.zip
pw: test123
File details and verification
- Filename
- sample-with-password.zip
- Exact size
- 224 bytes
- Displayed size
- 224 B
- Catalog status
- Valid catalog fixture
- SHA-256
- 7afa7b76a147be1538ff479e7d00c6279957eff9a767e57dbbb5d8f2661f3790
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- Test password
- test123
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-with-password.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-nested.zip
File details and verification
- Filename
- sample-nested.zip
- Exact size
- 360 bytes
- Displayed size
- 360 B
- Catalog status
- Valid catalog fixture
- SHA-256
- 896aeada5019546da98408e8bc6fc4d4752545d34db97efe37a5a10b33745966
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-nested.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-many-files.zip
File details and verification
- Filename
- sample-many-files.zip
- Exact size
- 127,915 bytes
- Displayed size
- 125 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- aa018c218748fc662ef754c3f81605ca04b49260510240bc718800d8b40db38b
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-many-files.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-single-file.zip
File details and verification
- Filename
- sample-single-file.zip
- Exact size
- 105,173 bytes
- Displayed size
- 103 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 2ba88a345ecfffeb940fe12af2caa67c9a99fb64f12aa203a83183013b9dad20
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-single-file.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-corrupt.zip
File details and verification
- Filename
- sample-corrupt.zip
- Exact size
- 7,462 bytes
- Displayed size
- 7.3 KB
- Catalog status
- Intentionally invalid (negative test)
- SHA-256
- 6c347d65b20b777535772f782634484268e420d3051e174b12ae457993de308f
- Header signature
- Matched (ZIP local header)
- Verified on
- 2026-08-10
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/zip/sample-corrupt.zip
See how TrueFileSize generates and measures sample files, or review the editorial policy.
Use cases for sample ZIP files
- Testing ZIP file upload and extraction in web apps
- Verifying error handling for corrupt/invalid archives
- Testing password-protected archive support
- Load testing archive extraction performance
- Validating ZIP file size limits in applications
- Testing nested archive handling (ZIP inside ZIP)
ZIP file structure explained
[Local file header] → [File data] → [Data descriptor]
...repeated for each file...
[Central directory header] → [End of central directory]ZIP uses the DEFLATE algorithm for compression. Files inside can be individually extracted without decompressing the entire archive.
How to create a ZIP file
Windows
Right-click → Send to → Compressed (zipped) folderLinux / macOS
zip output.zip file1 file2 file3Node.js (archiver)
const archiver = require('archiver');
const output = fs.createWriteStream('output.zip');
const archive = archiver('zip', { zlib: { level: 9 } });
archive.pipe(output);
archive.file('data.txt', { name: 'data.txt' });
archive.finalize();Python
import zipfile
with zipfile.ZipFile('output.zip', 'w') as zf:
zf.write('data.txt')Testing with password-protected ZIP
Password: test123
Use to verify your app handles encrypted ZIP files correctly. Note: Legacy ZIP encryption (ZipCrypto) is weak — AES-256 ZIP encryption is not included in the standard ZIP spec.
Technical specifications
| Format | ZIP (PKZIP) |
| Compression | DEFLATE (most common) |
| Encryption | ZipCrypto (legacy, weak) |
| Max file size | 4 GB per file (ZIP64 for larger) |
| Platform | Universal — built into Windows, macOS, Linux |
Frequently Asked Questions
Are there any files inside the ZIP that could be harmful?
What compression method do you use in these ZIP files?
Why would I need a corrupt ZIP file for testing?
How do I test ZIP extraction in JavaScript/Node.js?
What is the maximum ZIP file size your tool should support?
Other archive formats
Related reading
How to Fix ZIP Extraction Errors: 7 Common Causes
Diagnose ZIP extraction errors caused by corruption, wrong file types, passwords, compression methods, filenames, disk limits, or unsafe paths.
Fix Unsupported File Type Errors — MIME Type & Extension Validation
Fix 'Unsupported file type' and 'Invalid file format' errors. Learn MIME type detection, magic bytes validation, extension whitelisting, and how to handle MIME type spoofing.
Preventing Zip Bomb Attacks — Detection and Safe Extraction
What is a zip bomb, how it works (42.zip, nested recursion, quine), detection techniques, safe extraction with size limits, and testing with sample ZIPs.