Skip to content

PNG to AVIF Converter

Convert a PNG to AVIF and keep transparency. AVIF is encoded on the server, so it needs server AVIF support and a browser that can show AVIF.

transform

Drop PNG image here

or click to browse PNG files to convert to AVIF

Accepted format: PNG • Output format: AVIF • Maximum 20 MB

What this tool does

Choose a PNG, set a quality value, and download an AVIF file. Transparency is kept.

How to use it

  1. Choose a PNG file, or drop it on the page. A preview and its size appear.
  2. Set the quality with the slider. It starts at 85%.
  3. Press Convert to AVIF.
  4. Compare the input and output sizes the page shows, then press Download AVIF.

Where it runs

The work happens in your browser, using the canvas feature that every current browser has. The image is not uploaded and nothing is stored on this site’s server.

AVIF is the exception. Browsers can’t write AVIF from a canvas, so for AVIF output the tool sends your file to this site’s server, which encodes it with PHP’s GD library. That only works when the server’s GD build supports AVIF, and the tool shows an error when it doesn’t. The upload sits in a temporary folder just long enough for you to download the result (the link lasts 15 minutes). The server refuses images over 50 megapixels and allows 15 conversions a minute.

When AVIF beats PNG

PNG stores every pixel exactly, so photographic images and screenshots with gradients are heavy. AVIF can store them at a fraction of the size and supports alpha transparency. It works especially well for large photographic images with a transparent cut-out, where PNG files get very big.

When not to use it

  • Logos and sharp UI graphics. AVIF is lossy here, and thin lines and text can soften. Keep those as PNG or SVG.
  • Sources you plan to edit again. Keep the PNG as your master and publish the AVIF copy.
  • Places that don’t support AVIF, such as some email clients and older browsers. Provide a fallback.

AVIF usually looks fine at lower quality numbers than JPEG or WebP. Start around 50 to 70.

Limits

  • Metadata such as EXIF, location and colour profiles is not carried over, because the image is redrawn.
  • Browsers apply a photo’s EXIF rotation when they open it, so a phone photo normally comes out the right way up.
  • An animated image becomes a single still frame.
  • The page states a 20 MB maximum but doesn’t check it in the browser. Very large images depend on your device’s memory, and the browser can fail on huge ones.

If you need transparency with the widest support, PNG to WebP is the safer choice.

Does AVIF keep transparency?

Yes, the alpha channel is preserved.

Is the AVIF lossless?

No. The tool writes lossy AVIF controlled by the quality slider.

Should I replace my PNG logos with AVIF?

Not usually. Sharp, flat graphics are better as PNG or SVG.

Why does conversion fail on some servers?

AVIF is encoded on this site’s server with PHP’s GD library. If that build has no AVIF support, the tool says so.

Is my PNG uploaded?

Yes, for this tool. It is sent to the server for AVIF encoding and removed after the download link expires or is used.