Convert PNG to AVIF
Drop PNGs below and get AVIF back, transparency included. AVIF is already selected, and files go up to 16 MB as a guest or 32 MB with a free account. Free. No account, no watermark.
Measured, not estimated
What PNG to AVIF did to four real graphics
Two screenshots, a social card and an icon with transparency, all from our showcase, converted by the pipeline your upload goes through. Read the Lossless column closely: it's the one place this conversion goes wrong.
| Sample | Original | Lossless | Smart | Ultra |
|---|---|---|---|---|
| Social card 1200 by 630 | 208 KB PNG | 234 KB 12.5% larger | 11 KB 94.7% smaller | 11 KB 94.9% smaller |
| Phone screenshot 1170 by 2532 | 0.9 MB PNG | 1.0 MB 7.3% larger | 155 KB 83.9% smaller | 90 KB 90.7% smaller |
| App icon 1600 by 1600 | 113 KB PNG | 120 KB 5.7% larger | 7 KB 93.8% smaller | 7 KB 94% smaller |
| Desktop screenshot 1440 by 900 | 303 KB PNG | 303 KB 0% larger | 212 KB 30.1% smaller | 133 KB 56.1% smaller |
Metadata stripped, no resize. The desktop screenshot is the odd one out: it is mostly text, and at Smart a quantised PNG of it comes out smaller than this AVIF does.
Where it shines
Lossy AVIF on a graphic is the big win
A PNG stores every pixel exactly, which is why a full-screen screenshot can weigh a megabyte. Most of the time you don't need exact. A lossy AVIF of the same screenshot looks identical at normal size and is a fraction of the weight.
Graphics are hard on lossy codecs because of their edges. Iminify checks whether your PNG is a drawn image or a photograph, and a drawn one gets full-resolution colour (4:4:4) so red text on white doesn't smear. Photos get 4:2:0, which is smaller and shows no difference on them.
Lossless is the honest exception. AVIF has a lossless mode, but it isn't an efficient one: on three of our four samples the lossless AVIF came out bigger than the PNG it started from. If you need every pixel, convert to WebP instead or compress the PNG as a PNG.
What survives
What a PNG keeps on its way to AVIF
-
Transparency
AVIF carries an alpha channel, so a logo on a transparent background stays that way at every level.
-
Hard edges
Drawn images keep full colour resolution, so text and icon outlines stay crisp where a photo setting would blur them.
-
EXIF, when you switch it on
Rare in a PNG, but if yours has an EXIF block and Keep EXIF is on, it's written into the AVIF.
-
Animation
An animated PNG becomes its first frame. AVIF output here is a still image.
When not to
When to leave the PNG alone
- You need a lossless copy. Lossless AVIF is usually larger than the PNG; lossless WebP is usually much smaller.
- The image is mostly text or flat UI. A quantised PNG can beat AVIF there, as the desktop screenshot above shows. Auto tries both and keeps the winner.
- The file is a source asset you'll edit again, or it must open in software that predates AVIF.
How to
PNG to AVIF in three steps
-
1
Drop your PNGs
Screenshots, logos, exports. AVIF is already chosen under Change Format.
-
2
Stay on Smart
Smart and Ultra are where AVIF pays off. Skip Lossless for this pair.
-
3
Check the edges
Open Compare, zoom to actual size and look at the text. Then download.
Questions
PNG to AVIF questions
- PNG to WebP Lossless or lossy, transparency kept, every browser supports it.
- JPG to AVIF The smallest file a photo can get in a current browser.
- Compress PNG Smaller PNGs that stay PNGs, transparency and all.
From the blog
Shrink your PNGs with AVIF
Drop a screenshot and compare the text at actual size before you download.