BMP vs PNG: technical differences
To convert BMP to PNG, drop your BMP file into the converter above and download the PNG: a lossless format that keeps transparency and every pixel exactly. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
BMP and PNG are both lossless, so a bmp to png conversion changes the packaging, not the picture. BMP usually stores raw pixel rows bottom-up, padded to 4-byte boundaries, with no compression; PNG runs each row through a prediction filter and then DEFLATE. Every pixel comes out identical — you can convert back and forth without any degradation.
The size saving depends heavily on content. Screenshots, diagrams and flat artwork with large areas of identical colour often shrink by 80–95%; a 1920 × 1080 screenshot of about 6 MB as 24-bit BMP frequently lands well under 1 MB as PNG. Noisy camera photos compress much less, often to around half the BMP size, because there is little repetition for DEFLATE to exploit.
BMP also comes in 1-, 4-, 8- and 16-bit variants and occasionally 32-bit with alpha. The browser expands all of them to 8-bit RGBA before PNG encoding, so palette BMPs become full-colour PNGs. Where a 32-bit BMP has a valid alpha channel that the browser honours, PNG keeps it.
| BMP (Bitmap Image File) | PNG (Portable Network Graphics) | |
|---|---|---|
| Compression | Usually none (raw pixels); optional RLE for palette images | Lossless (DEFLATE with per-row prediction filters) |
| Colour depth | 1–32 bits per pixel; typically 24-bit RGB | 1–16 bits per channel; truecolor, greyscale or 256-colour palette |
| Transparency | Rarely supported (32-bit variants only) | Full 8/16-bit alpha channel |
| Animation | None | Only via the APNG extension |
| Metadata | Essentially none beyond resolution | Text chunks, ICC profile, gamma; EXIF via the newer eXIf chunk |
| Typical file size | Very large — width × height × 3 bytes | Large for photos (often 2–3× a JPG); tiny for flat graphics |
| Support | Universal on Windows; opens almost everywhere | Universal — every browser, OS and editor |
When to convert BMP to PNG
Screenshots from old Windows tools
Paint in older Windows versions, some remote-desktop tools and legacy capture utilities save BMP by default. Converting to PNG makes them small enough for chat, email and bug reports with zero loss of text sharpness.
Scientific and industrial camera output
Microscope cameras, machine-vision systems and lab instruments often export BMP. PNG preserves every measured pixel value at 8 bits, which matters when images are analysed later, while saving a lot of disk space.
Putting bitmap graphics on the web
Browsers can display BMP, but web platforms, CMSs and image CDNs generally expect PNG, JPG or WebP. PNG is the right choice for logos, icons and diagrams that must stay crisp.
Shrinking archives of legacy images
Folders of BMP files from old software or games can be re-saved as PNG to reclaim space without changing a pixel, which is what makes PNG a safe archive choice here.
What converting BMP to PNG keeps and loses
What you keep
- Every pixel, exactly — the conversion is fully lossless at 8 bits per channel.
- Original dimensions and sharp edges.
- Alpha, in the uncommon case of a 32-bit BMP whose alpha the browser decodes.
What you lose
- The BMP's pixels-per-metre resolution field (DPI) and any embedded colour-space header information.
- Palette structure: 1/4/8-bit BMPs are saved as full-colour PNGs (pixels look identical).
- Nothing visible — only file size goes down.
Our test: BMP to PNG on two real files
Our 5.8 MB photo BMP became a 3.2 MB PNG, 56% of the original, and the 1.9 MB graphic BMP a 329 KB PNG, about 17%. Both were pixel-identical. The gap is content: DEFLATE finds little repetition in camera texture and a great deal in flat shapes and the graphic's large empty background.
That background is the catch. The graphic BMP is 32-bit with transparency in the fourth byte, but its standard 40-byte header doesn't mark that byte as alpha, and Chromium treated the image as opaque, as did Pillow. So the PNG shows the shapes on black, without transparency. The photo took 1,428 ms against 873 ms for the graphic, because PNG compresses 1.9 million noisy pixels.
Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).
| Test file | BMP in | PNG out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 5.8 MB | 3.2 MB (−44%) | Identical pixels | None in source | None in source | 1.4 s |
| Graphic, 800 × 600, transparent | 1.9 MB | 329 KB (−83%) | Identical pixels | None in source | None in source | 0.9 s |
Last updated
Apps and sites that work with BMP and PNG
Browsers read the BMP
Chrome, Firefox, Safari and Edge all display BMP, so the conversion works anywhere. But web platforms, CMSs and chat apps that accept PNG rarely list BMP among the formats they take, which is the usual reason for converting. Dragging a BMP into a browser tab is also a quick way to see whether the browser treats a 32-bit BMP as transparent before you convert it.
Where the PNG goes
GitHub issues, Confluence, Notion, Slack and every common slide app accept PNG, and it stays sharp for screenshots of code, logs and dashboards. Paste the PNG instead of the BMP and the upload is a fraction of the size, with identical pixels.
Squeezing the PNG further
Browser PNG encoders aim for speed, not the smallest file. oxipng, OptiPNG or ImageOptim can usually trim the result further without changing a pixel, and they can turn a full-colour PNG into a palette PNG when the image has 256 colours or fewer, as old 8-bit BMPs often do.
Common BMP to PNG problems and fixes
A black background where there should be transparency
32-bit BMPs written with the basic 40-byte header officially have an unused fourth byte, so browsers read the image as opaque, as ours did. Transparent areas then show their stored colour, often black. Re-export from the original program as PNG or as a BMP with a V4/V5 header and alpha mask, or cut the background out with remove background.
The photo PNG is barely smaller
Saving only 44%, as our photo did, is normal for camera images, because lossless compression can't discard sensor noise. If the photo just needs to be shared, not archived exactly, BMP to JPG or BMP to WebP made files under 300 KB from the same 5.8 MB BMP. Keep the PNG when exact pixels matter.
'Sorry, that image could not be loaded.'
Pixohub shows this when the browser can't decode the BMP. Most BMPs are fine, but unusual variants from some scientific, printing or very old software aren't supported by every browser. Open the file in Paint, IrfanView or GIMP and save it again as a 24-bit BMP, which every browser reads, then convert that copy.
Tips for better BMP to PNG results
- Converting a folder of BMP screenshots? Bulk format convert outputs PNG for the lot and zips them.
- For photographs where small size matters more than perfect pixels, JPG or WebP will be several times smaller than PNG.
How this converter works
Pixohub decodes your BMP and encodes the PNG entirely inside your browser. Nothing is uploaded, so the conversion is private by design and as fast as your device.
Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.