How to convert PNG to AVIF
- Add the PNG images you want to make lighter.
- AVIF is preselected; adjust quality if the images contain small text.
- Convert and download the AVIF files one by one or as a ZIP.
Big PNGs, small AVIFs
PNG files get large quickly, particularly photos, gradients and detailed illustrations. On a web page, those heavy files slow everything down. AVIF supports the same kind of transparency as PNG but uses modern lossy compression, so a cut-out product image or a hero illustration can often be a small fraction of its PNG size. That's valuable for online shops with hundreds of product shots, landing pages with large banners and any site where page speed matters.
Transparency is preserved
The alpha channel of your PNG is encoded into the AVIF: transparent backgrounds stay transparent, and soft edges or drop shadows keep their partial transparency. You don't need to choose a background color.
When PNG should stay PNG
AVIF is lossy in this converter, and it isn't the right fit for every image:
| Image | Recommendation |
|---|---|
| Photo saved as PNG | Convert to AVIF, big savings |
| Product cut-out, illustration | Convert to AVIF at 60–75% |
| Screenshot with small text | AVIF at 80%+ or keep PNG |
| Pixel art, tiny icons | Keep PNG; lossy compression blurs hard pixel edges |
| Image for email or old software | Keep PNG for compatibility |
The result list shows old and new size side by side, so you can see immediately whether conversion paid off for each file.
Checking the results
After conversion, each file shows a small preview on a checkerboard, so you can see that the transparent areas came through. The line under the name compares the original PNG size with the new AVIF size and lists the dimensions in pixels, which never change during conversion. If one file looks worse than expected, go back, raise the quality slider, and convert that file again.
Good candidates for conversion
- Screenshots of apps or websites that you publish in articles and help pages.
- E-commerce product photos with the background removed.
- Large decorative illustrations and banners with smooth gradients.
- Photos that an editor or phone saved as PNG by default.
Speed and privacy
This page includes its own AVIF encoder, running as WebAssembly in a background worker. It's slower than saving a JPG or WebP: count on a few seconds per large image. Large batches are processed in sequence with a progress indicator. Since the encoder runs on your device, your graphics and screenshots stay private; no server ever receives them.
Need wider compatibility with similar benefits? PNG to WebP also keeps transparency and encodes much faster. Colors come through as your browser displays them, though very subtle gradients can band slightly at low quality settings; a higher value avoids that.
More ways to use this tool
Frequently asked questions
Does AVIF support transparent backgrounds?
Yes. AVIF has a full alpha channel, so transparency from your PNG carries over.
Will small text stay readable?
Usually yes at higher quality settings (80% or more). At low settings, fine text may soften, so check screenshots before replacing the PNGs.
Why did one image get bigger?
Very simple images with few colors are already stored efficiently by PNG. In that case, keep the PNG.
Can I convert many PNGs at once?
Yes. Add them all; they are encoded one after another and can be downloaded as a ZIP.
Do I need to install anything?
No. The AVIF encoder is part of this page and runs in any modern browser on desktop or mobile.
What quality should I use for logos?
Start around 70–80% for logos and graphics with crisp edges. Photos and illustrations with soft detail look fine at the default 60%.