100 KB BMP sample file

A BMP file of exactly 102,400 bytes. It is a valid Windows bitmap file, generated for this site and checked with an independent parser.

Download

sample-bmp-100kb.bmp

100 KB102,400 bytes

Download 100 KB BMP

Direct download. No sign-up and no waiting.

Type
image/bmp
SHA-256
fb3f6f6464184301c736d0b9ec6399efa5f9f0520ee28780e117b8126d6ce7cd
Direct URL
https://sampletestfiles.com/downloads/bmp/sample-bmp-100kb.bmp

What is in this file

An uncompressed 213 × 159 test card. 586 bytes of unused space between the header and the pixel array bring the file to the exact size.

Dimensions213 × 159 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-100kb.bmp as a hex dump: offset, bytes, then the same bytes as text. The BMP signature is 42 4D.

00000000  42 4d 00 90 01 00 00 00 00 00 80 02 00 00 28 00  |BM............(.|
00000010  00 00 d5 00 00 00 9f 00 00 00 01 00 18 00 00 00  |................|
00000020  00 00 80 8d 01 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

Displays the file in your browser.

Where 100 KB matters

A 102,400-byte file that sits exactly on the default request-body limit of Express. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Express body parsers100 KB (102,400 bytes) by defaultA request body of exactly this size passes; anything larger returns 413 Payload Too Large.
Gmail message clippingAbout 102 KB of HTMLLonger messages are truncated behind a "view entire message" link.
Amazon DynamoDB items400 KB per item100 KB fits; the 500 KB sample does not.

All 100 KB sample files

Use this file for

  • Checking email size handling
  • Testing decoders for legacy formats
  • Testing size limits with naturally large images

Testing notes for BMP

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

BMP format reference

Technical details

File namesample-bmp-100kb.bmp
FormatBMP (Windows bitmap)
Extension.bmp
MIME typeimage/bmp
Size102,400 bytes (100 KB)
KindBinary
Signature42 4D
SHA-256fb3f6f6464184301c736d0b9ec6399efa5f9f0520ee28780e117b8126d6ce7cd
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; 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

Download from the command line and verify

Fetch the file with curl, then compare its checksum with the SHA-256 value above.

curl -o sample-bmp-100kb.bmp 'https://sampletestfiles.com/downloads/bmp/sample-bmp-100kb.bmp'
sha256sum sample-bmp-100kb.bmp     # Linux
shasum -a 256 sample-bmp-100kb.bmp # macOS

On Windows, run Get-FileHash sample-bmp-100kb.bmp -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

Related files

Questions about this file

Is this file exactly 100 KB?
Yes. It is 102,400 bytes, which is 100 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 100 KB BMP file?
An uncompressed 213 × 159 test card. 586 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.