Large Files · 21 files
Sample Large Binary Files
Random binary files at exact sizes from 1 KB to 500 MB. Use them to test upload limits, download speed and chunked transfers. Random data does not compress, so the size on the wire matches the file size.
All 21 large binary files
Download all with curl
# 21 files, 1.6 GB in total
while read -r url; do curl -LO --fail "$url"; done <<'EOF'
https://files.samplefiles.com/large-files/bin/sample-1kb.bin
https://files.samplefiles.com/large-files/bin/sample-10kb.bin
https://files.samplefiles.com/large-files/bin/sample-100kb.bin
https://files.samplefiles.com/large-files/bin/sample-500kb.bin
https://files.samplefiles.com/large-files/bin/sample-1mb.bin
https://files.samplefiles.com/large-files/bin/sample-2mb.bin
https://files.samplefiles.com/large-files/bin/sample-3mb.bin
https://files.samplefiles.com/large-files/bin/sample-5mb.bin
https://files.samplefiles.com/large-files/bin/sample-10mb.bin
https://files.samplefiles.com/large-files/bin/sample-15mb.bin
https://files.samplefiles.com/large-files/bin/sample-20mb.bin
https://files.samplefiles.com/large-files/bin/sample-25mb.bin
https://files.samplefiles.com/large-files/bin/sample-30mb.bin
https://files.samplefiles.com/large-files/bin/sample-50mb.bin
https://files.samplefiles.com/large-files/bin/sample-75mb.bin
https://files.samplefiles.com/large-files/bin/sample-100mb.bin
https://files.samplefiles.com/large-files/bin/sample-150mb.bin
https://files.samplefiles.com/large-files/bin/sample-200mb.bin
https://files.samplefiles.com/large-files/bin/sample-250mb.bin
https://files.samplefiles.com/large-files/bin/sample-300mb.bin
https://files.samplefiles.com/large-files/bin/sample-500mb.bin
EOF| File | Size | Details | Download |
|---|---|---|---|
| 1 KB test filesample-1kb.bin | 1 KB | Download | |
| 10 KB test filesample-10kb.bin | 10 KB | Download | |
| 100 KB test filesample-100kb.bin | 100 KB | Download | |
| 500 KB test filesample-500kb.bin | 500 KB | Download | |
| 1 MB test filesample-1mb.bin | 1 MB | Download | |
| 2 MB test filesample-2mb.bin | 2 MB | Download | |
| 3 MB test filesample-3mb.bin | 3 MB | Download | |
| 5 MB test filesample-5mb.bin | 5 MB | Download | |
| 10 MB test filesample-10mb.bin | 10 MB | Download | |
| 15 MB test filesample-15mb.bin | 15 MB | Download | |
| 20 MB test filesample-20mb.bin | 20 MB | Download | |
| 25 MB test filesample-25mb.bin | 25 MB | Download | |
| 30 MB test filesample-30mb.bin | 30 MB | Download | |
| 50 MB test filesample-50mb.bin | 50 MB | Download | |
| 75 MB test filesample-75mb.bin | 75 MB | Download | |
| 100 MB test filesample-100mb.bin | 100 MB | Download | |
| 150 MB test filesample-150mb.bin | 150 MB | Download | |
| 200 MB test filesample-200mb.bin | 200 MB | Download | |
| 250 MB test filesample-250mb.bin | 250 MB | Download | |
| 300 MB test filesample-300mb.bin | 300 MB | Download | |
| 500 MB test filesample-500mb.bin | 500 MB | 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.
FAQ
Are these exactly the stated size?
Yes, byte-exact in binary units: 100 MB means 100 × 1024 × 1024 bytes.