Skip to content

A 1 MB ZIP test file

100% Free No signup Instant download Browser-only 5 languages
Free download(1 MB)

zip-1mb.zip

File info

File Format ZIP
File Size 1 MB(1,048,764 bytes)
MIME Type application/zip
MD5 187fce52fd78f14e20074cfdb5d09f88
SHA-1 a2d07ef7f0cd7102ce2235525b04de5b5ccaf51a
SHA-256 925dae377bd5b8db8f9907e762aca78b78fb69f0755db007e201653417cf4695

Download via command line

curl
curl -O https://devlab.itlibra.com/files/zip/zip-1mb.zip
wget
wget https://devlab.itlibra.com/files/zip/zip-1mb.zip
PowerShell
Invoke-WebRequest -Uri "https://devlab.itlibra.com/files/zip/zip-1mb.zip" -OutFile "zip-1mb.zip"

About this file

A 1 MB test file in ZIP format, sized to exactly 1,048,764 bytes. Free to download with no signup, for verifying upload limits and file-handling behaviour.

The MD5, SHA-1 and SHA-256 values listed above are the real digests of this file. Recomputing them after download confirms the transfer was not corrupted, and they double as known-good expected values when testing a hashing library.

What this size means in practice

1 MB is exactly the nginx client_max_body_size default (1m). Behind a reverse proxy where nobody set that directive, anything larger never reaches your application — nginx answers 413 Request Entity Too Large itself.

That makes it the ideal size for reproducing the classic incident where the app limit was raised to 10 MB yet uploads still fail at 1 MB. If the 413 never appears in your application log, the cause is almost always the proxy layer in front of it.

Getting a feel for this size

On a 10 Mbps link the transfer takes roughly 839 ms, and about 84 ms at 100 Mbps. Base64-encoded it grows to roughly 1,366 KB.

ZIP compression ratios differ by orders of magnitude depending on the contents: text-heavy archives expand three to five times, while already-compressed images or video barely change. Use this 1 MB archive to decide whether your disk-space checks need to account for the uncompressed size.

What to check for this format

ZIP starts with PK\x03\x04, but the listing of its contents — the central directory — lives at the end of the file. Reading only the beginning tells you nothing about the contents, and losing the tail makes extraction impossible.

  • Whether you cap the total uncompressed size — a zip bomb abuses the compression ratio so that a few KB expand to gigabytes
  • Whether entry names containing ../ are rejected — this is the Zip Slip directory-traversal attack
  • Whether you can extract while streaming, or must first write the whole archive to disk

FAQ

Is this file free to use?
Yes — fully free and no signup required. Use it for any commercial or non-commercial test/verification purpose.
What is inside the file?
Dummy data generated for testing — sized to match the listed size exactly.
What are the hash values for?
Verify integrity after download or use them as test data for hashing libraries.