.bmp
BMP file: what it is and how to open it
A BMP file is a Windows bitmap: a picture stored pixel by pixel, usually with no compression, so it is large but simple. Drop one here to view it at full size and zoom in.
Drop your BMP file here
Opens on this device. Nothing is uploaded. Any other file works too.
What is a BMP file?
BMP is the bitmap image format built into Windows, also called a device-independent bitmap (DIB). It stores a picture as a grid of pixels, usually uncompressed, so a 12-megapixel photo at 24 bits per pixel takes about 36 MB, far more than a PNG or JPEG of the same picture.
Microsoft created it for Windows, and an OS/2 variant also exists. Later Windows releases extended the header; the current version 5 arrived with Windows 98. Microsoft never published one formal specification, so the format is documented across its Windows developer pages.
You mostly meet BMP in screenshots and images passed between Windows programs. Every major browser and most image apps open it, so the usual problem is file size, not compatibility.
What is inside
A BMP starts with a 14-byte file header: the letters BM, the file size and where the pixels begin. An info header follows, 40 bytes in the classic version and longer in versions 4 and 5, with the width, height, bits per pixel and compression. Images with 8 bits per pixel or fewer then carry a color table.
Pixel rows are usually stored bottom row first, each padded to a multiple of 4 bytes. Compression is optional: run-length encoding for 4 and 8-bit images. 32-bit pixels can carry transparency, but Windows reads it only from version 5 files, and only since Windows 8.
screenshot.bmp42 4DBMfile header, 14 bytesfile size, where the pixels startinfo header, 40 byteswidth, height, bits per pixel, compressioncolor tableonly at 8 bits per pixel or fewerpixel rowsbottom row first, each padded to 4 bytesHow to open a BMP file
Windows
- PhotosBuilt in. Opens BMP with the decoder that ships with Windows.
- Paint.NETFree. Opens and saves BMP, and saves PNG or JPEG copies with File, Save As.
- Universal File Opener for WindowsOursOpens BMP offline to crop, resize, rotate or adjust, then saves PNG, JPEG or BMP copies.
Mac
- SafariBuilt in. Drag the file into a window to view it.
- GIMPFree. Opens BMP and exports PNG or JPEG with File, Export As.
Android
- Universal File OpenerOursViews BMP offline and edits it: crop, rotate, adjust, mark up or resize. Saves edits as 24-bit BMP or converts to PNG, JPEG or WebP.
In a browser
- Chrome, Edge, Firefox or SafariEvery major browser shows BMP. Drag the file into a tab.
- Universal File OpenerOursDrop the file on this page to view it at full size and zoom in. Nothing is uploaded.
Won’t open?
The file is huge
BMP usually stores every pixel uncompressed. Convert it to PNG to shrink it with no loss of quality, or to JPEG for photos where a small loss is fine.
A website or app rejects it
Many upload forms accept only JPEG and PNG. Convert a copy as shown below.
Transparent areas turn black or white
Windows ignores the alpha channel in most BMP files and reads it only from 32-bit version 5 files. Save images that need transparency as PNG.
It will not open at all
It may be another format renamed to .bmp, an old OS/2 variant or a damaged download. Drop it on this page to see what the file really is.
Convert a BMP file
- To PNG or JPEG on WindowsOpen it in Paint.NET, choose File, Save As and pick PNG or JPEG.
- To PNG, JPEG or WebP on AndroidOpen it in Universal File Opener, tap Edit, then Image tools, then Convert to, and pick the format.
- To PNG or JPEG on a MacOpen it in GIMP, choose File, Export As and give the copy a .png or .jpg name.
BMP files in our apps
Open BMP images offline in Universal File Opener on Android or Windows, or view them on this page. Both apps crop, rotate and adjust them; Android converts to PNG, JPEG or WebP, and Windows saves PNG, JPEG or BMP copies.
All Android tools and limits for BMP files
- View with pan and zoom; crop, rotate, adjust, filter, mark up or resize supported images.
- Save supported edits as a 24-bit BMP.
- Convert to PNG, JPEG, WebP or another supported image format.
- Combine BMPs into a PDF, or pick a batch of them in Batch Processing on Home and save a ZIP of modern copies in one pass. Batch jobs need Pro.
Limits
- Exotic BMP variants (RLE-compressed, alpha-channel BI_BITFIELDS) decode where Android’s codecs allow; saves always write the standard 24-bit form.
Walkthrough: Edit and convert images on Android