AVIF from a PNG, only when the encoder exists
A PNG can be a large way to store a photograph or even a simple graphic. AVIF is often much smaller and can keep transparency, but only some browsers can currently create an AVIF from a canvas. This page checks first and will not offer a download it cannot produce.
How to convert PNG to AVIF
- Check that this browser can create AVIF. The tool probes the canvas encoder when the page loads. If AVIF output isn't available, you'll see a clear message rather than a broken download.
- Select a PNG. Click Select PNG and choose one file or several. Only PNG files are accepted on this page.
- Set the quality and convert. If the encoder is available, set the quality, click Convert to AVIF, and download the result or a ZIP. Transparent pixels are kept.
If this browser cannot create AVIF
Use PNG to WebP instead. WebP can keep transparency, is much smaller than a PNG for most photographs, and is offered in current browsers. Keep the PNG if you need a lossless master or if a tool has asked for PNG specifically.
Related conversions
This page is locked to PNG to AVIF. The Image Converter handles any pair of supported formats, including GIF and BMP as input, and can convert a mixed batch in one go.
Related tools and guides
- Image Converter: any format to any format, including batches
- PNG to JPG
- JPG to PNG
- WebP to JPG
- WebP to PNG
- JPG to WebP
- PNG to WebP
- AVIF to JPG
- AVIF to PNG
- JPG to AVIF
- Image Compressor & Resizer: change quality and dimensions together
- Compress image to a target size: fit a KB or MB limit
- HEIC to JPG
- Image to text (OCR)
PNG to AVIF FAQ
Why does it say my browser can't create AVIF?
Opening an AVIF and creating one are different features. Current Chrome, Firefox and Safari can usually display AVIF, but they do not yet expose an AVIF encoder to the canvas API this page uses. Until they do, this conversion cannot run here.
What should I use instead?
PNG to WebP is the practical alternative: WebP is smaller than PNG for most photos and graphics, can keep transparency, and is widely supported. Use that page, or the Image Converter.
Is transparency kept?
Yes, when the conversion runs. AVIF can store an alpha channel.
Are my files uploaded?
No. When the conversion runs, it runs in your browser.
Can I convert many PNGs at once?
Yes, when the encoder is available. Select a batch and download a ZIP.