How to use PNG to AVIF
- 1Drop your PNG images into the box or click Choose files.
- 2Set the quality; Balanced (80) works well for most images.
- 3Keep Background on Transparent, or fill transparent areas with a color.
- 4Click Convert to AVIF. The encoder loads on first use.
- 5Download the AVIF files individually or as a ZIP.
Big savings on PNG photos and screenshots
PNG is lossless, which makes photos and detailed screenshots saved as PNG very large. AVIF can cut those files by 80 to 95 percent while still looking the same at normal viewing size. It is a good fit for website hero images, blog screenshots and product images with transparent backgrounds.
Simple flat graphics such as small icons and logos are already tiny as PNG, and AVIF may not be smaller. The list shows the size change for every file so you can keep whichever is smaller. For crisp logos on a website, an SVG is often best.
Typical results: a 2 MB full-HD PNG screenshot often becomes 100 to 300 KB as AVIF at quality 80. Photos saved as PNG shrink even more.
Transparency
AVIF supports an alpha channel, so transparent backgrounds and soft edges are kept. If you are placing the image on a known background color, you can fill transparency with that color instead, which often saves a little more space.
Good to know
The AVIF encoder (about 3.5 MB) downloads once, the first time you convert. Large images take several seconds each, and Shrink large images makes it faster. Quality 90 and above keeps full color detail, which is useful for screenshots with small colored text. If you need broader compatibility, WebP is supported by even more apps.
Measured on photos, screenshots and a logo
| Source PNG | 60 | 80 | 92 |
|---|---|---|---|
| Photo 600 x 400, 455.8 KB | 16.7 KB | 27.7 KB | 35.9 KB |
| Screenshot 1920 x 1080, 118.1 KB | 23.5 KB | 25.8 KB | 27.6 KB |
| Screenshot 2560 x 1600, 160.7 KB | 34.8 KB | 48.2 KB | 56.8 KB |
| Transparent logo 500 x 500, 178.8 KB | 13.3 KB | 17.0 KB | 19.9 KB |
For comparison, the full HD screenshot was 53.7 KB as WebP at 80, twice the AVIF at the same setting.
Use 92 for screenshots
Look at the screenshot row: going from 80 to 92 added only 1.8 KB on the full HD capture. At 90 and above the encoder keeps full color resolution, which keeps small colored text and thin lines from bleeding. Since it costs almost nothing in size, 92 is the sensible setting for UI screenshots, charts and code. Photos are different: there 80 is usually enough.
Plan for encoding time
AVIF encoding is heavy. Our batch of four PNGs, including a 2560 x 1600 screenshot, took 23 to 27 seconds in Chrome on a desktop. Phones are slower. For dozens of large screenshots, turn on Shrink large images with the width your page actually displays; it makes encoding several times faster and the files smaller.
When to keep the PNG
AVIF is not always the winner. Tiny icons of a few kilobytes, pixel art that must stay pixel exact, images you will still edit, and files for apps outside the browser are better kept as PNG. For crisp logos on a website, an SVG is often smaller and sharper than either. The results list shows the size change for every file, so if one gets bigger, simply keep that PNG.
Frequently asked questions
Does PNG to AVIF keep the transparent background?
Yes. With Background set to Transparent, which is the default here, the alpha channel is kept.
Is AVIF lossless like PNG?
No. This tool makes lossy AVIF files, which is where the big size savings come from. At quality 92 or higher the difference is very hard to see.
Why did one of my files get bigger?
Very small or very simple graphics compress extremely well as PNG already. In that case keep the PNG.
Will AVIF work on my website?
All current major browsers show AVIF. For older browsers, offer a PNG or JPG fallback with the picture element.
Are my images uploaded?
No. Encoding happens in your browser.
Can I resize while converting?
Yes. Turn on Shrink large images and set the longest side in pixels. This saves more space than lowering quality and makes encoding faster.
Will the transparent logo have clean edges?
Yes. The alpha channel, including semi-transparent edges, is encoded. Check it on a dark background if the logo will sit on dark pages.
Can a browser that does not support AVIF show the files?
No. Serve AVIF with a PNG or JPG fallback inside a picture element for older browsers.
Is AVIF a good format for files I still need to edit?
No. AVIF is a delivery format. Keep the PNG as your editable master and export AVIF copies for the web.
Why is AVIF so much smaller than PNG for the same picture?
PNG must store every pixel exactly. AVIF predicts areas from their neighbors and stores only an approximation that looks the same to the eye. That is why photos saved as PNG shrink by more than 90 percent.
Can I upload AVIF to WordPress?
From WordPress 6.5, yes, if your host's image library supports AVIF. Check under Tools, Site Health, Info, Media Handling.
Should I use AVIF for images in emails or newsletters?
No. Many email programs do not display AVIF. Use JPG or PNG in emails and keep AVIF for web pages.