10 MB BMP sample

A BMP file of exactly 10,485,760 bytes. It is a valid Windows bitmap file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 10 MB sample, test or dummy BMP file.

Download

sample-bmp-10mb.bmp

10 MB10,485,760 bytes

Download 10 MB BMP

Created in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.

Type
image/bmp
SHA-256
baf0f7303330243754f8802df874bee07dd99560edbfcc2b8ac4cf50b85901bb
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

An uncompressed 2158 × 1619 test card. 1,062 bytes of unused space between the header and the pixel array bring the file to the exact size.

Dimensions2,158 × 1,619 px
Bit depth24-bit RGB
CompressionNone (BI_RGB)
HeaderBITMAPINFOHEADER (40 bytes)
Row orderBottom-up

First bytes of the file

The first 64 bytes of sample-bmp-10mb.bmp as a hex dump: offset, bytes, then the same bytes as text. The BMP signature is 42 4D.

00000000  42 4d 00 00 a0 00 00 00  00 00 5c 04 00 00 28 00 |BM........\...(.|
00000010  00 00 6e 08 00 00 53 06  00 00 01 00 18 00 00 00 |..n...S.........|
00000020  00 00 a4 fb 9f 00 13 0b  00 00 13 0b 00 00 00 00 |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

Preview

Creates the file in your browser and shows it here. Nothing large is downloaded from our server.

Where 10 MB matters

A 10,485,760-byte file: over the default limits of PHP, API Gateway and Spring Boot requests. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Amazon API Gateway10 MB payloadA 10 MB file in a multipart or base64 body is over the limit.
Spring Boot multipart10 MB per request by default (max-request-size)Exceeded once form overhead is added.
PHP8 MB POST body by default (post_max_size)Rejected before the script runs.
Amazon S3 multipart upload5 MiB minimum part sizeThis file splits into exactly two minimum-sized parts.
Email attachmentsCommonly 20 to 25 MB per message10 MB fits, at about 13.3 MB once encoded.

All 10 MB sample files

Use this file for

  • Testing image resizing and memory use
  • Checking that services convert BMP to a web format
  • Testing decoders for legacy formats

Testing notes for BMP

  • Row padding and bottom-up order are the usual causes of skewed or upside-down images in hand-written decoders.
  • Some validators accept BMP by MIME type but have no decoder for it, which fails later in the pipeline.

BMP format reference

Technical details

File namesample-bmp-10mb.bmp
FormatBMP (Windows bitmap)
Extension.bmp
MIME typeimage/bmp
Size10,485,760 bytes (10 MB)
KindBinary
Signature42 4D
SHA-256baf0f7303330243754f8802df874bee07dd99560edbfcc2b8ac4cf50b85901bb
Created2026-10-23
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryImages

Check the stated structure and checksum against your application requirements. 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 generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

sha256sum sample-bmp-10mb.bmp     # Linux
shasum -a 256 sample-bmp-10mb.bmp # macOS

On Windows, run Get-FileHash sample-bmp-10mb.bmp -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.

Related files

Questions about this file

Is this file exactly 10 MB?
Yes. It is 10,485,760 bytes, which is 10 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 10 MB BMP file?
An uncompressed 2158 × 1619 test card. 1,062 bytes of unused space between the header and the pixel array bring the file to the exact size.
What bit depth are the BMP samples?
24-bit RGB with no compression and no colour table.