Free ZIP sample, test and dummy files

The most common archive format: many files compressed individually in one container. Download valid ZIP test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.zip
MIME type
application/zip
Kind
Binary
Category
Archives

Create a ZIP file of any size

Choose any size from 322 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

ZIP files by size

Every file below is a valid ZIP archive file of exactly the stated size. Open a file's page for its checksum and contents. ZIP files cannot be displayed by a browser, so their pages show the file's details instead of a preview.

ZIP sample files by size
FileSizeContentsDownload
1 KB ZIP samplesample-zip-1kb.zip 1 KB1,024 bytes Entries: 2 Download ZIP
5 KB ZIP samplesample-zip-5kb.zip 5 KB5,120 bytes Entries: 4 Download ZIP
10 KB ZIP samplesample-zip-10kb.zip 10 KB10,240 bytes Entries: 4 Download ZIP
25 KB ZIP samplesample-zip-25kb.zip 25 KB25,600 bytes Entries: 4 Download ZIP
50 KB ZIP samplesample-zip-50kb.zip 50 KB51,200 bytes Entries: 4 Download ZIP
100 KB ZIP samplesample-zip-100kb.zip 100 KB102,400 bytes Entries: 4 Download ZIP
200 KB ZIP samplesample-zip-200kb.zip 200 KB204,800 bytes Entries: 4 Download ZIP
500 KB ZIP samplesample-zip-500kb.zip 500 KB512,000 bytes Entries: 4 Download ZIP
1 MB ZIP samplesample-zip-1mb.zip 1 MB1,048,576 bytes Entries: 4 Download ZIP
2 MB ZIP samplesample-zip-2mb.zip 2 MB2,097,152 bytes Entries: 4 Download ZIP
3 MB ZIP samplesample-zip-3mb.zip 3 MB3,145,728 bytes Entries: 4 Download ZIP
5 MB ZIP samplesample-zip-5mb.zip 5 MB5,242,880 bytes Entries: 4 Download ZIP
10 MB ZIP samplesample-zip-10mb.zip 10 MB10,485,760 bytes Entries: 4 Download ZIP
15 MB ZIP samplesample-zip-15mb.zip 15 MB15,728,640 bytes Entries: 4 Download ZIP
20 MB ZIP samplesample-zip-20mb.zip 20 MB20,971,520 bytes Entries: 4 Download ZIP
25 MB ZIP samplesample-zip-25mb.zip 25 MB26,214,400 bytes Entries: 4 Download ZIP
30 MB ZIP samplesample-zip-30mb.zip 30 MB31,457,280 bytes Entries: 4 Download ZIP
50 MB ZIP samplesample-zip-50mb.zip 50 MB52,428,800 bytes Entries: 4 Download ZIP
100 MB ZIP samplesample-zip-100mb.zip 100 MB104,857,600 bytes Entries: 4 Download ZIP

More ZIP samples

Hand-designed files with realistic content or a specific edge case. Files described as corrupted or truncated are invalid on purpose, for testing how software reacts to a damaged ZIP file.

Curated ZIP sample files
FileSizeContentsDownload
Corrupted ZIP file for testing (CRC error)sample-zip-corrupted.zip 5.19 KB5,316 bytes Damage: CRC-32 mismatch in data/payload.bin Download ZIP

What is a ZIP file?

A ZIP archive stores files one after another, each compressed separately, followed by a central directory that lists every entry. Readers find the directory by scanning backwards from the end of the file.

Because entries are independent, a single file can be extracted without reading the rest. The format also underlies DOCX, XLSX, EPUB, JAR and APK files.

How to recognise a ZIP file

Software recognises a ZIP file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.

The first bytes of every file. An empty archive starts with 50 4B 05 06.
Extension.zip
MIME typeapplication/zip
Also seen asapplication/x-zip-compressed
SpecificationPKWARE APPNOTE
CompressionDeflate or none per entry; others are optional
DirectoryAt the end of the file
Large filesZIP64 extensions beyond 4 GB or 65,535 entries

What to test for

These are the behaviours that most often go wrong when software handles ZIP files.

Strengths of ZIP

  • Built into Windows, macOS and Linux desktops.
  • Any single file can be extracted without reading the rest of the archive.

Limitations of ZIP

  • Compresses each file separately, so it is less efficient than tar with gzip for many small files.
  • File-name encoding and Unix permissions are handled inconsistently.

Typical uses of ZIP test files

  • Testing archive uploads and extraction
  • Checking limits on extracted size and entry count
  • Testing bulk import features

Software that opens ZIP

  • Windows Explorer, macOS Archive Utility, 7-Zip
  • zip and unzip command-line tools
  • Standard libraries in most programming languages

Specifications

Related

ZIP sample files: questions

What is inside the sample ZIP files?
A README, a small CSV file, a small JSON file and a payload.bin entry of pseudo-random bytes that sets the archive size. The smallest archives hold fewer entries.
Are the archives encrypted?
No. They are not encrypted or password-protected and do not use ZIP64.
What is the MIME type of a ZIP file?
The MIME type is application/zip. You will also meet application/x-zip-compressed in practice. The file extension is .zip.
Is a sample ZIP file the same as a dummy or example ZIP file?
Yes. Sample, test, dummy and example ZIP files are different names for the same thing: a ZIP file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy ZIP file.