What Is a BMP File?
The uncompressed Windows format from the early PC era - why a BMP is enormous, where it still turns up, and what to use instead.
A BMP is a raster image format from the early Windows era that stores pixels almost literally, with little or no compression - which is why a BMP file is enormous compared with the same picture in any modern format. The name is short for bitmap (the extension is .bmp). Microsoft and IBM designed it to be trivially simple for a computer to read, at a time when that mattered more than saving disk space.
If you have actually been handed a BMP and need to do something with it, the practical steps are in how to open a BMP file. This guide is about what the format is and why it behaves the way it does.
Why a BMP is so big
The defining property: a standard BMP does essentially no compression. It records each pixel one after another, so the file size lands close to width times height times the bytes used per pixel, with no reduction. A photograph that is a couple of megabytes as a JPG can be twenty or thirty megabytes as a BMP showing exactly the same image. The extra size buys nothing in quality - it is simply the absence of compression. A run-length-encoded variant exists but is rarely used, and it only helps flat-colour images.
What it stores
A BMP holds a grid of pixels at a fixed colour depth - commonly 8-bit (256 colours) or 24-bit (full colour), with 1- and 4-bit variants for simple graphics. Some 32-bit BMP variants can carry an alpha (transparency) channel, but support for it is inconsistent and rarely relied on, so in practice a BMP is best treated as an opaque rectangle. It is a purely raster format: no vector data, no layers, and no animation.
Where BMP still turns up
You will rarely create a BMP on purpose today, but they still surface from a few corners: old Windows scans, legacy industrial or medical software with a stubborn export format, and machines that have not been updated in a long time. They usually arrive with two problems at once - the file is huge, and modern upload forms or apps refuse it. Browsers themselves render BMP fine, which is the quickest way to view one; it is everything else that tends to reject it.
What to use instead
For almost any purpose, something beats BMP:
- Lossless quality - PNG. It stores the same pixels a BMP does, losslessly, at a fraction of the size, and with real transparency. There is no quality reason to prefer BMP over PNG.
- Photographs - JPG. Far smaller, and for a photo the loss is invisible at sensible quality. If you have a stray BMP photo, BMP to JPG converts it, and how to open a BMP file walks through it.
- The web - JPG or WebP, since BMP is effectively unsupported by upload forms and slow to transfer at its size.
The only honest reasons to produce a BMP are that a specific piece of legacy software demands it, or you are feeding something that reads raw pixel data and you would rather not decode anything.
FAQ
What does BMP stand for?
Bitmap. It is the early Windows raster image format, extension .bmp, designed for simplicity rather than small files.
Why is a BMP file so large?
Because a standard BMP stores pixels with almost no compression. The size is close to width times height times bytes per pixel - no smaller for the same image than a lossless PNG, and far larger than a JPG.
Is BMP better quality than JPG?
Uncompressed is not the same as better. A BMP of a photo that was already a JPG holds exactly the same visual information, just in a much larger file. For true lossless quality, PNG matches BMP at a fraction of the size.
Does BMP support transparency?
Some 32-bit variants technically do, but support is inconsistent and rarely used. Treat a BMP as opaque, and use PNG or WebP if you need reliable transparency.
Can I open a BMP without special software?
Yes - drag it into any browser tab. Browsers render BMP natively. Converting is only needed when another program or an upload form has to accept it.