Sample files for download testing

Files of exact size for testing download speed, range requests, resuming and integrity.

Testing downloads means answering four questions: does the file arrive complete, does it arrive unmodified, how fast does it arrive, and what happens when the connection drops. Files of exact, published size make each of these measurable.

Use the BIN samples for speed. Their random content cannot be compressed, so no proxy or CDN can make the transfer look faster than it is.

Recommended files

FileSizeWhy this oneDownload
1 MB BIN samplesample-bin-1mb.bin1 MB1,048,576 bytesQuick speed checkDownload BIN
10 MB BIN samplesample-bin-10mb.bin10 MB10,485,760 bytesBroadband speed testDownload BIN
10 MB MP4 samplesample-mp4-10mb.mp410 MB10,485,760 bytesRange requests and video seekingDownload MP4
File name with spacessample file name with spaces.txt34 B34 bytesFile-name handling in download headersDownload TXT
10 MB ZIP samplesample-zip-10mb.zip10 MB10,485,760 bytesIntegrity check with a self-verifying formatDownload ZIP

Checklist

  1. Check completeness

    Compare the size of the downloaded file with the byte count on the download page.

  2. Check integrity

    Compute the SHA-256 of the download and compare it with the published value.

  3. Measure speed properly

    Download an incompressible file several times and take the median; discard the first run if a cache is involved.

  4. Test range requests

    Request a byte range and expect 206 Partial Content with a Content-Range header.

  5. Test resume

    Interrupt a download, then resume it and verify the checksum of the finished file.

Guides

Related use cases

Frequently asked questions

Why is my downloaded file smaller than the stated size?
Either the transfer was cut short, or a tool saved a compressed response without decompressing it. Compare checksums to find out which.
How do I download only part of a file?
With curl, use the -r option, for example curl -r 0-1023 to fetch the first 1,024 bytes.