BMP to PNG

Convert BMP to PNG to get a much smaller file with exactly the same pixels.

Your BMP bitmaps are compressed into lossless PNG files locally in your browser tab without server uploads. Details are in our privacy policy.

How to convert BMP to PNG

  1. Click Choose BMP files and select one or more .bmp images.
  2. The browser encodes each bitmap to a lossless PNG automatically; click Save PNG or Save all as ZIP.

Converting BMP to PNG is a strictly lossless transformation. A Windows .bmp file writes raw pixel values directly to disk without compression, whereas PNG (Portable Network Graphics) applies a per-row predictive filter (Sub, Up, Average, or Paeth) followed by LZ77/Huffman Deflate compression. When you decode a PNG back into memory, every single R, G, and B integer (0–255) is identical to the original BMP—only the file size on disk shrinks, typically by 60% to 95%.

Worked example: Desktop UI screenshot from 24-bit BMP to PNG

Consider a 1920 × 1080 desktop software screenshot saved from MS Paint or a Win32 C++ application as a 24-bit BMP:

  • Input file: app_window.bmp, 1,920 × 1,080 pixels (2,073,600 pixels × 3 bytes + 54-byte header) = 6,220,854 bytes (5.93 MB).
  • Why PNG excels here: Application windows contain large flat regions of solid background color and sharp 1-pixel text borders. PNG's row predictor reduces repeated runs of identical pixels to zeros, which Deflate compresses tightly.
  • Output file: app_window.png, 1,920 × 1,080 pixels, exact same pixel values, file size 184 KB (188,416 bytes)—a 97% size reduction with zero blurring around text.

Limits and what this tool cannot do

  • Does not create transparency automatically: Most BMP files are 24-bit RGB with no alpha channel. If your BMP has a solid white or magenta background, converting it to PNG keeps that solid background color; it does not knock out the background into transparency unless the source is a 32-bit ARGB BMP with valid alpha values.
  • Continuous-tone camera photos stay relatively large: While a UI screenshot shrinks by 95%, a noisy 24-megapixel camera photograph in BMP format still shrinks to only about 40%–60% of its BMP size as a PNG. For camera photos where minor loss is acceptable, BMP to JPG or BMP to WebP produces much smaller files.
  • Indexed color palettes are expanded to RGB/RGBA: 1-bit, 4-bit, and 8-bit paletted BMPs are rendered to standard 8-bit per channel PNGs by the browser canvas.

Questions

Is BMP to PNG completely lossless?

Yes. Unlike JPEG, PNG does not discard color data or add blocky artifacts around sharp text. Every pixel's red, green, and blue values remain identical to the source BMP.

Why is BMP to PNG better than BMP to JPG for diagrams and screenshots?

JPEG uses 8×8 cosine blocks that create fuzzy gray halos around sharp black text, CAD lines, and pixel art. PNG keeps every sharp edge exact while making the file much smaller than BMP.

What happens to 32-bit BMP files that have an alpha channel?

If the browser's BMP decoder detects a valid 32-bit BITMAPV4HEADER or BITMAPV5HEADER alpha mask, the alpha channel is carried over into the 32-bit RGBA PNG.

Can I convert dozens of BMP textures in one batch?

Yes. Select multiple .bmp files at once and click Save all as ZIP to download all converted PNGs in a single archive.

Last reviewed .

Related converters and guides