PNG to AVIF Converter
Runs in your browser — your files are never uploaded.
Convert a PNG to AVIF, the format that usually beats both PNG and WebP on size at the same visual quality. The encoding runs entirely in your browser using a WebAssembly build of libavif — the first conversion downloads it once, and every conversion after that reuses it. The result tells you the actual size change, including when AVIF turns out to be the wrong choice for your image.
OptionsQuality: 60% · Encoder effort: Balanced · Max width: Original size · Lossless: off
How to convert PNG to AVIF
- 1
Drop your PNG onto the box, or click to choose a file.
- 2
Leave quality at 60 unless you have a reason — on AVIF that is already high.
- 3
Click “Download” and check the reported size change before you ship it.
Share
Embed this tool on your site
Paste this where you want the tool to appear. It runs entirely in your visitor's browser — no uploads, no account, no tracking.
Please keep the attribution line — it's what keeps these tools free.
Need a different size, a dark theme, or a different tool? Build an embed lets you preview it first.
Frequently asked questions
Is AVIF always smaller than PNG?+
No, and this tool says so when it is not. AVIF wins comfortably on photographs and detailed images. On small icons, flat graphics with few colours, or images with large transparent areas, a well-optimised PNG can be smaller — and AVIF carries a fixed container overhead that dominates a tiny file. The result line reports growth as growth rather than calling it a success.
Why does the first conversion take a moment?+
It downloads the AVIF encoder — about 3.5 MB of WebAssembly — because no browser can encode AVIF on its own. It is cached for the rest of your session, so only the first conversion pays for it. This is the trade for encoding locally instead of uploading your image to somebody’s server.
What quality should I use?+
Around 60. AVIF quality numbers are not JPEG quality numbers: 60 here is roughly equivalent to JPEG 85, and pushing to 90+ spends a lot of time and file size chasing detail no one can see. If the result looks soft, go up in steps of 5 rather than jumping to 95.
Does AVIF keep transparency?+
Yes. AVIF supports a full alpha channel, so PNG transparency survives the conversion intact — unlike converting to JPG, which has to flatten it onto a background.
Can every browser display AVIF?+
Chrome, Edge, Firefox, Safari and the mobile browsers have all supported it for years now. The gap is old software rather than current browsers — some email clients, older CMS thumbnailers and desktop image tools still do not know it. Serve it through a picture element with a PNG or WebP fallback if that matters to you.