Large Files · 3 files
Sample Large ZIP Files
ZIP archives of 10 MB, 100 MB and 500 MB, each holding one random-data file — for upload forms that only accept archives.
All 3 large ZIP files
Download all with curl
# 3 files, 610 MB in total
while read -r url; do curl -LO --fail "$url"; done <<'EOF'
https://files.samplefiles.com/large-files/zip/sample-10mb.zip
https://files.samplefiles.com/large-files/zip/sample-100mb.zip
https://files.samplefiles.com/large-files/zip/sample-500mb.zip
EOF| File | Size | Details | Download |
|---|---|---|---|
| 10 MB payload ZIP (large-file test)sample-10mb.zip | 10 MB | 1 entry | Download |
| 100 MB payload ZIP (large-file test)sample-100mb.zip | 100 MB | 1 entry | Download |
| 500 MB payload ZIP (large-file test)sample-500mb.zip | 500 MB | 1 entry | Download |
Need 1 GB, 2 GB or 4 GB + 1 byte?
We host files up to 500 MB. Bigger test files are quicker to make than to download, and the boundaries that break software are 2 GB (2³¹ bytes, the signed 32-bit limit) and 4 GB (2³², the unsigned 32-bit and FAT32 limit). Use the in-browser generator for any exact size (for example 2 GB or 4 GB + 1 byte), or one of these commands:
# Random bytes: incompressible, so the bytes on the wire match the file size
head -c 1073741824 /dev/urandom > sample-1gb.bin # 1 GB
head -c 2147483648 /dev/urandom > sample-2gb.bin # 2 GB = 2^31 (signed 32-bit overflow)
head -c 4294967297 /dev/urandom > sample-4gb-plus-1.bin # 4 GB + 1 byte (unsigned 32-bit, FAT32)# Instant, zero-filled (sparse) files
truncate -s 4294967297 sample-4gb-plus-1.bin
fallocate -l 10G sample-10gb.bin# Instant, zero-filled file (size in bytes)
mkfile -n 4294967297 sample-4gb-plus-1.bin:: Command Prompt: instant, zero-filled (may need an administrator prompt)
fsutil file createnew sample-4gb-plus-1.bin 4294967297# Zero-filled, no admin rights needed
$f = [IO.File]::Create("$PWD\sample-4gb-plus-1.bin"); $f.SetLength(4294967297); $f.Close()
# Random bytes, 1 GB (1,024 chunks of 1 MB)
$b = New-Object byte[] 1MB; $r = [Security.Cryptography.RandomNumberGenerator]::Create()
$f = [IO.File]::Create("$PWD\sample-1gb.bin"); 1..1024 | % { $r.GetBytes($b); $f.Write($b, 0, $b.Length) }; $f.Close()Zero-filled files compress to almost nothing, so use random bytes when anything between you and the server (a proxy, rsync, or SSH compression) might compress the transfer. More detail in the guide How to create a test file of any size.