Images · Updated · All file signatures

BMP File Signature & Magic Bytes (.bmp — 42 4D)

Windows Bitmap (BMP) stores uncompressed (or lightly RLE-compressed) raster pixel arrays originating in OS/2 and Microsoft Windows. Standard BMP files begin at byte 0 with the 2-byte ASCII magic BM (42 4D) followed by a 12-byte file header and a Device-Independent Bitmap (DIB) header (minimum 26 bytes total).

Signature & identification summary

Detected format nameBMP image
Hexadecimal magic bytes42 4D
ASCII / marker previewBM
Byte offset0
MIME typeimage/bmp
Common extensions & aliases.bmp, .dib

Check whether your file really is BMP.

Drop any file into File Sniff’s free local browser checker to verify its 42 4D signature and spot misleading extensions—without uploading a single byte.

Check a file’s real type ↗︎

Container & byte-layout notes

Because 2 bytes (BM) alone could match ordinary English text starting with “BM…”, careful detectors verify file length and header bounds alongside the BM signature. Pixel rows in classic bottom-up BMPs are stored from the bottom scanline upward, padded to 4-byte multiples.

Extension mismatches & common pitfalls

Legacy Windows medical, industrial and CAD software occasionally writes uncompressed BM bitmaps with a .jpg or .raw suffix, resulting in multi-megabyte files.

Which apps open BMP files?

PlatformCompatible applications & tools
Mac (macOS)Preview, Safari, Photos, Pixelmator Pro, Photoshop
iPhone & iPadPhotos, Files Quick Look, Safari
WindowsPaint, Photos, File Explorer, every Windows imaging tool

Free local tools & related guides

Inspect files & folders natively
on Mac, iPhone & iPad.

The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.

Download on the App Store ↗︎