Why convert a PNG to AVIF
PNG is lossless: it stores every pixel exactly, which is why it's the default choice for screenshots, logos and anything with sharp edges or flat colour. The cost is size — a lossless format can't compress photographic or gradient-rich content nearly as well as a lossy one can.
AVIF keeps PNG's full alpha transparency but compresses far more aggressively. For a PNG with photographic content, gradients, or a lot of colour variation, the size reduction converting to AVIF can be dramatic - often 50% or more with no visible difference. For a simple graphic with a handful of flat colours (a basic icon, say), PNG already compresses that efficiently, so the gain is smaller.
Transparency is preserved automatically
AVIF has a full alpha channel, the same as PNG, and this tool carries it over without asking you to choose a background colour - there isn't one to fill in. Fully transparent areas stay transparent, and partially transparent edges (soft shadows, anti-aliased icon edges) keep their partial opacity rather than being flattened to solid or fully see-through.
This is the key difference from converting to JPG, which has no alpha channel at all and forces every transparent pixel to become some solid colour. AVIF and PNG don't have that problem - the conversion here is transparency-safe by default.
Lossy AVIF vs. PNG's lossless guarantee
AVIF at less than maximum quality is lossy, same as JPEG - it's willing to discard some detail to save space. For photos and complex images, a high-quality AVIF export is indistinguishable from the PNG original in normal viewing, while being much smaller. For flat graphics with sharp text or precise edges, where every pixel matters, compare the AVIF result against the original before committing to it - a lossless-sensitive image is the one case where PNG's guarantee is worth keeping.
Choosing a quality setting
| Setting | When to use it |
|---|---|
| Maximum (95%) | Graphics with fine text or sharp edges where fidelity matters most |
| High (85%) | The sensible default for photographic or gradient-heavy PNGs |
| Medium (75%) | Web images where load speed matters more than pixel-perfect detail |
| Small file (60%) | Thumbnails and previews displayed small |
Browser support
Every current browser - Chrome, Firefox, Safari, Edge - displays AVIF natively. Some older image editors, phone galleries or platforms that haven't added AVIF support yet may not open it. If a file needs to work reliably in software you don't control, keep a PNG copy alongside the AVIF.
Converting a batch
Drop in several PNGs at once - icons, screenshots, graphics, photos exported as PNG - and each converts independently before being bundled into a single ZIP. This tool checks whether your specific browser can actually encode AVIF before offering it; some browsers can display AVIF but not produce it, and the option is disabled rather than silently returning the wrong format.
Everything runs in your browser using the canvas API. The image is never uploaded to a server, there's no account or sign-up, and no file size or count limit beyond what your own device can handle.