Open Toolkit

Convert PNG to AVIF

The smallest web images from PNG, keeping transparency.

Free, no sign-up, no credit card. Your files stay on your device.

How to convert PNG to AVIF

  1. Choose your PNG images, or drop them on the page.
  2. Pick a quality and a speed. High and "Balanced" suit most images.
  3. Select "Convert to AVIF", then download each image, or all of them as a zip.

About PNG to AVIF

Where PNG files come from

PNG keeps every pixel, so exported designs, screenshots, and product images make heavy web pages. AVIF is the most compact image format browsers show, and it keeps transparency, so it is a good final format for a website.

What changes

  • Transparency is kept.
  • AVIF compresses with loss. It smooths fine noise and grain first, which is where most of its savings come from. Choose "Best" to keep that texture.
  • Colours are stored as most cameras store them (4:2:0), which can blur thin coloured lines slightly.
  • Metadata inside the PNG is not copied.

Measured

A 12-megapixel sample photo as PNG, a 12-megapixel transparent sticker, and a 1024 by 1024 pixel logo, converted in Chrome on a laptop. The sample photo has fine artificial grain, which AVIF at High quality smooths away almost entirely, so its High result is unusually small. Real photos with more texture make larger files. Times include loading the encoder.

Photo, PNG to AVIF, High quality, Balanced 14 MB to 23 KB, in 2.9 seconds
Photo, Best quality, Balanced 761 KB, in 3.9 seconds
Photo, High quality, Fast 21 KB, in 1.3 seconds
Photo, High quality, Finest detail 20 KB, in 35 seconds
Logo, High quality, Balanced 47 KB to 8 KB
Sticker, High quality, Balanced 60 KB to 20 KB

In your browser

No browser can save AVIF itself, so every browser downloads a 1.1 MB AVIF encoder (libavif) on the first conversion and then reuses it from its cache. It uses one processor core, which works in every browser but is slower than desktop apps that use them all.

Limits

  • AVIF is slow to make. On phones, a 12-megapixel image may take many times longer than on a laptop, and Finest detail can take minutes. Phones convert one image at a time.
  • Older browsers and many desktop programs can't open AVIF.
  • Very large images may be reduced to about 16 megapixels on iPhones. The result says so.

Other options

  • PNG to WebP: much faster to make and shown by more programs, a little larger.
  • AVIF to JPG: turn an AVIF into a JPG for apps that can't open it.
  • Compress image: keep the PNG format and make it smaller.
  • Image converter: convert many images at once, from HEIC, WebP, AVIF, TIFF, and more to JPG, PNG, WebP, AVIF, or GIF.

Questions

Is AVIF smaller than WebP?

Usually, at the same look. AVIF uses a newer video codec's compression. The difference is largest on photos and smooth graphics.

Are my images uploaded?

No. Your files are processed on your device. We never upload them.

Does AVIF keep transparency?

Yes. See-through parts of the PNG stay see-through.

Why does AVIF take longer than other formats?

No browser can save AVIF itself, so the page downloads an AVIF encoder (1.1 MB) and runs it on your device. AVIF also does more work to find a small file. Balanced took about 3 seconds for a 12-megapixel image on a laptop; Finest detail took 35 seconds.

Which quality and speed should I pick?

High with "Balanced" suits most web images. Choose "Best" when fine texture such as skin, fabric, or film grain must stay. Fast is fine for big batches. Finest detail keeps a little more texture but is many times slower.

Can every browser show AVIF?

Current Chrome, Edge, and Firefox, and Safari on macOS 13, iOS 16, and later, show AVIF. Older browsers and many desktop programs don't, so websites often offer WebP or JPG as a fallback.

Something not working? Report a problem