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 TIFF

Created 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.

Dimensions1,541 × 1,134 px
Colour8-bit RGB (24 bits per pixel)
CompressionNone
Byte orderLittle-endian (II)
LayoutOne strip, one image directory
Resolution72 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:

SystemLimitNote
PHP2 MB per uploaded file by default (upload_max_filesize)A 5 MB upload fails on an untuned PHP installation.
Vercel Functions4.5 MB request bodyLarger uploads must go directly to object storage.
Amazon S3 multipart upload5 MiB minimum part sizeThis file is exactly one minimum part.
AWS Lambda6 MB synchronous invocation payload5 MB of binary data exceeds it once base64-encoded.
Browser localStorageAbout 5 MB per originStoring this file as text fills the quota.
Django2.5 MB in memory by defaultLarger uploads are streamed to a temporary file instead of held in memory.

All 5 MB sample files

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.

TIFF format reference

Technical details

File namesample-tiff-5mb.tiff
FormatTIFF (Tagged Image File Format)
Extension.tiff
MIME typeimage/tiff
Size5,242,880 bytes (5 MB)
KindBinary
Signature49 49 2A 00
SHA-256b0c57786b586290e0822ce9445d14a12d488f0dfffc9274e8fe58f3edef0ed0b
Created2026-10-14
ValidationExact size, signature bytes and structure checked when the generator was built; your copy is checked against the SHA-256 after it is created
PreviewNot available for this file; details only
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryImages

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 # macOS

On 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.