Convert PNG to AVIF
Free online PNG to AVIF converter. Drag and drop files, convert in batch, and download, without ever uploading to a server.
Drop your PNG files here
Any image format works; this page is tuned for PNG → AVIF
Files
Why convert PNG to AVIF?
PNG to AVIF shrinks lossless screenshots and graphics into a tiny lossy (or near-lossless) package for the web. Use it when you care more about LCP than pixel-perfect archive storage.
Tips
- If you need exact pixels forever, keep a PNG master and serve AVIF derivatives.
- Transparency is preserved when the encoder supports alpha.
- For UI icons, also compare WebP. It is sometimes simpler and equally small.
AVIF versus WebP for the same PNG: worth testing both
AVIF often produces a smaller file than WebP for the same PNG at equivalent visual quality, especially for photographic content, but it isn't a universal win. For flat-color graphics, simple icons, and screenshots with sharp text, WebP's lossless mode can sometimes match or beat AVIF's lossy output, and it encodes faster too. Convert the same PNG to both and compare the actual file sizes side by side. What wins depends on the specific image.
What we measured
An 853,540-byte PNG of a 1024 by 683 photo became a 43,297-byte AVIF, which is 5.07 percent of the source. The three runs took 1,083, 1,080, and 1,101 ms. The browser was Chromium 159 on a Windows 10 i7-1165G7 with 16 GB RAM; the build was commit 246bb99, served locally on 2026-11-17. A separate 256 by 256 PNG with a fully transparent border kept its alpha: the decoded AVIF had transparent pixels at the corners, with alpha 0.
What happens to color and metadata
The AVIF path encodes from raw pixels, so the output had no EXIF tag and no ICC profile. The source PNG had no camera metadata to lose. Color is written as 8-bit RGB; the AVIF encoder does not carry a source color profile through this route. If the PNG is a wide-gamut export, compare the AVIF against the original on a color-managed display before you publish it.
When PNG to AVIF is the wrong choice
Keep PNG when the image is a screenshot of small text, a chart with fine lines, or a logo that must match exact colors. Quality 50 is lossy, and the encoder can smooth a one-pixel rule or ring around black text on white. Also keep PNG when a tool downstream cannot open AVIF. Chrome 85, Firefox 93, and Safari 16.4 display AVIF, about 96.7 percent of global users, but an older editor may still refuse it.
Sources: MDN: PNG lossless compression and alpha, caniuse: AVIF support.
Frequently asked questions
How do I convert PNG to AVIF?
Drop your PNG file into the converter above, adjust the quality if needed, and click "Convert to AVIF". The conversion happens entirely in your browser. Your file is never uploaded to any server.
Is the PNG to AVIF conversion lossless?
AVIF is a lossy format. Quality is controllable from 1-100% (default 50%); at recommended settings the result is visually close to the source for most photos.
Is there a file size limit?
The tool can handle files up to about 20 MB per image. Since processing happens in your browser, the practical limit is your device's available memory. Most modern devices can comfortably batch-convert dozens of images at once.
Are my PNG files uploaded to your servers?
No. All PNG to AVIF conversion happens entirely client-side. Conversion uses the Canvas API. Your files never leave your browser.