A 1 MB GIF test file
File info
| File Format | GIF |
|---|---|
| File Size | 1 MB(1,048,576 bytes) |
| MIME Type | image/gif |
| MD5 | ec27a902368db2474c766bda5cd6628c |
| SHA-1 | 495d7bc236e4599eb44427c3da975691037cbdd0 |
| SHA-256 | cc5d3cb01eb360faf29e6bd364ef95c0da57e87c944ae0ee3703c376e58ac45c |
Download via command line
curl -O https://devlab.itlibra.com/files/images/gif/gif-1mb.gif
wget https://devlab.itlibra.com/files/images/gif/gif-1mb.gif
Invoke-WebRequest -Uri "https://devlab.itlibra.com/files/images/gif/gif-1mb.gif" -OutFile "gif-1mb.gif"
About this file
A 1 MB test file in GIF format, sized to exactly 1,048,576 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,365 KB.
Estimating a photographic GIF at roughly 0.5 bytes per pixel, this size works out to around 2,097,152 pixels — about 1,672 × 1,254 px at a 4:3 aspect ratio. Compression varies enormously with image content, so treat this purely as an order-of-magnitude figure.
What to check for this format
GIF begins with the ASCII signature GIF87a or GIF89a and uses a palette of up to 256 colours. Because it can hold multiple animation frames, code written for single-frame images either grabs only the first frame or, worse, expands every frame and consumes far more memory than expected.
- Whether resizing an animated GIF preserves the animation or flattens it to a still
- Whether thumbnail generation correctly extracts the first frame
- Whether you cap memory when expanding all frames — usage grows with frame count multiplied by resolution
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.
Other sizes in the same format
Other formats at the same size
1,048,576 bytes
image/png
1,048,576 bytes
image/jpeg
1,048,576 bytes
image/webp
1,048,576 bytes
application/pdf
1,048,764 bytes
application/zip
1,048,576 bytes
text/csv
1,048,578 bytes
application/json
1,048,576 bytes
text/plain