Convert PNG to AVIF

PNG keeps every pixel but bloats fast — screenshots, graphics and anything with alpha get heavy. AVIF is the most compact format browsers display and it supports transparency, so you can shrink a PNG hard without flattening that alpha. Same caveat across our AVIF tools: no browser exposes a built-in AVIF encoder to web pages, so this uses libaom as WebAssembly right in your tab — still all local. Two things we won't hide: it's lossy at these settings (keep the PNG, or try PNG to JXL for true-lossless, if you need every pixel back), and flat-color graphics sometimes shrink less than photos do. For everyday web images, though, it's one of the biggest size wins going.

Drop PNG files here or click to browse

Processed locally — files never leave your device

How to use

  1. Drop your PNG files into the box, or click it to browse.
  2. Adjust the quality slider (50% default); transparency is carried over automatically.
  3. The AVIF encoder (WebAssembly) runs locally on your device.
  4. Download the .avif files.

Frequently asked questions

Is transparency preserved?

Yes. AVIF supports an alpha channel, so transparent PNG logos, icons and overlays keep their transparency after conversion.

Are my PNG files uploaded?

No. Decoding uses the browser's built-in image engine and the AVIF encoder is a WebAssembly module running in your tab. Nothing leaves your device, and it works offline once loaded.

Is this lossless like PNG?

Not at the quality settings here — AVIF is lossy, trading a little fidelity for much smaller files. If you must keep every pixel, keep the PNG or use PNG to JXL in true-lossless mode.

How much smaller will it be?

Photos and complex screenshots often drop by a large margin — commonly well under half the PNG size. Flat-color graphics with sharp edges can shrink less dramatically; results vary by content.

Is AVIF encoding done by the browser natively?

No — browsers display AVIF but don't expose a built-in encoder to web pages, so this tool uses libaom compiled to WebAssembly. Still 100% local on your device.

Related tools

Need lossless? See PNG to JXL or Compress PNG. From JPG? Use JPG to AVIF. Want a WebP instead? PNG to WebP. To turn AVIF back into PNG, use AVIF to PNG.