5 MB TIFF sample file
A TIFF file of exactly 5,242,880 bytes. It is a valid Tagged Image File Format file, generated for this site and checked with an independent parser. Use it wherever you need a 5 MB sample, test or dummy TIFF file.
Download
sample-tiff-5mb.tiff
5 MB5,242,880 bytes
Download 5 MB TIFFCreated in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.
- Type
- image/tiff
- SHA-256
b0c57786b586290e0822ce9445d14a12d488f0dfffc9274e8fe58f3edef0ed0b- Delivery
- Created in your browser. Files of 2 MB and more have no direct URL (why).
What is in this file
An uncompressed 1541 × 1134 test card in a single strip, after one image file directory of 16 tags. 138 bytes of filler in the ImageDescription tag bring the file to the exact size.
| Dimensions | 1,541 × 1,134 px |
|---|---|
| Colour | 8-bit RGB (24 bits per pixel) |
| Compression | None |
| Byte order | Little-endian (II) |
| Layout | One strip, one image directory |
| Resolution | 72 dpi |
First bytes of the file
The first 64 bytes of sample-tiff-5mb.tiff as a hex dump: offset, bytes, then the same bytes as text. The TIFF signature is 49 49 2A 00.
00000000 49 49 2a 00 08 00 00 00 10 00 fe 00 04 00 01 00 |II*.............|
00000010 00 00 00 00 00 00 00 01 04 00 01 00 00 00 05 06 |................|
00000020 00 00 01 01 04 00 01 00 00 00 6e 04 00 00 02 01 |..........n.....|
00000030 03 00 03 00 00 00 ce 00 00 00 03 01 03 00 01 00 |................|Preview
TIFF files cannot be shown in a browser. Download the file and open it in an application that reads TIFF, such as Adobe Photoshop and GIMP.
Where 5 MB matters
A 5,242,880-byte file: the size of a phone photo and the minimum part size for S3 multipart uploads. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| PHP | 2 MB per uploaded file by default (upload_max_filesize) | A 5 MB upload fails on an untuned PHP installation. |
| Vercel Functions | 4.5 MB request body | Larger uploads must go directly to object storage. |
| Amazon S3 multipart upload | 5 MiB minimum part size | This file is exactly one minimum part. |
| AWS Lambda | 6 MB synchronous invocation payload | 5 MB of binary data exceeds it once base64-encoded. |
| Browser localStorage | About 5 MB per origin | Storing this file as text fills the quota. |
| Django | 2.5 MB in memory by default | Larger uploads are streamed to a temporary file instead of held in memory. |
Use this file for
- Testing image resizing and memory use
- Testing image libraries with large uncompressed input
- Verifying handling of both byte orders
Testing notes for TIFF
- A TIFF may hold many pages. Code that reads only the first directory silently drops the rest of a scanned document.
- Support for the compression schemes varies between libraries, so a file that opens in one tool can fail in another. The samples here are uncompressed, which every reader accepts.
Technical details
| File name | sample-tiff-5mb.tiff |
|---|---|
| Format | TIFF (Tagged Image File Format) |
| Extension | .tiff |
| MIME type | image/tiff |
| Size | 5,242,880 bytes (5 MB) |
| Kind | Binary |
| Signature | 49 49 2A 00 |
| SHA-256 | b0c57786b586290e0822ce9445d14a12d488f0dfffc9274e8fe58f3edef0ed0b |
| Created | 2026-10-14 |
| Validation | Exact size, signature bytes and structure checked when the generator was built; your copy is checked against the SHA-256 after it is created |
| Preview | Not available for this file; details only |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Images |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The bytes are the same every time and in every browser, so after saving it you can compare its checksum with the SHA-256 value above.
sha256sum sample-tiff-5mb.tiff # Linux
shasum -a 256 sample-tiff-5mb.tiff # macOSOn Windows, run Get-FileHash sample-tiff-5mb.tiff -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy, or use a 1 MB file, which has a direct URL.
Related files
Questions about this file
- Is this file exactly 5 MB?
- Yes. It is 5,242,880 bytes, which is 5 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 5 MB TIFF file?
- An uncompressed 1526 × 1145 test card in a single strip, after one image file directory of 14 tags. 778 bytes of filler in the ImageDescription tag bring the file to the exact size.
- Are the TIFF samples compressed?
- No. They hold 8-bit RGB pixels with no compression, in a single strip, in little-endian byte order. That is the baseline form of the format.