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
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
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
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
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
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
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
sample-10mb.zip
Verified file details
- Filename
- sample-10mb.zip
- Exact size
- 11,005,644 bytes
- Displayed size
- 10.50 MB
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/zip/sample-10mb.zip
sample-50mb.zip
Verified file details
- Filename
- sample-50mb.zip
- Exact size
- 54,018,744 bytes
- Displayed size
- 51.52 MB
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/zip/sample-50mb.zip
sample-100mb.zip
Verified file details
- Filename
- sample-100mb.zip
- Exact size
- 108,035,244 bytes
- Displayed size
- 103 MB
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/zip/sample-100mb.zip
sample-with-password.zip
pw: test123
Verified file details
- Filename
- sample-with-password.zip
- Exact size
- 224 bytes
- Displayed size
- 224 B
- MIME type
- application/zip
- Test password
- test123
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/zip/sample-with-password.zip
sample-nested.zip
Verified file details
- Filename
- sample-nested.zip
- Exact size
- 360 bytes
- Displayed size
- 360 B
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/zip/sample-nested.zip
sample-many-files.zip
Verified file details
- Filename
- sample-many-files.zip
- Exact size
- 127,915 bytes
- Displayed size
- 125 KB
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/zip/sample-many-files.zip
sample-single-file.zip
Verified file details
- Filename
- sample-single-file.zip
- Exact size
- 105,173 bytes
- Displayed size
- 103 KB
- MIME type
- application/zip
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/zip/sample-single-file.zip
sample-corrupt.zip
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
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
PDF Parsing and Text Extraction — A Practical Guide
Extract text, metadata, and structure from PDF files with pdf.js and pdf-parse. Handle scanned PDFs with OCR. Sample PDFs from 1KB to 100MB for every test case.
Testing Word and Excel Uploads in Production
Validating DOCX and XLSX uploads — size limits, macro detection, corrupted files, and viewer compatibility. Sample office files for every edge case.
Chunked Video Upload with Resumable Transfers
Testing large video uploads with chunked, resumable transfers. tus protocol, multipart uploads, and progress tracking. Sample MP4 files up to 500MB.