Skip to content

Convert PNG to AVIF

Convert a PNG to AVIF on your device when this browser can create AVIF files, keeping transparency. If it can't, the page tells you honestly and suggests WebP instead.

You can select several images and download a ZIP.

AVIF output is hidden because this browser can't create AVIF files from a canvas (Chrome, Firefox and Safari currently decode AVIF but don't expose an encoder). You can still open an AVIF if your browser can display it.

SmallestHighest
%

100% keeps the original size. Images are never enlarged.

Original

No image

Converted (AVIF)

No image

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

  1. 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.
  2. Select a PNG. Click Select PNG and choose one file or several. Only PNG files are accepted on this page.
  3. 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

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.