10 KB BMP sample file

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

Download

sample-bmp-10kb.bmp

10 KB10,240 bytes

Download 10 KB BMP

Direct download. No sign-up and no waiting.

Type
image/bmp
SHA-256
21e80820b1cef88a38d33bf9872e4ae9a0adb1627cfa74157301ab3dd41e898a
Direct URL
https://sampletestfiles.com/downloads/bmp/sample-bmp-10kb.bmp

What is in this file

An uncompressed 67 × 49 test card. 190 bytes of unused space between the header and the pixel array bring the file to the exact size.

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

00000000  42 4d 00 28 00 00 00 00 00 00 f4 00 00 00 28 00  |BM.(..........(.|
00000010  00 00 43 00 00 00 31 00 00 00 01 00 18 00 00 00  |..C...1.........|
00000020  00 00 0c 27 00 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 10 KB matters

A 10,240-byte file that still arrives in the first round trip of a new connection. These are the default limits a file of this size is useful for testing:

SystemLimitNote
TCP initial congestion windowAbout 14.6 KB (10 segments)A 10 KB response fits in the first flight of packets; the 25 KB sample does not.
nginx and Apache request headers8 KB per header line by defaultData this large must go in the request body.
webpack asset modules8 KB by defaultAssets over the threshold are emitted as files instead of data URIs.

All 10 KB sample files

Use this file for

  • Checking thumbnail and icon handling
  • Testing decoders for legacy formats
  • Testing size limits with naturally large images

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-10kb.bmp
FormatBMP (Windows bitmap)
Extension.bmp
MIME typeimage/bmp
Size10,240 bytes (10 KB)
KindBinary
Signature42 4D
SHA-25621e80820b1cef88a38d33bf9872e4ae9a0adb1627cfa74157301ab3dd41e898a
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-10kb.bmp 'https://sampletestfiles.com/downloads/bmp/sample-bmp-10kb.bmp'
sha256sum sample-bmp-10kb.bmp     # Linux
shasum -a 256 sample-bmp-10kb.bmp # macOS

On Windows, run Get-FileHash sample-bmp-10kb.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 10 KB?
Yes. It is 10,240 bytes, which is 10 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 10 KB BMP file?
An uncompressed 67 × 49 test card. 190 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.