Sample ZIP Files — Download Test Archives (Small, Medium, Large, Empty, Nested)

ZIP archive · .zip · MIME type application/zip

7 files22 B5.6 MBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample ZIP file that matches the case you need to test: three sizes of archive containing real images, documents, audio and data from this site; an empty ZIP with zero entries; a nested ZIP containing ZIPs two levels deep; a ZIP with 100 small files; and a ZIP stored without compression. Entry counts and compression methods are listed for each.

ZIP is the universal container — DOCX, XLSX, EPUB, JAR and APK are all ZIPs — and the most common compressed upload. Extraction code has to handle empty archives, deep nesting, many entries and unusual compression methods gracefully; these files cover each of those without being malicious.

Download sample ZIP files

FileDetailsSizeDownload
sample-archive-empty.zip
empty archive (0 entries)
0 entries22 B
22 bytes
Download ZIP
sample-archive-nested.zip
nested: ZIPs inside a ZIP
3 entries1 KB
1,058 bytes
Download ZIP
sample-archive-100-files.zip
100 small text files
100 entries35 KB
35,459 bytes
Download ZIP
sample-archive-small.zip
7 files • DEFLATE
7 entries745 KB
744,941 bytes
Download ZIP
sample-archive-stored-uncompressed.zip
STORED (no compression) method
6 entries801 KB
801,052 bytes
Download ZIP
sample-archive-medium.zip
5 files • DEFLATE
5 entries2.9 MB
2,853,623 bytes
Download ZIP
sample-archive-large.zip
23 files • DEFLATE
23 entries5.6 MB
5,621,723 bytes
Download ZIP
7 files · direct links · no sign-up · CORS enabled

Use these files from the command line or CI

Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.

# Download one file
curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/archives/zip/sample-archive-empty.zip

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-archive-empty.zip

# Machine-readable index of every sample file
curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="zip")'

ZIP format at a glance

Full nameZIP archive
Extensions.zip
MIME typeapplication/zip
StandardPKWARE APPNOTE; ISO/IEC 21320-1
CompressionDEFLATE (stored variant uses none)
StructureAll entries under pine-birch-samples/, no absolute paths or traversal
Magic bytes50 4B 03 04 ("PK"); empty ZIP is 50 4B 05 06

What people test with sample ZIP files

  • Extraction services and 'upload a ZIP' features
  • Empty-archive and zero-entry edge cases
  • Nested-archive recursion limits
  • Many-entry performance
  • Compression-method support (stored vs deflated)

Frequently asked questions

Are any of these zip bombs?

No. The nested file contains two tiny ZIPs; the 100-file archive holds 100 small text files; the large archive expands to roughly the size shown. Nothing expands disproportionately. They test correctness, not resource exhaustion.

Why is the empty ZIP 22 bytes?

That is the size of a ZIP end-of-central-directory record with no entries — the minimum valid ZIP. Many tools reject it; whether yours should is a product decision, and this file lets you make it deliberately.

Are these ZIP files safe to download?

Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.

Can I use the sample ZIP files commercially?

Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.

Can I hotlink these files or use them in CI?

Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).

Related sample files

Testing a file pipeline? We build them.

Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.

See how we can help
Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.