Skip to content
Back to Blog
How-To

How to Convert BMP to PNG: 5 Free Methods in 2026

Jordan Webb·April 25, 20268 min read

Why Convert BMP to PNG?

BMP (Bitmap Image File) is one of the oldest image formats still in active use. Created by Microsoft in the 1980s for Windows, BMP stores raw, uncompressed pixel data — which means files are enormous. A single 1920×1080 screenshot saved as BMP weighs around 6 MB. A folder of 100 screenshots can consume over 600 MB before you have done anything useful with them.

PNG (Portable Network Graphics) solves this while keeping quality completely intact. Both BMP and PNG are lossless formats — no pixel data is discarded during conversion. The difference is efficiency: PNG's Deflate compression algorithm typically reduces file size by 60 to 80 percent compared to uncompressed BMP, with zero visual difference.

Converting BMP to PNG is the right choice when you need:

  • Dramatically smaller files without any quality loss: A 6 MB BMP screenshot becomes 1 to 2 MB as PNG with identical sharpness.
  • Transparency support: Standard BMP files do not have an alpha channel. PNG does — unlocking transparency for logos, UI assets, and design work.
  • Universal compatibility: PNG is supported everywhere — every browser, operating system, email client, CMS platform, and design tool. BMP compatibility is patchier, especially on macOS and mobile.
  • Better compression for screenshots and graphics: PNG was designed for images with flat color areas, sharp edges, and text — exactly the content most BMP files contain. Lossless PNG compression handles these images far better than lossy alternatives.
  • Web and email sharing: You cannot embed a BMP directly in a web page without it destroying load times. PNG is the correct lossless format for web-compatible graphics.
  • BMP to PNG is a fundamentally different conversion from BMP to JPG. When you convert BMP to JPG, you trade quality for size — JPG is lossy and permanently discards image data. When you convert BMP to PNG, you lose nothing: same quality, smaller file. It is always the right choice for screenshots, diagrams, text-heavy images, logos, and any image where crisp edges and accurate colors matter.

    For a detailed breakdown of when PNG is the right target format, see our PNG vs JPG comparison guide.

    Method 1: Convert BMP to PNG in Your Browser (No Upload Required)

    The fastest, most private method is a browser-based converter that runs entirely on your device. PhotoFormatLab's BMP to PNG converter uses WebAssembly to process your files locally — your BMP images never leave your computer.

    Step-by-step:

  • Open your browser and go to photoformatlab.com/bmp-to-png
  • Drag and drop your BMP files onto the drop zone, or click to browse your file system
  • Select multiple files for batch conversion
  • Click Convert — processing happens instantly in your browser
  • Download individual PNG files or click Download as ZIP for a batch result
  • Why browser-based conversion matters for BMP files:

    BMP files frequently contain screenshots, internal software exports, scanned documents, and legacy business data. Uploading these to server-based converters like Convertio or FreeConvert means your files transit over the internet and are temporarily stored on third-party infrastructure. Browser-based conversion eliminates this entirely.

  • 100% private: Your BMP files are processed by WebAssembly running in your browser tab. Zero server contact.
  • No file size limits: Convert even large uncompressed BMP files without hitting upload caps.
  • Batch support: Drop a whole folder of BMP files and convert them all in one session.
  • No account required: No sign-up, no email, no subscription.
  • For more on why browser-based conversion is the safer choice, read our guide on converting images without uploading to a server.

    Method 2: Convert BMP to PNG on Mac with Preview

    Mac users have a strong built-in option: Preview, macOS's default image viewer, handles BMP natively and exports to PNG directly.

    Single File Conversion

  • Open the BMP file in Preview (double-click, or right-click > Open With > Preview)
  • Click File in the menu bar, then select Export...
  • In the Format dropdown, choose PNG
  • Optionally adjust the compression level (higher = smaller file, slightly slower to open)
  • Click Save
  • Batch Conversion with Preview

    Preview supports batch export for converting folders of BMP files at once:

  • Select all your BMP files in Finder (⌘A or Shift-click to select a range)
  • Right-click and choose Open With > Preview
  • In Preview, open thumbnail view in the sidebar
  • Press ⌘A to select all images
  • Click File > Export Selected Images
  • Click the Options button, select PNG as the format
  • Choose your destination folder and click Choose
  • Preview is reliable, produces correct lossless PNG output, and handles most standard BMP files without issues. Its main limitation is speed on very large batches — for hundreds of files, the CLI methods below are faster.

    Method 3: Convert BMP to PNG on Windows

    Windows has native BMP support baked in, making conversion straightforward without any extra software.

    Using Microsoft Paint

    Paint is the easiest single-file option:

  • Open the BMP file in Paint (right-click > Open With > Paint, or just double-click if Paint is your default viewer)
  • Click File > Save As > PNG Picture
  • Choose your filename and save location
  • Click Save
  • Paint produces clean PNG output with no quality loss. The downside is no batch processing — repeat this process for each file.

    Using Windows Photos App

  • Open the BMP file in the Photos app
  • Click the three-dot menu () in the top right corner
  • Select Save as
  • Change the file type dropdown to PNG
  • Click Save
  • Batch Conversion on Windows with IrfanView

    For batch BMP to PNG conversion on Windows, IrfanView (free) is the best native tool:

  • Download and install IrfanView
  • Open IrfanView and select File > Batch Conversion/Rename
  • Set the output format to PNG
  • Drag your BMP files into the input list on the right
  • Set your output directory
  • Click Start Batch
  • IrfanView processes batches quickly and supports PNG compression level control, making it ideal for large BMP libraries.

    Method 4: sips Command Line (macOS)

    macOS includes sips (scriptable image processing system) as a built-in tool available on every Mac without any additional software.

    Convert a single BMP file:

    ```bash

    sips -s format png screenshot.bmp --out screenshot.png

    ```

    Batch convert all BMP files in a folder:

    ```bash

    for f in ~/Documents/bitmaps/*.bmp; do

    sips -s format png "$f" --out "${f%.bmp}.png"

    done

    ```

    Batch convert to a separate output folder:

    ```bash

    mkdir -p ~/Documents/png-output

    for f in ~/Documents/bitmaps/*.bmp; do

    basename=$(basename "$f" .bmp)

    sips -s format png "$f" --out ~/Documents/png-output/"$basename".png

    done

    ```

    sips is fast, pre-installed, and ideal for macOS users who need to automate BMP to PNG conversion as part of a larger workflow. It handles standard 24-bit and 32-bit BMP files correctly.

    Method 5: ImageMagick (Windows, Mac, Linux)

    ImageMagick is an open-source cross-platform tool for batch image processing. Install via the ImageMagick website or on macOS via Homebrew (brew install imagemagick).

    Convert a single file:

    ```bash

    magick input.bmp output.png

    ```

    Batch convert all BMP files in the current directory:

    ```bash

    for file in *.bmp; do

    magick "$file" "${file%.bmp}.png"

    done

    ```

    Batch with output to a separate folder:

    ```bash

    mkdir -p png-output

    for file in *.bmp; do

    magick "$file" png-output/"${file%.bmp}.png"

    done

    ```

    Set PNG compression level (0–9, higher = smaller file, slower):

    ```bash

    magick input.bmp -define png:compression-level=9 output.png

    ```

    ImageMagick handles 16-bit BMP files, high-DPI BMP files from scanning software, and unusual BMP variants (BMP3, BMP4) that some other tools choke on. It is the most capable option for non-standard BMP inputs.

    Python Pillow alternative:

    For developers, Pillow handles BMP to PNG conversion cleanly:

    ```python

    from PIL import Image

    import os

    def convert_bmp_to_png(input_path, output_path):

    with Image.open(input_path) as img:

    img.save(output_path, 'PNG', optimize=True)

    # Batch convert all BMP files in a directory

    for filename in os.listdir('./bmp_files'):

    if filename.lower().endswith('.bmp'):

    convert_bmp_to_png(

    f'./bmp_files/{filename}',

    f'./png_files/{filename.rsplit(".", 1)[0]}.png'

    )

    ```

    Pillow automatically handles the BMP color mode and produces clean PNG output. It integrates easily into image processing pipelines.

    BMP vs PNG: Feature Comparison

    Understanding the differences clarifies why PNG is almost always the better delivery format:

    FeatureBMPPNG
    CompressionNone (or minimal RLE)Lossless Deflate
    Typical file size6 MB (1080p screenshot)1–2 MB (same screenshot)
    Transparency (alpha)Limited (BMP32 only)Full alpha channel
    Color depth1, 4, 8, 16, 24, 32-bit8-bit and 16-bit
    Browser supportNo standard web supportUniversal
    Email compatibleNo (too large)Yes
    Web compatibleNoYes
    Social media uploadRejected by most platformsAccepted everywhere
    Platform supportWindows (primary), limited elsewhereUniversal
    Quality loss on conversionN/A (lossless source)None — lossless

    Key takeaways:

  • Both BMP and PNG are lossless — converting between them loses zero image quality
  • PNG is typically 60–80% smaller than an equivalent uncompressed BMP
  • PNG adds alpha channel transparency that standard BMP does not have
  • PNG is compatible everywhere; BMP is primarily a Windows-native format
  • When Should You Convert BMP to PNG vs JPG?

    Choosing the right output format matters:

    Convert BMP to PNG when:

  • The image is a screenshot, diagram, interface graphic, or logo with sharp edges and flat color areas
  • You need lossless quality — PNG preserves every pixel from the BMP original with no quality compromise
  • You want or need transparency support (PNG's alpha channel lets you set areas as transparent)
  • You are sharing with designers, developers, or collaborators who will use the file in design tools
  • You are uploading to a platform or CMS that accepts PNG
  • Convert BMP to JPG instead when:

  • The image is a natural photograph with smooth gradients and complex color variation
  • You need the smallest possible file size and are willing to accept some quality loss
  • The recipient only needs a visual reference and exact quality is not required
  • File size is a strict constraint (JPG at 85% quality is typically 30–50% smaller than an equivalent PNG)
  • For most BMP files — which are typically screenshots, scans, or software exports — PNG is the correct output format. The lossless upgrade keeps quality perfect while dramatically reducing file size. For photographic BMPs, BMP to WebP gives you the best of both worlds: smaller than JPG, better quality than JPG, and good web compatibility.

    Understanding BMP Transparency During Conversion

    Standard 24-bit BMP files have no alpha channel. If your BMP has a solid-color background (typically white, black, or magenta/cyan as a "chroma key"), converting it to PNG will preserve that solid background exactly — transparency is not automatically added.

    If you want to make the background transparent in the resulting PNG, you will need an image editor (GIMP, Photoshop, Affinity Photo) to apply background removal after conversion. Browser-based tools like PhotoFormatLab convert the BMP faithfully; background removal is a separate editing step.

    32-bit BMP files: Some Windows applications do save BMP files with an alpha channel embedded in the 32-bit format. When converting 32-bit BMP to PNG, ImageMagick and Pillow handle the alpha correctly. Preview on macOS and Paint on Windows may not preserve the alpha channel from 32-bit BMPs — use Method 1 (browser-based) or Method 5 (ImageMagick) if alpha preservation matters.

    Frequently Asked Questions

    Does converting BMP to PNG lose quality?

    No. Both BMP and PNG are lossless formats. Converting BMP to PNG preserves every pixel exactly — no image data is discarded and no compression artifacts are introduced. The output PNG is visually identical to the source BMP. This is the key difference from converting BMP to JPG, which permanently discards image data through lossy compression. BMP to PNG is always a safe, lossless conversion.

    How much smaller will my PNG file be compared to BMP?

    Typically 60–80% smaller. A 6 MB BMP screenshot generally becomes 1 to 2 MB as PNG. The exact reduction depends on image content: screenshots with large flat-color areas compress very well, while complex photographic BMPs may compress less. PNG's Deflate algorithm is specifically optimized for images with repeating patterns, sharp edges, and flat areas — which is exactly what most BMP files contain.

    Is it safe to convert BMP files online?

    With PhotoFormatLab, yes — entirely safe. The conversion runs in your browser using WebAssembly; your BMP files never leave your device. Server-based converters like Convertio or FreeConvert upload your files to remote servers, which creates privacy risks for screenshots, scanned documents, or internal business graphics. Read our full breakdown of whether online converters are safe for a detailed comparison.

    Can I convert multiple BMP files to PNG at once?

    Yes. PhotoFormatLab supports batch conversion — select multiple BMP files at once and download all results as a ZIP. On macOS, Preview's "Export Selected Images" feature handles batches natively. For large batches or automation, sips (macOS) and IrfanView (Windows) are the fastest options. ImageMagick and Python Pillow are ideal for scripted pipelines.

    Why does my PNG file look identical to the BMP but take up less space?

    BMP stores pixel data with no compression (or only simple run-length encoding). PNG applies Deflate lossless compression — a sophisticated algorithm that identifies and compresses repeating patterns without discarding any data. The decompressed PNG and the original BMP produce the exact same pixels, but the compressed file on disk is much smaller. No quality is lost; only storage space is recovered.

    Should I use PNG or WebP for web images converted from BMP?

    WebP is usually better for web delivery. WebP supports lossless compression (like PNG) but produces files roughly 25–35% smaller than equivalent PNG at the same quality. If you are converting BMP files specifically for use on a website, BMP to WebP is worth considering for better page speed. PNG remains the better choice for design files, files you will edit further, or situations where maximum compatibility matters (legacy browsers or design tools with limited WebP support).

    J
    Jordan Webb·Founder, PhotoFormatLab

    Jordan builds privacy-focused web tools. He created PhotoFormatLab to make image conversion free, instant, and fully browser-based — no file uploads, no accounts, no watermarks. About PhotoFormatLab →

    Ad
    Ad