Skip to main content

PNG to AVIF

Drop your PNG files here or click to browse

100% in-browser. Your files never leave your device.

AVIF is currently the most efficient widely-supported image format. It routinely produces smaller files than both PNG and JPG at matching visual quality, while still supporting full transparency. This encodes your PNG to AVIF entirely in your browser.

A 512 × 768 px photo stored as PNG (655.7 KB) converted to AVIF at quality 90: 128 KB (−80.5%). The close-ups are 1:1 crops of the area marked by the box.Sample image: Kodak kodim19, Eastman Kodak Company (Kodak test image, unrestricted use)

How much smaller AVIF actually is

The gap between PNG and AVIF is large because they solve different problems: PNG is a general lossless format, while AVIF is built on the AV1 video codec’s prediction techniques, designed specifically to represent photographic and complex imagery in very few bytes. For a typical photographic PNG, lossy AVIF at a reasonable quality setting usually leaves only a small fraction of the original size, with no obvious difference at normal viewing size; how small exactly depends on the picture and the quality setting.

For flat-coloured graphics with few distinct colours, the gap narrows, since PNG already compresses that kind of content efficiently. AVIF still tends to win, but not by as dramatic a margin as it does on a photo.

① The PNG is decoded to pixels, transparency included. ② A WebAssembly AVIF encoder writes the AVIF at the quality you set, 90 by default, keeping the alpha channel. Sample: a 512 × 768 px photo PNG of 655.7 KB became a 128 KB AVIF (−80.5%).Sample image: Kodak kodim19, Eastman Kodak Company (Kodak test image, unrestricted use)

Lossless AVIF, and when it’s worth using

Like WEBP, AVIF supports both lossy and lossless modes. Lossless AVIF reproduces the PNG’s pixels exactly and is typically smaller than the PNG for the same content, though it will not match lossy AVIF’s dramatic size reduction. It is the right choice for a logo, icon or diagram where every pixel matters and you still want some size saving over PNG; lossy AVIF is the better fit for photographic content, screenshots or anything where a barely perceptible quality trade-off is an easy win for a much smaller file.

Transparency and where support still lags

AVIF carries a full alpha channel in both lossy and lossless mode, so a transparent PNG logo or icon keeps its see-through background exactly after conversion, a capability JPG never had. Browser support is now broad: Chrome, Firefox and Edge have supported AVIF for several years, and Safari added support from version 16 onward, so the great majority of visitors to a website will see it correctly.

The remaining gap sits in older software: some desktop image viewers, a number of design tools without a dedicated plugin, and certain content management systems still cannot open AVIF directly, so keep the source PNG on hand if the file needs to travel outside a modern browser.

Encoded locally, with no upload

The PNG is decoded and re-encoded to AVIF entirely on your device. AVIF encoding is more computationally intensive than older formats, but running it in your own browser means there is no server queue to wait behind, and no image is ever transmitted to make the conversion happen. Convert a single graphic or a whole batch of screenshots, setting the quality once, and download the results individually or as a ZIP without an account.

How to convert PNG to AVIF

  1. Add your files

    Drag and drop your PNG files, or click to pick them from your device.

  2. Convert to AVIF

    Adjust the settings if you need to, then start the conversion.

  3. Download

    Save your AVIF files one by one or all at once.

Frequently asked questions

How much smaller will the AVIF be?
For a typical photographic PNG, usually a small fraction of the original size at a quality setting that looks close to the original; the exact saving depends on the picture and the setting. Flat graphics with few colours see a smaller, though still real, saving.
Does every browser support AVIF?
Chrome, Firefox and Edge have supported it for several years, and Safari added support from version 16. A minority of older browsers and some desktop software still cannot open it, so keep the PNG if maximum compatibility is required.
Will transparency be kept?
Yes. AVIF supports a full alpha channel in both lossy and lossless mode, so a transparent PNG stays transparent after conversion.
Should I use lossless or lossy AVIF?
Lossless suits logos, icons and diagrams where every pixel needs to match exactly. Lossy suits photos and screenshots, where a barely perceptible quality trade-off buys a much smaller file.
Can I convert several PNGs at once?
Yes. Add a batch and each is encoded to AVIF separately, then downloaded individually or as a ZIP, entirely on your own device.
Why does AVIF encoding take longer than other conversions?
Browsers can display AVIF, but none can save it from a canvas, so the page loads an AVIF encoder compiled to WebAssembly from this site and runs it on a single thread on your device. A large PNG takes noticeably longer to encode than a JPG or WebP export.