Processed on this device
File formats at a glance.Formats

BMP file: bitmap structure, color depth and file size

.bmp

BMP is a classic Windows raster-image format. Many BMP files store pixels without compression, making them simple to read but much larger than PNG, JPEG or modern web formats.

Format at a glance

Full name
Bitmap Image File
File extensions
.bmp
MIME types
image/bmp
Category
Images
Compression
Lossless
Transparency
Depends on the content
Animation
No
Properties
Alpha channel

Suitable tools

What is this format?

A BMP file combines a file header, bitmap information, optional palettes and pixel rows. Rows are often padded to four-byte boundaries and may be stored bottom-up.

Different BMP variants support color depths, bit masks, alpha channels and lossless RLE compression. Applications do not implement every historic variant equally.

What is it used for?

  • Windows resources and legacy software
  • Uncompressed intermediate images
  • Simple pixel and test data
  • Legacy exchange with BMP-dependent applications

Which programs can open it?

  • Windows Photos and Paint
  • macOS Preview
  • GIMP, Krita and Photoshop
  • ImageMagick

Support across devices and browsers

Windows

Windows Photos or specialist image software opens BMP, sometimes with an extension.

macOS

Preview, Quick Look and image editors support compatible BMP files.

Linux

GIMP, Krita, ImageMagick and desktop viewers handle BMP depending on installed libraries.

Android

Gallery and editing apps support BMP depending on the system version.

iOS

Photos, Files and image applications open supported BMP variants.

Browsers

Native display and Canvas decoding depend on the browser; LocalFileLab uses local decoders when necessary.

Advantages

  • Simple and documented structure
  • Lossless storage of pixel values
  • Broad image-software support

Disadvantages

  • Usually very large files
  • Inconsistent alpha and color-profile support
  • Inefficient for websites and photographs

Comparison with alternatives

BMP vs. PNG

PNG compresses losslessly and supports transparency more consistently, replacing BMP in most workflows.

BMP vs. JPEG

JPEG is much smaller for photographs but changes image data through lossy compression.

BMP vs. TIFF

TIFF offers richer metadata, color spaces and compression options for professional work.

LocalFileLab support

InputSupported

BMP is recognized as an input. Image data is read locally through browser or WebAssembly decoders.

OutputSupported

BMP is available as a local output; available settings depend on the format.

CompressionSupported

LocalFileLab can compress BMP locally or package it in a supported archive; already compressed content will not necessarily become smaller.

PreviewSupported

A local preview is available when the browser can display or play the content.

MetadataNot supported

Complete preservation of format-specific metadata is not guaranteed.

Related formats

Frequently asked questions

Is BMP always uncompressed?

No. BMP supports RLE and other variants, although common files store pixels uncompressed or with simple masks.

Can BMP be transparent?

Some variants have an alpha channel, but interpretation is less reliable between programs than with PNG.

Why is BMP so large?

Uncompressed pixels require width times height times color depth, plus row padding and headers.