PNG to AVIF Converter
Convert PNG to AVIF in your browser with an AV1 encoder, keeping transparency as an alpha layer or filling it. See the size saving; Chrome and Edge.
AVIF compresses graphics, screenshots and photos far better than PNG while still supporting transparency, and all current browsers display it. Browsers cannot save AVIF from a canvas, so this converter encodes each picture with the browser's own AV1 encoder (WebCodecs) and writes the AVIF file itself. Transparent PNGs keep their transparency as a separate alpha layer, as the AVIF standard defines; or you can fill it with white or black. It runs in Chrome and Edge on computers.
How to use this tool
- Drop one or more PNG files.
- Set the quality; 70 is a good start for logos and screenshots.
- Keep transparency, or fill it with white or black; optionally set a max size.
- Convert, check the size change and download the AVIF files.
Formula
AV1 quantizer = round((100 − quality) × 63 ÷ 100). The alpha layer is encoded at quality ≥ 90 so edges stay clean. Size change = (AVIF bytes ÷ PNG bytes − 1) × 100%.
Colour is converted to YCbCr 4:2:0 (BT.601, full range) and labelled nclx 1/13/6. The alpha channel becomes a second AV1 image whose brightness is the opacity, marked as an auxiliary item of type urn:mpeg:mpegB:cicp:systems:auxiliary:alpha and linked to the colour image with an auxl reference — the standard AVIF alpha layout that browsers and libavif read. AVIF is lossy here: use PNG or lossless WebP where every pixel must stay exact.
Example
At quality 70 the AV1 quantizer is round(30 × 63 ÷ 100) = 19. If a 420 KB transparent PNG becomes a 63 KB AVIF, the size change is 63 ÷ 420 − 1 = −85%, shown under the file; the exact saving depends on the picture.
Frequently asked questions
Is the transparency kept?
Yes. The alpha channel is stored as an AVIF alpha layer, which Chrome, Edge, Firefox and Safari display. Choose "Fill with white" if the target cannot handle transparency.
Which browsers can convert?
Encoding needs an AV1 encoder that web pages can use (WebCodecs), which Chrome and Edge on computers have. Safari and most phone browsers can show AVIF but cannot create it from a web page yet; the page checks first and tells you if your browser cannot.
Is AVIF lossless like PNG?
Not here: AVIF from this tool is lossy. At high quality the difference is very hard to see, but for pixel-exact output keep PNG or use lossless WebP.
Are my images uploaded?
No. Encoding happens in your browser.
Sources
Last updated:
Page address with these inputs: https://kakao.mobile/tools/png-to-avif-converter/
Cite or embed this tool
kakaoCalc. (2026, November 8). PNG to AVIF Converter. https://kakao.mobile/tools/png-to-avif-converter/
“PNG to AVIF Converter.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/png-to-avif-converter/.