PNG to AVIF
Shrink a PNG to a fraction of its size, keep transparency.
Processed in this tab
How it works
- Choose a PNG image.
- Set the AVIF quality.
- Convert and download the AVIF file.
Why move a PNG to AVIF
PNG earns its keep with lossless pixels and transparency — but it charges for it. A photo or detailed graphic saved as PNG is often the heaviest asset on a page. AVIF was designed for exactly this rescue: at a high quality setting it looks identical to the source while routinely cutting the file to a tenth of the PNG, and it keeps the alpha channel that JPG would throw away.
The conversion runs in this browser tab. Your PNG is decoded locally and re-encoded as AVIF with a WebAssembly build of libavif — the same codec engine behind the big converter sites, except nothing is uploaded and it works offline.
How much smaller?
Photos and gradient-rich graphics see the biggest wins — PNGs of a few hundred KB often come out the other side at tens of KB. Flat logos with a handful of colors are already efficient as PNG, so the gain there is smaller. The only way to know for your image is to run it through and compare.
Will everything open the AVIF?
Every current browser reads AVIF (Chrome, Firefox, Safari 16.4+, Edge), which makes it a safe choice for websites. Some older desktop software and upload forms still cannot — keep the PNG master, and if you hit a wall, convert back to PNG or use PNG to WebP for slightly wider support. More detail in AVIF vs WebP.
Questions
- Does AVIF keep PNG transparency?
- Yes. AVIF supports a full alpha channel, so transparent and semi-transparent areas of the PNG survive the conversion.
- How much smaller will the AVIF be?
- It depends on the image. Photos and detailed, colorful graphics often shrink by 80–90% compared with PNG. Simple flat logos are already compact as PNG, so the reduction there is more modest.
- Is the AVIF lossless like the PNG?
- This tool re-encodes at the quality you set, so it is lossy. Near the top of the quality slider the result is visually indistinguishable from the original PNG while being far smaller.
- What quality should I choose?
- The 82% default works well for most images. Raise it toward 90%+ for screenshots, text, and line art where crisp edges matter.
- Is the PNG uploaded anywhere?
- No. The image is decoded and encoded locally in your browser with a WebAssembly codec — it never leaves your device and the tool works offline.
- Can I convert several PNGs at once?
- The tool handles one image at a time. Convert the first, then load the next — each stays on your device.