Formats

How to Convert PNG to AVIF and Fix Common Conversion Problems

Make your first AVIF, compare it with the original PNG, and use the fixes below if the file is bigger, looks blurry or will not open.

Cut-paper lighthouse prints linked by an arrow on textured cream paper

Our lighthouse PNG shrank from 79,195 to 20,797 bytes at the same 960 × 600 pixels. A tiny icon went from 118 to 524 bytes. If you are trying to speed up a page or meet an upload limit, make one AVIF copy and see which result you get.

Open the free PNG to AVIF converter to convert an image in your browser. ImageFinch draws the decoded pixels onto a canvas and encodes a still AVIF. It leaves the original file on your device and exports the pixels without copying the PNG’s original metadata or animation.

How to use the PNG to AVIF converter

Make and check one AVIF first
  1. 1Select or drop one original PNG into the converter.
  2. 2Leave Conversion Quality at 90 for your first attempt. This uses lossy compression, so some pixel values can change.
  3. 3Select Convert and check the result size. Preview the image at the size you intend to use it.
  4. 4Select Download Image. On a phone, look in Downloads or Files if the AVIF does not appear in your gallery.

When should you convert to AVIF?

Try AVIF for a photograph, banner or detailed illustration headed for a website. Keep PNG for an editable original or for small coloured text that needs to stay crisp. If a form asks for fewer pixels, resize a copy first. This converter keeps the original width and height.

PNG vs AVIF file size in two real conversions

We converted both samples at quality 90 in Chrome on Windows and measured the saved files in bytes.

SampleDimensionsPNG bytesAVIF bytes
Textured lighthouse graphic960 × 60079,19520,797
Small transparent icon32 × 32118524

Open the original files above to compare their detail at 100% zoom. AVIF stores file structure and, for the transparent icon, separate transparency data. That overhead is small beside the savings on the lighthouse and large beside an entire 118-byte PNG.

Fix common PNG to AVIF conversion problems

What went wrongWhat to try
The AVIF is largerKeep an already tiny PNG if it works in the destination. For a larger graphic, try a lower quality from the original file and compare the saved sizes.
Text looks blurry or a gradient has bandsCheck the image at 100% zoom. Try a higher quality from the original PNG. If coloured lettering still bleeds or a gradient still bands, keep the PNG.
The background looks white or blackA viewer can show its own backdrop through a transparent image. Test the AVIF over two colours before assuming the background was filled in.
Colours look dull or shiftedCompare the source and output in a colour-managed viewer. For colour-critical work, keep the original with its profile.
The file opens in Chrome but a website rejects itCheck the accepted formats, maximum file size and pixel dimensions. Use the original PNG if the form requires it.
Conversion stalls or failsCheck that the PNG opens and fits the file and pixel limits below. Retry one image. Resize a copy first if the browser runs out of memory.
An animated PNG stops movingImageFinch makes a still AVIF. Use a tool that explicitly supports animated PNG input and animated AVIF output if you need motion.

Can you convert PNG to AVIF without losing quality?

Higher quality can reduce compression artefacts. It cannot restore colour detail lost when the encoder stores colour at lower resolution than brightness, or add finer steps to an 8-bit gradient. The AVIF files in this test use 8-bit encoding and 4:2:0 colour sampling. For pixel-exact output, keep the PNG.

Check transparency without installing an editor

Drop the AVIF over a light and a dark background in an app that already opens it, or use the local browser test below. If both background colours show through around the subject, the file has transparency. If a solid rectangle stays with the image, check the PNG for the same rectangle. See the PNG to AVIF transparency guide for edge and shadow examples.

Put the downloaded AVIF and a text file in the same folder. Save the code below as test.html, change both image names to match your AVIF, and open test.html in your browser.

<div style="background:#fff;padding:16px">
  <img src="image.avif" width="240" alt="">
</div>
<div style="background:#222;padding:16px">
  <img src="image.avif" width="240" alt="">
</div>

What if the download will not open?

  • Drag the saved AVIF into an open tab in a current browser. If it opens there, the download is readable and the other app may lack AVIF support.
  • On Windows, check for an update or a codec prompt in the viewer. On a Mac, try opening the file in Preview. If the viewer still refuses it, use the browser or choose a format the app accepts.
  • If the browser cannot open it either, extract the AVIF from the ZIP or download it again. Make sure you exported the file through the converter. Renaming a PNG does not change its format.

If an upload requires PNG and you only have the AVIF, convert the AVIF back to PNG. That recovers a compatible file format. Any detail discarded by the original conversion stays lost.

PNG to AVIF metadata and compatibility

What happens to EXIF, colour profiles and DPI?

Our lighthouse AVIF kept the original pixel dimensions. The source EXIF artist tag, sRGB ICC profile and 300 DPI setting were absent from the export. If the print size matters, record the original DPI and set it in your layout app.

The browser canvas uses sRGB by default. Saturated colours from a wider profile such as Display P3 can shift on conversion. Keep the original PNG or use an encoder that preserves your profile when accurate colour matters.

Metadata inspection of the original lighthouse PNG and its AVIF export
Metadata inspection for the lighthouse test. The original and converted file have the same pixel dimensions.

Other AVIF encoders can preserve metadata or produce an animated file. See the AVIF format specification for format capabilities and the MDN reference for AVIF and browser support for browser details.

Use AVIF on a website with a PNG fallback

Upload both copies and replace the example filenames with yours. Change the dimensions and alt text to match your image. In a CMS, check the live page for a broken image or missing thumbnail, even when the media library preview works.

<picture>
  <source srcset="lighthouse.avif" type="image/avif">
  <img src="lighthouse.png" width="960" height="600"
       alt="Lighthouse on a cliff">
</picture>
Optional privacy check in Developer Tools

Open the Network panel and clear it after the tool loads. Convert a test PNG and inspect new request payloads. The browser may fetch JavaScript or WebAssembly encoder files. Look for whether any outgoing request contains the PNG itself.

File limits, batches and animated PNGs

ImageFinch accepts up to 100 MiB per file, 80 million pixels per image and 100 files per selection. A small file on disk can still decode into a large canvas. At 80 million pixels, one four-byte-per-pixel buffer takes about 305 MiB before overhead. We tried a 10,000 × 8,100 PNG, which was rejected at 81 million pixels.

A very wide panorama or tall screenshot can still hit a browser or encoder dimension limit below 80 million pixels. If that happens, resize a copy or split it into smaller images.

For a batch, select several PNGs and convert them together. When two or more are ready, choose Download All as ZIP and extract the files before uploading. If one fails, save the successful outputs before retrying the failed image on its own.

ImageFinch showing three converted images and the option to download a ZIP
The three-file test in ImageFinch. The ZIP bundles the completed AVIF files.

Our two-frame APNG came back as one still frame. If your animated PNG needs to keep moving, save the source and check playback after exporting with an animation-aware tool.

AVIF vs WebP and when to use JPG

If the destination rejects AVIF, try WebP if supported, JPG for a photo when the destination asks for it, or PNG for transparency. See the WebP, AVIF and JPEG comparison for help deciding.

If you need a JPG, convert the original PNG to JPG. Starting from the PNG avoids compressing the AVIF again.

Frequently asked questions

Start at quality 90 in ImageFinch. If you need fewer bytes, try a lower setting from the same PNG and inspect small text, edges and gradients before keeping the output.

Tools used in this guide

PNG to AVIF ConverterAVIF to PNG ConverterPNG to WebP Converter

Keep reading

Paper-art hummingbird moving from PNG to AVIF over transparency checkerboardsFormatsHow to Convert PNG to AVIF Without Losing TransparencyMountain lake photo prints with JPG, WebP and AVIF paper labelsFormatsWebP vs AVIF vs JPEG: Choose by Image and DestinationPaintbrush beside WebP and JPG cards showing a hot air balloonFormatsHow to Convert WebP to JPG on Windows Using Paint
All guides