Convert PNG to AVIF — Free PNG to AVIF Converter
Free PNG to AVIF conversion, batches included — everything runs on your device.
AVIF gives you the best compression available today and keeps the alpha channel, so a PNG with transparency can shrink dramatically without losing its cut-out. The price is time. AVIF encoding runs the AV1 coder, and since everything here happens in your browser rather than on a server, this is the slowest conversion we offer. Large images take a while. That's the trade.
How to Convert PNG to AVIF
Select your PNG files
Drop images in — every common format works.
Convert to AVIF
Runs automatically; open advanced settings to tune quality.
Download
Save files singly or as one ZIP.
Why Convert PNG to AVIF?
AVIF is the most efficient image format available today. Converting PNG to AVIF can reduce file sizes by 50–70% while maintaining transparency and visual quality comparable to the original. For websites, this means dramatically faster loading times and lower bandwidth costs.
AVIF is based on the AV1 video codec and offers superior compression for both photographic and graphic content. It supports transparency (alpha channel), wide color gamut, and HDR. Major browsers including Chrome, Firefox, and Safari all support AVIF.
LeanImg converts your PNG files to AVIF right in your browser — images never leave your device. There is no server upload, no account needed, and the service is completely free. Conversion takes a few seconds per image thanks to optimized WebAssembly codecs.
AVIF encoding is slower than WebP or JPG due to its advanced compression algorithms, but the file size savings are worth the wait for web delivery. Need broad compatibility? Try PNG to WebP as a more widely supported alternative.
What changes going from PNG to AVIF
The defaults on this page are quality 50, encoder speed 6 and 8 bits per channel. Fifty is the encoder library's own default, and on a photograph it usually lands well under half the PNG's size. Transparency survives, and soft edges in the alpha come out as drawn. The color underneath is lossy from now on, so a pixel-exact copy is no longer possible from this file.
Two ceilings apply. The browser canvas hands the encoder 8-bit sRGB pixels, so a 16-bit or wide-gamut PNG is flattened to that before AV1 ever sees it, and the file is written at 8-bit even though AVIF itself goes to 10 and 12. Text chunks and color profiles are dropped with the rest of the metadata. Then there's time: on our 3840x2160 fixture an AVIF encode took 10 to 11 seconds in the browser against a near-instant WebP, and a batch of large PNGs multiplies that.
Support is good in browsers from Safari 16 and Edge 121 onward, patchier on the desktop, where Windows wants the AV1 Video Extension installed before Photos will open one. WordPress only accepted AVIF uploads from version 6.5 in 2024, and many CMS platforms still don't. Skip this conversion for a UI screenshot with small text, where quality 50 softens the letters, and for anything you need to hand to a designer as a lossless file. Those stay PNG.
PNG vs AVIF
| Feature | PNG | AVIF |
|---|---|---|
| File Size | Large | 50–70% smaller |
| Transparency | Yes | Yes |
| Compression | Lossless | Lossy or lossless |
| Browser Support | Universal | Chrome, Firefox, Safari |
| Best For | Graphics, editing | Web delivery (next-gen) |
| Encoding Speed | Fast | Slower |
What is a AVIF file?
AVIF is a single AV1 keyframe wrapped in the same ISOBMFF container HEIC uses. The Alliance for Open Media published version 1.0 in February 2019, and Google measures better than 50% savings against JPEG at comparable quality. It carries continuous alpha as a separate auxiliary image, and its 10-bit color with Rec.2020 or P3 signalling makes it the only common web format that can do HDR stills. The cost is encoding time: AVIF inherits AV1's computational profile, making it by far the slowest output LeanImg produces.
| Released | 2019 by the Alliance for Open Media |
| Compression | Lossy or lossless AV1 intra coding, in a HEIF container |
| Transparency | Continuous alpha, as a separate auxiliary image |
| Color depth | 8, 10 or 12 bits per channel. Both named profiles stop at 10 |
| Browser support | Chrome 85, Safari 16, Firefox 93, Edge 121 |
| MIME type | image/avif |
How to open a AVIF file
Any current browser displays AVIF, so a browser is usually the quickest viewer you'll find. macOS opens it natively in Preview and Quick Look from Ventura onward. Windows needs the free AV1 Video Extension from the Microsoft Store before Photos will show one. On Linux, GIMP has imported and exported AVIF since 2.10.22, provided its libheif was built with AV1 support.
Convert other formats to AVIF
Convert PNG to other formats
Frequently Asked Questions
How to convert PNG to AVIF?
Go to LeanImg in any browser, drop your PNG files into the converter, and download AVIF versions in seconds. The tool is free, requires no sign-up, and processes files locally. Your images are never uploaded to any server. Multiple files can be converted at once.
Is it safe to convert PNG to AVIF online?
Yes. LeanImg converts images entirely in your browser using WebAssembly codecs. No files are uploaded, no data is stored remotely, and your images never leave your device. The process is completely private and as secure as working offline.
How to convert PNG to AVIF on Mac?
Open any browser on your Mac and navigate to LeanImg. Drop your PNG files into the converter and download AVIF files instantly. No software installation required. Safari, Chrome, and Firefox on macOS all work perfectly with the tool.
Does AVIF support transparency?
Yes. AVIF fully supports alpha transparency, just like PNG. Transparent backgrounds and semi-transparent effects are preserved during conversion. AVIF achieves this while producing dramatically smaller files, often 50–70% smaller than the equivalent PNG.