Convert AVIF to BMP

Converting AVIF to BMP takes the most efficient image format a browser reads and writes it into one that does not compress at all, which is why the result is routinely fifty times larger for exactly the same picture. Choose what replaces the transparency, and it converts 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 AVIF to BMP actually does

AVIF 17 KBBMP 450 KB 26.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.

AVIF 3 KBBMP 450 KB 131.9× 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.

AVIF 5 KBBMP 450 KB 90.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.

The widest size gap on this site, in one conversion

AVIF was designed in 2019 to make photographs small enough to send over a mobile connection. BMP was designed by Microsoft in 1987 to be a block of pixels a program could read straight into memory, with no compression at either end. Putting the two together produces the biggest multiplier of any pair here.

Neither format is being misused. BMP is not a bad format; it is a format with one job, which is to be trivially readable by software that does not want to implement a decoder — the header says how wide the picture is and the rest of the file is the picture, in order. The size is the price of that, and it was a sensible price when a screen was 640 pixels wide and a bitmap fitted on a floppy disk. It is only the arrival of thirty-megapixel cameras at the other end of the chain that turned a reasonable design into an alarming file.

The number: what the BMP will actually weigh

The arithmetic is fixed and there is nothing in it about the picture. Width times height times three bytes, plus a header. A 1000 by 1000 icon is 3 MB. A 3000 by 2000 photograph is 18 MB. A 6000 by 4000 one is 72 MB.

Now compare that with what you dropped in. A web-delivered AVIF of that 3000 by 2000 photograph is commonly under half a megabyte, which puts the multiplier past fifty before anything unusual has happened. On flat artwork — a logo, a chart, an interface graphic — AVIF does even better, because large areas of identical colour are what any modern codec compresses most aggressively, and the ratio climbs into the hundreds. Nothing about the picture changed; only the honesty of the storage did. It is worth checking the number against your own file before converting a folder, since the multiplier is what decides whether the batch fits anywhere.

Reducing the width is the only thing that shrinks a BMP

Because the size depends on the dimensions alone, there is no quality setting on this conversion and there could not be one. A BMP has no knob to turn: every pixel costs the same four bytes whether it is part of a gradient or part of a white margin.

The maximum width setting is therefore the only lever, and it works by producing fewer pixels rather than cheaper ones. Halving the width quarters the file, because both dimensions shrink together — 3000 by 2000 at 18 MB becomes 1500 by 1000 at 4.5 MB. That is worth knowing when the destination is an embedded display that only ever wanted 480 pixels, where the full-resolution bitmap is not merely wasteful but too large for the device to hold. Sending an unresized bitmap to a small screen is the most common way this conversion produces a file nobody can use.

Check which bitmap variant your equipment asked for

BMP is less one format than a small family. It can store pixels as full colour or as an indexed palette of up to 256 entries, at several bit depths, and a specification that says "BMP" without saying which of those it means has not finished the sentence. What comes out of this conversion is a full-colour bitmap at four bytes per pixel.

That is what almost everything reads, and it is not universally what is asked for. Firmware for a small display is the usual exception: an embedded panel with limited memory often names 24-bit or an 8-bit indexed palette specifically, because that is what its framebuffer holds. Read the documentation before converting, and where it names a variant this does not produce, IrfanView and GIMP will both re-save a BMP into the depth the device wants in a single step.

Twelve bits of AVIF colour into an eight-bit bitmap

AVIF can store twelve bits per channel and a wide colour gamut, which is why it carries HDR photography on the web. The BMP written here is eight bits per channel in ordinary RGB, the shape every reader of the format expects.

For a normal web image nothing is lost, because eight bits is all it ever held. For an HDR source the extra range is discarded, and the visible symptom is a flattened sky or a highlight that clips rather than rolls off. If that matters, the reduction should be done deliberately in an editor that lets you choose how the range is mapped, not as a side effect of reaching a format from 1990.

The transparency has to become a colour

AVIF carries a full alpha channel and a BMP, as every program that consumes one expects it, does not. So the see-through pixels are filled with a colour chosen before the conversion, and the fill is permanent — the transparency is replaced rather than hidden.

Choose the colour the image will sit on rather than a neutral one. Anti-aliased edges are partly transparent, so they are blended with your choice: against the intended background the edge stays smooth, and against a different one the artwork carries a faint halo all the way round. That halo is the classic sign that a mark was flattened onto white and then placed on something dark, and it cannot be removed afterwards without redoing the conversion from the AVIF. For an instrument or a panel the exact colour is usually written in the documentation you were given, which makes this a lookup rather than a judgement.

Nothing that reads a BMP can read an AVIF

This is the useful asymmetry and it is why the conversion happens in a browser. The software waiting for the BMP — the instrument, the panel, the till, the twenty-year-old Windows utility — has no AVIF decoder and never will. The operating system it runs on may not have one either.

A browser does. The AVIF is decoded by the same code that draws it on a web page, so this works on a machine where double-clicking the file does nothing at all, and produces a file that machine can then handle without any further software being installed. That is a better answer than installing a codec pack on a controlled system, and on a machine you are not allowed to install anything on it is the only answer.

A BMP is something you hand over, not something you keep

Convert at the boundary and keep the AVIF. It is a fraction of the size, it still has its transparency, it still has its full colour range, and it is what you will want if the destination ever changes or the device is replaced.

Sending a BMP to a person rather than a machine is almost always a mistake for the same reason. It fills an inbox, it clogs a shared drive, and there is nothing in it that PNG would not carry losslessly at a fraction of the size while keeping the transparency you had to destroy here. BMP is a wire format for equipment that asked for it, and treating it as a storage format is how a project ends up with a hundred gigabytes of images it could hold in two.

An animated AVIF cannot arrive as a bitmap

AVIF can hold a sequence of frames, and this is one of the things it inherited from the video codec underneath it. A BMP holds one still image and has no concept of a second one.

So if what you have is a short animation, this conversion is not a lossy version of what you wanted — it is the wrong destination entirely. MP4 keeps the movement at a sensible size and GIF keeps it in something ancient software understands, and either is a better answer than a single frame in a very large file. If the device genuinely wants a sequence of bitmaps, which some small displays do, the frames have to be extracted first and each one converted, and that is a job for a script rather than for a drop zone.

Converting a folder, and the memory it will take

Drop up to 100 files at once: each converts in turn, keeps its name with the extension swapped, and the batch returns as one ZIP. A hundred is where the free batch stops, and anything past it is dropped rather than queued. Nothing is uploaded, so there is no queue, no account and no daily allowance.

The planning constraint is the output rather than the input. Forty photographs at 3000 by 2000 are over seven hundred megabytes of bitmap being held in a browser tab while the archive is built, and a batch that would be trivial in any other format is not trivial here. Convert in small groups, save as you go, and set a maximum width if the destination does not need the full resolution.

How to convert an AVIF into a BMP

  1. Decide what colour the transparent areas should become.
  2. Drop the AVIF files here and set a maximum width if the destination is small.
  3. Download the BMPs, and keep the AVIF originals.

AVIF versus BMP: modern compression against none

AVIF compared with BMP
AVIFBMP
Full nameAV1 Image File FormatWindows Bitmap
File extension.avif.bmp, .dib
Media typeimage/avifimage/bmp
CompressionEither, depending on the settingUncompressed
First published20191987
Published byAlliance for Open MediaMicrosoft
SpecificationAV1 Image File Format
LicensingOpen standardPublished, not standardised
Standing todayCurrentLegacy, still read everywhere
Bit depth128
Colour it can describeRGB, YCbCr, wide gamutRGB, indexed palette
Largest image65,536 px per side
Opens in a browserCurrent browsersEvery browser
Considered insteadWebP, JXL, JPGPNG, TIFF

What is lost

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

BMP holds a single still image. An animated AVIF keeps its first frame and loses the rest, so a conversion is a way to take a still out of one, not a way to move it.

AVIF carries up to 12 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

BMP opens in every current browser. AVIF has narrower browser support than that. If the file is going onto a web page or into a form, that is usually the whole reason for the conversion.

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

What each format is for

The two are aimed at different work: AVIF at the web and handing a finished file over, 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.

AVIF is Alliance for Open Media's format, published in 2019. It records 12 bits per channel.

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

BMP was published in 1987 and AVIF in 2019. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.

AVIF to BMP: size, colour and old software

How much larger will the BMP be?

Enough to be startling. A BMP is uncompressed, so its size is width times height times three bytes: a 3000 by 2000 picture is 18 MB, and it is 18 MB whether the AVIF was 200 kilobytes or two megabytes. Fifty times is ordinary and a few hundred times happens on flat artwork.

Does the picture get better or worse?

Neither. Every pixel the AVIF decoded to is written into the BMP unchanged, so the visible image is identical. Any softness or blocking the AVIF encoder introduced is preserved at full size along with everything else — a BMP is a faithful copy, not an improvement.

What happens to a transparent AVIF?

It is filled with the background colour you choose before converting, and the choice is permanent. Pick the colour the image will actually sit on — white for a document, black for a dark panel, the exact panel colour for an embedded display — because a mismatch shows up as a visible rectangle around the artwork.

Why can Paint open the BMP but not the AVIF?

Because AVIF is only seven years old in software terms and BMP predates almost everything on the machine. Microsoft Paint, IrfanView and GIMP all read BMP without question; AVIF is read by current browsers, by GIMP, Squoosh and ImageMagick, and by very little else. This conversion exists to close exactly that gap.

Can an animated AVIF become a BMP?

Not as an animation. AVIF can hold moving images and a BMP is a single still frame with no mechanism for a second one. If the movement is the point, MP4 or GIF is where the file needs to go instead.

Is the file uploaded?

No. It is decoded and rewritten inside your browser, which is also the only reason the output size is tolerable — an 18 MB result appears immediately rather than having to be sent up and fetched back over a connection.

More about these formats

Where these figures come from

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