PNG to AVIF Converter
Convert PNG (Portable Network Graphics, 1996) to AVIF (AV1 Image File Format, 2019) entirely in your browser. Output files are dramatically smaller — typically around 92% the size for ordinary photographs. Files never leave the tab — there is no upload.
Which formats are supported?
Inputs: PNG, JPEG, WEBP, AVIF, GIF, BMP, ICO, TIFF (Safari) and HEIC/HEIF (via libheif WASM, loaded on demand). Outputs: PNG, JPEG, WEBP, AVIF — each with an optional WASM encoder variant in the dropdown (mozjpeg, oxipng, libwebp, libavif) for tighter compression or consistent output across browsers. Vendor camera RAW formats (CR2/CR3/NEF/ARW/DNG/...), PSD, EPS, TGA, XCF and ICNS are still rejected — those need format-specific decoders we haven't shipped yet.
Both formats default to lossy encoding for photographs. We use the default quality setting (92) which preserves visually-identical detail for most images. Drop the slider lower for hero images on slow connections, raise it for printable masters.
Both formats support a true alpha channel — anti-aliased logos, drop shadows and translucent overlays survive the round-trip unchanged.
AVIF is the natural choice for Hero images and product photography on modern sites, Storage-constrained archives, and HDR / wide-gamut content. It is a poor fit for Anything that needs to open in Outlook, Word, or older CMS systems and Quick one-off conversions where encode time matters. Chrome/Edge 85+, Firefox 93+, Safari 16+. Still unsupported in many native apps.
PNG: what it is
PNG uses DEFLATE (the gzip algorithm) over filtered scanlines. It is lossless: a PNG round-trip never changes a pixel.
Encoding cost lives almost entirely in choosing per-row filters. The oxipng encoder we ship trials more filter combinations than canvas does and typically shrinks files 10–25% further.
AVIF: what it is
AVIF wraps a single AV1 intra-frame in a HEIF container. AV1 is a far more sophisticated codec than JPEG or WebP — it has 10× the prediction modes and pays for it in encode time.
Expect AVIF files 40–55% smaller than equivalent JPEG, and 25–35% smaller than equivalent WEBP, at matched perceptual quality.
At a glance
- Typical size change
- ~92% smaller
- Transparency preserved
- Yes — both formats support alpha channels
- Compression
- PNG (lossless) → AVIF ( both)
- AVIF browser support
- Chrome/Edge 85+, Firefox 93+, Safari 16+. Still unsupported in many native apps.
Frequently asked questions
Is the converted AVIF smaller than the original PNG?
On a typical photograph, dramatically smaller — typically around 92% the size. Synthetic graphics (logos, screenshots) may behave very differently — try a single file first if size matters.
Will my PNG be uploaded to convert it?
No. The conversion runs inside the browser tab using WebAssembly. Your file is never sent over the network — drop it, convert it, download it, all on your machine.
Why does AVIF conversion take longer than the others?
AVIF uses a single AV1 video frame to encode the image. AV1 has dozens more prediction modes than JPEG or WEBP, which gives the smallest file but costs encode time. We load the libavif WebAssembly codec on demand — first conversion in a session is slightly slower while it downloads.
Will AVIF open in older software?
Chrome/Edge 85+, Firefox 93+, Safari 16+. Still unsupported in many native apps. If you need to send the file to someone using a 5+ year old version of Outlook, Word or other desktop software, convert to JPG or PNG instead.