Convert PNG to AVIF
AVIF is the newest widely supported image format, and for PNGs it is remarkable: alpha transparency survives, and file sizes usually land 80–95% below the original — noticeably smaller than WebP manages. Fair warning: AVIF encoding is computationally heavy, so large images take a few seconds. Your machine does the work, not my server.
Need the other direction? Convert AVIF to PNG
How it works
Queue up your PNGs; the AV1-based encoder starts crunching each one at quality 60, which reads like JPEG 80–85.
Give large images a few seconds — the encoder searches hard for savings, and all of that computing happens on your machine.
Verify transparency held in the preview, tweak quality between 45 and 75 to taste, then export files singly or zipped.
PNG vs AVIF
AVIF walks away with the size crown — 80–95% below the PNG with alpha intact — but PNG keeps custody of the actual pixels: only it is bit-exact and edit-proof. Publish the AVIF, archive the PNG, and this pairing has no loser.
| PNG | AVIF | |
|---|---|---|
| Compression | Lossless | Lossy or lossless |
| Transparency | Yes (full alpha) | Yes (full alpha) |
| Animation | No | Yes (rarely used) |
| Support | Universal — every browser, editor and OS | All current browsers (Safari since 16.4, 2023) |
| Best for | Logos, screenshots, graphics with transparency | Hero images and photo-heavy pages |
Frequently asked questions
No — that is the whole reason I built this. The conversion runs in your browser using WebAssembly, so your files never leave your device; there is no server in the loop at all. It also means the tool keeps working offline once the page has loaded, and there is no file size limit beyond your device’s memory.
For raw compression, yes — AVIF typically comes in 20–40% smaller than WebP at comparable visual quality, and it keeps transparency just like WebP does. WebP still encodes much faster and enjoys slightly older browser support, so for hero images choose AVIF, and for bulk everyday assets either works.
AVIF is based on the AV1 video codec, and its encoder searches much harder for savings than older formats do. That work runs on your device — which is why the result is so small and also why a 4000px image can take several seconds. The speed setting I use is tuned to be near-optimal without making you wait forever.
Chrome (since 2020), Firefox (2021) and Safari 16.4+ (March 2023) all render AVIF natively. If you need to support older Safari, serve AVIF inside a <picture> element with a WebP or PNG fallback.
AVIF’s quality scale is not the same as JPEG’s — 60 here looks roughly like JPEG 80–85. I default to 60, which is visually clean for most content. Drop to 45–50 for thumbnails; go up to 75+ only when you can see a difference, because file size grows quickly past that.
You trade pixel-exactness for an 80–95% size cut. AVIF at quality 60 is visually clean but not identical under a loupe, and it will not survive twenty edit-save cycles the way PNG does. Serve the AVIF, keep the PNG as the master copy — that division of labor is the whole game.
If the image is destined for email newsletters, office documents or anything printed — AVIF support outside browsers is still patchy, and a bounced file costs more than the kilobytes saved. Same if your audience includes Safari older than 16.4 with no fallback. In both cases PNG to WebP delivers most of the savings with none of the compatibility anxiety.
Related tools
Convert JPG to AVIF
Convert JPG to AVIF in your browser — free, no upload, no signup. Photos come out roughly half the size of the JPEG at the same visual quality you started with.
Convert PNG to WebP
Convert PNG to WebP in your browser — free, no upload, no signup. Keeps alpha transparency, cuts file size by 60–90%, and shows the exact savings per file.
Convert AVIF to PNG
Convert AVIF to PNG in your browser — free, lossless output, transparency preserved, no upload. Open AVIF files saved from the web in any editor, viewer or app.
Convert PNG to ICO (favicon)
Convert PNG to a multi-size ICO favicon in your browser — free, no upload. One file with 16, 32 and 48px icons with full alpha, ready for any site root.