BMP vs AVIF: technical differences
To convert BMP to AVIF, drop your BMP file into the converter above and download the AVIF: a modern format, usually smaller than JPG and WebP at the same quality, that supports transparency. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
This conversion goes from the least compressed format to the most efficient one. A 24-bit BMP holds every pixel raw; AVIF compresses with AV1 intra-frame coding and is often around half the size of a JPG of similar quality. For a 12-megapixel photo, 36 MB as BMP may become a few hundred kilobytes as AVIF.
Pixohub encodes lossy AVIF using the quality slider. AV1 excels on smooth gradients and natural images but can smear fine texture and tiny text at lower settings, so screenshot-like BMPs need a high quality or a lossless format instead.
AVIF export works in every current browser: Safari uses its built-in encoder, while Chrome, Firefox and Edge use a bundled WebAssembly build of libavif, which takes several seconds for a large photo. Viewing AVIF works in all current browsers, but some older desktop apps still cannot open it.
| BMP (Bitmap Image File) | AVIF (AV1 Image File Format) | |
|---|---|---|
| Compression | Usually none (raw pixels); optional RLE for palette images | Lossy or lossless (AV1 intra-frame in a HEIF container) |
| Colour depth | 1–32 bits per pixel; typically 24-bit RGB | 8, 10 or 12 bits per channel; HDR and wide gamut capable |
| Transparency | Rarely supported (32-bit variants only) | Full alpha channel |
| Animation | None | Yes (image sequences) |
| Metadata | Essentially none beyond resolution | EXIF, XMP, ICC / CICP colour signalling |
| Typical file size | Very large — width × height × 3 bytes | Usually the smallest — often half a JPG at similar quality |
| Support | Universal on Windows; opens almost everywhere | Chrome, Edge, Firefox and Safari 16+; patchy in older desktop software |
When to convert BMP to AVIF
Maximum compression for web delivery
When you want the smallest possible file for a hero image or gallery, AVIF from the original BMP gives the encoder clean, never-compressed pixels to work from — better than converting a JPG to AVIF.
Archiving large BMP photo collections for viewing
If the BMPs exist only to be looked at, AVIF saves the most space. Keep a lossless master somewhere if exact pixels might ever matter.
Producing a compact image for an email newsletter or blog
If your newsletter platform or blog serves AVIF to supporting clients, starting from the uncompressed BMP gives you the best possible result at the smallest size — but check that your email audience's clients can display AVIF, as many email apps cannot.
What converting BMP to AVIF keeps and loses
What you keep
- Dimensions and the visual look of photographic content.
- Alpha, if the BMP has decodable transparency.
- Clean source detail: unlike converting from JPG, there are no earlier compression artefacts for AVIF to preserve.
What you lose
- Exact pixel values — the output is lossy.
- Fine texture and small text at lower quality settings.
- The BMP DPI field.
- Compatibility with older software that read BMP easily.
Our test: BMP to AVIF on two real files
AVIF produced the highest-fidelity lossy result from our photo BMP, PSNR 43.61 dB and SSIM 0.9903, at 303 KB, slightly larger than the JPG (296 KB) and WebP (225 KB) at the same 85% setting. The quality number isn't comparable across formats: at 85%, AVIF spent its bytes on fidelity rather than size.
It also took 7,370 ms, against about 0.9 to 1.4 seconds for JPG and WebP, because in Chromium Pixohub runs libavif as single-threaded WebAssembly. The graphic (2,073 ms) came out at 22 KB; like the other lossy outputs from this BMP, it struggled most with the bright single pixels along the shapes' edges, left over from an alpha byte the decoder ignored (maxDiff 188).
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 | AVIF out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 5.8 MB | 303 KB (−95%) | SSIM 0.990 · 43.6 dB | None in source | None in source | 7.4 s |
| Graphic, 800 × 600, transparent | 1.9 MB | 22 KB (−99%) | SSIM 0.994 · 37.4 dB | None in source | None in source | 2.1 s |
Last updated
Apps and sites that work with BMP and AVIF
Encoders behind the export
Firefox, like Chrome and Edge, can display AVIF but has no AVIF encoder for the canvas, so Pixohub uses the same bundled libavif in all three. Safari encodes AVIF natively. Either way the file is a standard AVIF that any current browser opens.
Batches with avifenc
For dozens of BMPs, libavif's own command-line encoder, avifenc, is quicker. It reads PNG, JPEG and Y4M rather than BMP, so first batch the BMPs to PNG with bulk format convert, which loses nothing, then run avifenc on the PNGs.
Where the AVIF can go
All current browsers display AVIF, and WordPress 6.5 and later accepts it when the host's image library supports it. Email clients and many desktop apps are less certain, so keep a JPG or WebP version for anything that leaves the website.
Common BMP to AVIF problems and fixes
Large scans take much longer
Encoding time grows with pixel count. Above 4 megapixels Pixohub switches libavif to a faster speed setting to keep waits to seconds rather than minutes, at a small cost in compression. A 20-megapixel BMP scan will still keep the tab busy for a while on a phone; reduce it with the image resizer if the full size isn't needed.
The AVIF is bigger than the WebP
In our test the AVIF was larger than the WebP at the same slider value, but noticeably more accurate. If size is the goal, drop the AVIF slider to around 60–70% and compare the preview; AVIF usually stays clean at settings where WebP or JPG would show blocking. Check fine textures before settling on a low value.
The upload form rejects AVIF
Being the most efficient format doesn't make AVIF the most accepted one. Many forms still allow only JPG and PNG, and some content systems need a server that can process AVIF. For those, convert the same BMP with BMP to JPG, which starts from the same untouched pixels. Keep the AVIF for your own site.
Tips for better BMP to AVIF results
- BMP is an ideal source for AVIF because it has never been lossy-compressed; quality settings around 60–75% often look excellent.
- If the AVIF encode is too slow on your device, BMP to WebP is much faster and still far smaller than the BMP.
How this converter works
Pixohub decodes your BMP and encodes the AVIF 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.