Archive sample files

ZIP, TAR and GZ archives in exact sizes for testing extraction, limits and bulk uploads.

Formats in this category

FormatWhat it isSizes
ZIP sample files.zip application/zipThe most common archive format: many files compressed individually in one container.1 KB to 20 MB
TAR sample files.tar application/x-tarThe Unix archive format: files concatenated with headers, without compression.10 KB to 10 MB
GZ sample files.gz application/gzipA single compressed file. The compression used for web responses and Unix tools.1 KB to 10 MB

About these files

Archives are a risky kind of upload. One small file can unpack into thousands of entries, write outside its target folder or expand to exhaust a disk. Testing with well-behaved archives first establishes that the normal path works before you test the hostile ones.

These samples are deliberately tame: a few readable text files and one payload of random bytes that sets the size.

Ready-made samples

Hand-designed files with realistic content or a specific edge case.

Curated sample files: Archives
FileFormatSizeContentsDownload
Sample .tar.gz archive (double extension)sample-archive.tar.gz GZ 1.02 KB1,041 bytes Entries: 3 files in 1 folder Download GZ
Corrupted ZIP file for testing (CRC error)sample-zip-corrupted.zip ZIP 5.19 KB5,316 bytes Damage: CRC-32 mismatch in data/payload.bin Download ZIP

Popular downloads by size

Jump straight to a file. Every size is exact to the byte.

Or browse every format at one size: 1 KB, 5 KB, 10 KB, 25 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, 5 MB, 10 MB, 20 MB.

What to test

Related categories

Archive files: questions

Do you provide zip bombs or malicious archives?
No. Every archive here is safe to extract. For hostile inputs, build them yourself in an isolated environment.

Engineering test checklist for archive sample files

When designing automated integration suites for archives pipelines, QA engineers must validate three distinct layers: binary container framing, metadata extraction accuracy, and resource-bounded parsing under concurrent load.

Verification layerTarget assertion for archivesRecommended test fixture or tool
1. Signature & MIME checkConfirm backend inspects leading magic bytes rather than trusting the client Content-Type header for archives uploadsMagic-Byte File Inspector & Spoofed-Extension Fixtures
2. Boundary byte sizesTest minimum valid header size, 1 MB default proxy limit, 10 MB application ceiling, and 50 MB+ streaming transfersSize Buckets (1 KB–1 GB) & In-Browser Generator
3. Corrupt payload handlingVerify that truncated streams or malformed headers in archives return HTTP 400/422 instead of crashing the workerBroken-File QA Suite & errors-400.json
4. Checksum reproducibilityAssert that round-trip storage in cloud object storage preserves the exact byte length and SHA-256 digestSHA-256 Checksum Directory

Common failure points in archives ingestion workflows