Skip to main content

Convert PNG to AVIF with transparency preserved.

Shrink heavy transparent PNGs, illustrations, and UI assets into modern AVIF files locally in your browser—with automatic WebAssembly fallback on browsers without native AVIF encoding.

PNG to AVIF

Drop one or more images here, or click to browse

Accepts PNG images (up to 24 MB / 40 MP). Processed 100% locally in your browser.

Output format
AVIF
Compression preset
Original
--
Waiting for image
Output (AVIF)
--
Local encoder ready
Measured change
--
Select an image to measure
Drop or choose an image above to preview before and after locally.

How to use PNG to AVIF

  1. Drop your PNG file onto the tool above, or click Choose image.
  2. Verify transparency against the checkerboard preview and compare visual sharpness with the split slider.
  3. Click Download AVIF to save the verified .avif file—no uploads, no account.

Transparent PNGs in AVIF format

AVIF stores an independent alpha plane alongside the AV1 image plane, preserving smooth anti-aliased edges and translucent shadows at a fraction of the byte size of 32-bit PNG.

For large high-DPI screenshots and transparent hero artwork, PNG to AVIF frequently achieves 75% to 90%+ file size reductions compared to unoptimized PNG exports.

Sharp UI text and graphics considerations

Because default AVIF uses 4:2:0 chroma subsampling, thin colored 1px lines or small colored text on contrasting backgrounds can soften slightly at low quality settings. Keep quality at 85+ for UI screenshots, or compare directly against PNG to WebP or Lossless PNG.

Honest capabilities and browser limits

  • Animated PNGs (APNGs) are skipped to avoid discarding animation frames.
  • Encoding large PNGs via the WebAssembly fallback takes a second or two inside a background Web Worker; you can cancel at any time.
  • When the WASM fallback is needed, the browser lazy-loads a self-hosted avif_enc.wasm codec on first encode and caches it locally.

Questions

PNG to AVIF FAQ

Does PNG to AVIF keep transparent backgrounds?

Yes. Both native browser AVIF encoders and Kilobyte’s self-hosted libaom WebAssembly fallback encode the full alpha channel.

What if an older browser cannot display AVIF?

Wrap the AVIF image in an HTML <picture> element with a WebP or PNG fallback. On WordPress, Kilobyte generates that <picture> markup automatically while leaving your original PNG intact.

Why is PNG to AVIF slower than PNG to WebP?

AVIF encodes separate AV1 luma/chroma and alpha bitstreams using significantly more search heuristics than WebP. For rapid bulk batches on mobile devices, PNG to WebP finishes much faster.