Convert PNG to AVIF
Shrink PNG graphics, screenshots and transparent logos into AVIF files that are often 80% smaller while keeping the alpha channel. The encoding runs on your own device using the browser’s codec.
Needs Chrome or Edge to encode. Every modern browser can open AVIF, but only Chromium-based browsers can currently create it. Safari and Firefox will show a message instead of a result.
100% private — this tool runs in your browser. Your file is never uploaded to any server.
How it works
PNG is lossless and therefore large; AVIF is lossy but so efficient that graphics, UI screenshots and logos come out dramatically smaller with no visible change at the High setting. Crucially, AVIF supports an alpha channel, so transparent PNGs stay transparent — something JPG can never do. This tool passes the PNG through your browser’s built-in AV1 encoder via the canvas API, so nothing is uploaded and the result is identical to what Chrome would produce. For flat graphics with sharp text, choose High or Maximum: AVIF handles hard edges well, but the lowest settings can soften thin lines. For photos saved as PNG, Balanced is plenty.
Step by step
Add your PNGs
Drop one or more, or tap to choose.
Pick a quality
High keeps text and edges crisp; Balanced suits photographic PNGs.
Convert
Your browser encodes each file to AVIF with alpha intact.
Download
Save each .avif and compare the size readout.
Frequently asked questions
Does AVIF keep my PNG’s transparency?
Yes. AVIF has a full alpha channel, so transparent backgrounds, soft shadows and cut-out edges survive the conversion.
How much smaller will my PNG get?
Often 70–90% for screenshots and graphics, because PNG stores every pixel losslessly while AVIF compresses intelligently. The readout shows the exact figure per file.
Is the conversion lossless?
No — AVIF here is lossy, tuned so the change is invisible at High. If you need bit-exact pixels, stay with PNG or use WebP lossless.
Why is my browser unable to encode AVIF?
Only Chromium browsers (Chrome, Edge, Brave, Opera) can create AVIF today. Safari and Firefox can display it but not encode it.
Will text and thin lines stay sharp?
At High or Maximum, yes. At Balanced, very thin one-pixel lines may soften slightly — preview the result for UI screenshots.
Can I use AVIF in a web page?
Yes: all current browsers display it. Wrap it in a picture element with a PNG or WebP fallback for older devices.
Is my image uploaded?
No. Encoding happens entirely in your browser; nothing is sent to a server.
PNG to AVIF or PNG to WebP?
AVIF gives smaller files; WebP encodes everywhere and decodes faster. If your users are mostly on Chrome, AVIF wins on size.