Skip to main content
Image format guide

What is a BMP file?

BMP is one of the oldest image formats still in use. It is simple and lossless, which is exactly why the files are so big.

  • Uncompressed and lossless
  • Very large file sizes
  • Supported by almost every image editor

BMP stores uncompressed pixels. A full-screen image can easily be tens of megabytes, so it is rarely suitable for the web.

Why BMP files are huge

A BMP stores pixel values with little or no compression. A 4000 × 3000 image at 24 bits per pixel needs roughly 36 MB before any file overhead. JPG or WebP can hold a visually similar photo in a few hundred kilobytes because they exploit redundancy in the image.

BMP survives in industrial software and old workflows where simplicity matters more than size. For sharing, web use or storage, converting to JPG for photographs or PNG for graphics is almost always the better choice.

BMP stands for bitmap, and it is one of the oldest image file formats still in common use. Its simplicity is the whole point: a file header, an information header describing width, height and colour depth, and then rows of pixel values. There is little or no compression, so the bytes on disk correspond almost directly to the pixels in memory. That makes the format trivial to parse, which is why industrial software and old Windows applications still rely on it.

The size follows from that design. A 4,000 by 3,000 pixel image at 24 bits per pixel needs about 36 megabytes of raw pixel data before any overhead. A visually similar JPG might be a few hundred kilobytes. Each row is also padded to a four-byte boundary, so widths that are not multiples of four carry a small extra cost. People often discover BMP files only when a scanner or a legacy program exports one and the resulting file will not fit in an email.

Pixel order has two quirks that surprise developers. Rows are normally stored bottom-up, meaning the first row in the file is the bottom row of the picture. Colour channels are stored in blue, green, red order rather than the red, green, blue order most APIs expect. The format does support 32-bit variants with an alpha channel and compressed variants using run-length encoding, but support for those is inconsistent, so a BMP should not be assumed to carry reliable transparency.

BMP is device independent in the sense that the header records the dimensions and colour layout rather than relying on a particular screen. That was a significant feature in the early days of Windows wallpapers. Today it mainly survives where a system wants an uncompressed buffer it can read quickly without a codec. For anything that travels across the internet, the lack of compression is a liability rather than a virtue.

The conversion decision is usually straightforward. Photographs become JPG with a dramatic size reduction and very little visible difference. Graphics with sharp edges or transparency become PNG, which is also lossless but compresses well. Keep the original BMP if a legacy system needs it as its master, and convert only copies. Once converted for sharing, a BMP rarely needs to be reconstructed.

BMP at a glance

Extension.bmp, .dib
IntroducedMicrosoft Windows, 1976
CompressionUsually none; optional RLE variants exist
Row orderBottom-up by default
Row paddingAligned to a 4-byte boundary
Colour depth1, 4, 8, 16, 24 or 32 bits per pixel
Byte orderLittle-endian
TransparencyPossible in 32-bit variants, inconsistently supported

Where it works

Support changes between releases. The practical answer is always to convert when a tool refuses the file.

WindowsNative support since the earliest versions
macOSRead by Preview and most editors
Web browsersDisplay support exists but files are impractically large
Photo editorsRead and write everywhere
Industrial and legacy softwareStill widely used
Email and web deliveryPoor fit — convert to JPG or PNG

When to convert BMP

  1. 01

    Photos

    Convert to JPG for a dramatic size reduction with little visible difference.

  2. 02

    Graphics

    Convert to PNG when you need lossless output with transparency.

  3. 03

    Keep the original

    If a legacy system requires BMP, keep it as the master and convert only copies.

Common questions

Why is my BMP so large?+

BMP is essentially uncompressed. The pixel data alone accounts for most of the file size.

Is BMP better quality than JPG?+

It is lossless, so yes in theory. In practice a high-quality JPG looks the same to most people and is far smaller.

Does BMP support transparency?+

Some variants do, but PNG is a far more reliable choice for transparent images.

Can browsers display BMP?+

Most can, but the large files make it a poor choice for web pages.

What is a BMP file used for?+

Legacy and industrial software that needs uncompressed pixels in a simple, predictable layout. For sharing or web use, JPG or PNG is almost always better.