Convert PNG to BMP

Converting PNG to BMP produces the plain uncompressed bitmap that some software and hardware insist on. The pixels survive exactly — except the transparent ones, which are filled with a colour you choose, permanently. It runs on your own machine.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy The colours survive exactly. BMP cannot carry transparency, so anything cut out is filled with the background colour.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Transparency is not supported by the target format and is filled with the background colour.

Up to 100 files at once. Mixed formats are fine.

What PNG to BMP actually does

PNG 139 KBBMP 450 KB 3.2× larger

A photographic scene — smooth gradients, soft edges, grain. This is the case BMP is designed for or against, and the figures show which. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

PNG 7 KBBMP 450 KB 64.6× larger

A transparent background and a gradient across the shape. BMP either keeps both, keeps one, or fills the transparency with a solid colour — which is the difference that catches people out. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

PNG 3 KBBMP 450 KB 176.7× larger

Flat colour and hard edges, as in an interface, a chart or a logo. Very different behaviour from the photograph above, and the reason the answer is "it depends what is in the file". Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

Transparency has nowhere to go

This is the difference between converting a PNG and converting a photograph, and it is the one decision the conversion actually asks of you. A PNG carries an alpha channel with 256 levels; BMP has no usable transparency at all. So every see-through pixel has to become an opaque one, and something has to say which colour.

That choice is permanent. There is no way to recover the transparency from the BMP afterwards — the information is not hidden, it is replaced. Which makes it worth thirty seconds of thought rather than accepting a default and finding out later.

Choose the colour the image will actually sit on

White for anything going into a document, a printed page or a light interface. Black for a dark display or a dark application. And for an embedded screen or a piece of equipment, the exact colour of the panel behind the artwork, which is usually specified somewhere in the documentation you were given.

Getting it wrong is visible rather than subtle: a logo filled with white and placed on a dark panel appears inside a white rectangle. That is not a fault in the conversion — it is the transparency that used to hide the rectangle no longer existing.

Soft edges are the part people miss

Anti-aliasing works by making the pixels along a curve or a diagonal partly transparent, which is how a rounded corner looks smooth instead of jagged. Those pixels are not fully transparent, so they are blended with the background colour rather than replaced by it.

Blended against the intended colour, the edge stays smooth and nobody notices. Blended against a different one, the artwork carries a faint halo of the wrong colour all the way around — the classic sign that a logo was flattened onto white and then placed on something else. It is another reason the fill colour has to match the destination rather than merely being neutral.

Nothing else about the picture changes

PNG is lossless and BMP is uncompressed, so every opaque pixel is carried across exactly. No detail is given up, no edges are softened, and the image in the BMP is the image that was in the PNG.

That makes this a rare conversion where the only loss is the one described above. It also means there is nothing to gain: the picture cannot be improved by the change, and any expectation in that direction is worth setting aside before starting.

Why the file grows so much

PNG compresses losslessly, and it is very good at exactly the material people convert here — flat colour, hard edges, large areas of the same value. BMP stores every pixel as plain bytes with no compression at all.

So the gap is widest precisely for logos and interface graphics. A flat 1000 by 1000 icon might be 40 kilobytes as a PNG and around 3 megabytes as a BMP, and the difference has nothing to do with quality. The size depends only on the dimensions, which is why reducing the maximum width is the only lever that changes it.

Who asks for this, and what to send anyone else

Software and hardware that read pixels directly rather than implementing a decoder: embedded displays, industrial and laboratory applications, point-of-sale equipment, older Windows programs, and occasionally a course assignment that specifies the format for exactly that reason.

For every other purpose, keep the PNG. It is smaller, it keeps its transparency, it opens everywhere, and it is the file you would want back if the destination ever changes. Convert at the boundary and treat the BMP as something you hand to a machine rather than something you store.

Converting a set, and the memory it takes

Drop a whole folder: each file converts in turn on your own machine, keeps its name with the extension swapped, and the batch comes back as one ZIP. There is no upload, no queue and no daily allowance.

The constraint worth planning for is size. Uncompressed outputs add up quickly, and a folder of interface graphics can produce hundreds of megabytes that all have to fit in the browser’s memory while the archive is assembled. For a large set, converting in smaller groups is the practical approach.

How to convert a PNG into a BMP

  1. Decide what colour the transparent areas should become — match the destination.
  2. Drop your PNG files onto this page and set that background colour.
  3. Download the BMPs; the transparency is gone for good, so keep the PNGs.

PNG and BMP: lossless compression against none at all

PNG compared with BMP
PNGBMP
Full namePortable Network GraphicsWindows Bitmap
File extension.png.bmp, .dib
Media typeimage/pngimage/bmp
CompressionLossless — nothing is discardedUncompressed
First published19961987
Published byPNG Development GroupMicrosoft
SpecificationISO/IEC 15948
LicensingOpen standardPublished, not standardised
Standing todayCurrentLegacy, still read everywhere
Bit depth168
Colour it can describeRGB, greyscale, indexed paletteRGB, indexed palette
Largest image2,147,483,647 px per side
Opens in a browserEvery browserEvery browser
Considered insteadWebP, SVG, JXLTIFF

What is lost

BMP has no alpha channel. A transparent PNG comes out with those areas filled in — white unless something else is set — and no setting in BMP brings the transparency back.

PNG carries up to 16 bits per channel and BMP stores 8. The extra precision is what survives heavy correction without banding, so the conversion is best made after the editing rather than before it.

Opening the result

GIMP reads both PNG and BMP, so there is a way to check the result against the original without a second tool.

File size and quality

BMP stores the samples raw, so the file grows substantially without gaining anything. It is the right direction only when a program on the far side refuses PNG, which is the usual reason for doing it.

What each format is for

The two are aimed at different work: PNG at screenshots, line art and logos and the web, BMP at moving data between programs. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

PNG is PNG Development Group's format, published in 1996. It records 16 bits per channel.

BMP comes from Microsoft and dates from 1987. Microsoft Paint, GIMP and IrfanView all read it.

PNG to BMP: transparency, colour and file size

Are my PNG files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is jSquash, WebAssembly builds of the reference image codecs; your browser fetches it once and caches it.

What happens to a transparent background?

It is filled with a solid colour, because BMP has no usable transparency. The fill is chosen before the conversion and cannot be undone afterwards — the transparency is gone from the output, not hidden.

Which background colour should I choose?

The colour the image will actually sit on. White for a document or a white interface, black for a dark display, and the exact panel colour for an embedded screen. Guessing produces a visible rectangle around the artwork later.

Does the picture lose quality?

No. PNG is lossless and BMP is uncompressed, so every pixel survives exactly — apart from the transparent ones, which are replaced by the background colour. The file becomes much larger and the visible image is unchanged.

Why is the BMP so much bigger than the PNG?

PNG compresses losslessly and BMP does not compress at all. A flat graphic that is 40 kilobytes as a PNG can be several megabytes as a BMP, because the size depends only on the pixel dimensions and not on what the picture contains.

Will soft edges look wrong?

They can. Anti-aliased edges are partly transparent, so they are blended with the background colour you chose. Against the intended colour they look perfect; against a different one they leave a faint fringe, which is the classic sign that the wrong fill was picked.

Is the file uploaded?

No. The conversion runs inside your own browser, so nothing is sent anywhere — which also means a multi-megabyte output appears immediately rather than having to be fetched back from a server.

More about these formats

Where these figures come from

The claims this page makes about PNG and BMP are checkable, and these are the documents that settle them.