PNG to AVIF Converter — Convert PNG to AVIF Online
Shrink a PNG photograph by more than 80% and keep its transparency. Drop your file below and pick AVIF as the output format — free, private, and entirely in your browser with no upload required.
Drop images here or click to browse
Supports HEIC, WEBP, AVIF, BMP, TIFF, SVG, GIF, ICO, PDF, JPG, PNG
100% Private — Your files never leave your device
All conversion happens directly in your browser using JavaScript. Nothing is uploaded to any server. Your images stay on your computer the entire time.
Why Convert PNG to AVIF?
Because PNG never throws anything away. It is a lossless format, so it stores enough information to rebuild every pixel exactly — which is the right trade for a screenshot or a logo, and the wrong one for a photograph. Photographic detail is precisely the kind of data that lossless compression cannot squeeze. AVIF, built on the AV1 codec, discards what the eye will not miss.
Taking the 1600 × 2000 photograph from this site's own homepage and running it through the converter above:
- As an optimised lossless PNG: 1,534,275 bytes (1.46 MB)
- As AVIF at the default 92% quality: 250.9 KB, or 83.3% smaller
- As AVIF at 50% quality: 41.5 KB, or 97.2% smaller
Crucially, you do not pay for that with your alpha channel. A PNG with a transparent background converts to an AVIF with the same transparent background — AVIF encodes alpha natively. That is what separates this conversion from PNG to JPG, where transparency is flattened onto a solid colour because JPEG has no way to express it.
PNG vs AVIF File Size Comparison
Every number below is the same source photograph — 1600 × 2000 pixels, 3.2 megapixels — encoded and measured, not estimated. As an optimised PNG it is 1.46 MB at every setting, because a lossless format has no quality dial to turn.
| Quality setting | JPG | WebP | AVIF | AVIF vs PNG |
|---|---|---|---|---|
| 50% | 108.6 KB | 54.1 KB | 41.5 KB | 97.2% smaller |
| 75% | 219.7 KB | 81.5 KB | 124.2 KB | 91.7% smaller |
| 92% (default) | 310.6 KB | 245.5 KB | 250.9 KB | 83.3% smaller |
AVIF beat JPG at every setting — by 19% at the default and by 62% at 50% quality — so if the plan was to make a JPEG, the AVIF is smaller and keeps the transparency. Against WebP the answer depends on how hard you are compressing: AVIF pulled well ahead at 50% quality, while WebP came out slightly smaller on this photo at the top of the range.
The catch is that a “quality” number is not a shared scale. Each codec maps it onto its own quantiser, so the 75% row compares three files that do not look alike — AVIF is aiming much higher there than WebP is. Judge the result with your own eyes, and remember that a different image will land on different numbers. For a closer look at how the two modern codecs differ, see WebP vs AVIF.
A word on that PNG baseline, because most comparisons skip it: unlike BMP, a PNG's size depends on how well its encoder compressed it. The 1.46 MB above is an optimised export. The very same photograph saved straight out of a browser canvas comes to 2.28 MB, which would make AVIF look 89% smaller rather than 83%. We quote the conservative figure — if your PNG was exported by an app that does not optimise hard, expect to save more than the table says, not less.
One number is missing from that table on purpose: there is no lossless AVIF row. This converter encodes AVIF with 4:2:0 chroma subsampling at every setting, so even the 100% slider position throws away some colour resolution. It produces a 786.1 KB file — about half the size of the PNG, but not a replacement for it.
AVIF Browser Support (2026)
Every current browser displays AVIF. The format took five years to get there — Edge was the last holdout, and only enabled it by default in January 2024 — which is why AVIF still carries a reputation for patchy support that the numbers no longer justify.
| Browser | AVIF since | Released |
|---|---|---|
| Chrome | 85 | August 2020 |
| Opera | 71 | 2020 |
| Firefox | 93 | October 2021 |
| Samsung Internet | 14 | 2021 |
| Safari (iOS) | iOS 16 | September 2022 |
| Safari (macOS) | 16.4 | March 2023 |
| Edge | 121 | January 2024 |
That adds up to roughly 93% of global browser traffic, according to caniuse.com. The remaining slice is mostly old installs that will never update, so serve AVIF from a <picture> element with a WebP or JPG fallback and no visitor sees a broken image.
Browsers are the easy part. Outside them support thins out quickly: Windows needs the AV1 Video Extension installed before Photos will open an AVIF, and plenty of desktop editors still refuse the format outright. If the file has to open on someone else's machine rather than in their browser, send them a PNG or a JPG.
How to Convert PNG to AVIF
- Drag your PNG file into the drop zone, or click to browse and select it.
- Choose AVIF from the Output Format menu.
- Lower the Quality slider if you want a smaller file, or raise it to stay closer to the original.
- Download the AVIF — it's saved straight to your device.
You can drop several PNGs at once and take them away together as a ZIP. Nothing is uploaded: the AVIF encoder is compiled to WebAssembly and runs on your own machine, so even confidential screenshots and mockups never leave your computer. Expect a large image to take a few seconds — AV1 compression is doing real work.
When to Use AVIF vs WebP vs PNG
All three have a job. Picking by file size alone is how you end up with blurry text.
- AVIF — photographs and rich imagery on a website, where the bandwidth saving is largest and the losses are invisible. Best in class when you compress aggressively.
- WebP — the same job when you want faster encoding, a few more years of browser support, and a real lossless mode. Often within a couple of percent of AVIF at high quality. Start at PNG to WebP.
- PNG — screenshots, UI mockups, diagrams, logos, and anything with sharp text or line art. The 4:2:0 chroma subsampling this AVIF encoder uses softens saturated edges exactly where crispness matters, and PNG already compresses flat colour well.
Keep the PNG whenever the image is a master copy you may edit again. AVIF is a derivative: cheap to regenerate from the PNG, impossible to restore back into one. And if you are choosing a format for print, email, or archival rather than the web, our image format by use case guide walks through each of them.
Already have AVIF files that a desktop editor refuses to open? AVIF to PNG handles the return trip, transparency and all.
Frequently Asked Questions
How much smaller is AVIF than PNG?
For a photograph, around 83% smaller at the default setting and up to 97% if you push the slider down. This site's 1600×2000 test photo weighs 1,534,275 bytes as an optimised PNG. Converting it here produced a 250.9 KB AVIF at the default 92% quality — 83.3% smaller — and a 41.5 KB AVIF at 50% quality, which is 97.2% smaller. Two caveats: a PNG that was not well optimised to begin with will show an even bigger saving, and flat graphics with few colours will show a smaller one, because PNG already compresses those well.
Does converting PNG to AVIF lose quality?
Yes. PNG is lossless and AVIF, as this converter encodes it, is not — it discards detail to shrink the file. In practice the loss is hard to see: the 92% AVIF of our test photo measured 52.8 dB PSNR against the original PNG pixels, which is the range normally called visually lossless. Note that there is no lossless setting here. Even at 100% quality the encoder subsamples chroma at 4:2:0, so some colour information is dropped. If you need every pixel preserved exactly, keep the PNG.
Does AVIF support transparency like PNG?
Yes. AVIF carries a full alpha channel, and this converter encodes it — a PNG with a transparent background comes out of the converter as an AVIF with the same transparent background, at the same quality as the colour channels. This is the main reason to prefer AVIF over JPG when compressing a PNG: JPG has no alpha channel at all and would flatten your transparency onto a solid white background.
Can I convert PNG to AVIF for free?
Yes. This PNG to AVIF compressor is completely free with no sign-up, watermarks, or file limits. The AVIF encoder is libavif compiled to WebAssembly and it runs inside your browser, so your images are never uploaded to a server.
Which browsers support AVIF in 2026?
All of the current ones. Chrome has supported AVIF since version 85 (August 2020), Firefox since 93 (October 2021), Safari since 16.4 on macOS and iOS 16, and Edge since 121 (January 2024) — Edge was the last major holdout. Per caniuse.com that works out to roughly 93% of global browser traffic. Desktop software is patchier: Windows needs the AV1 Video Extension before Photos will open an AVIF, and some image editors still cannot.
Should I use AVIF or WebP?
AVIF when you are compressing hard, WebP when you want speed and the widest reach. On our test photo AVIF was 23% smaller than WebP at 50% quality, but at the default 92% the two were within about 2% of each other and WebP encoded in a fraction of the time. WebP also has a few years' head start on browser support. The safe answer for a website is to serve AVIF with a WebP or JPG fallback in a picture element, so neither choice has to be final.
Why is the first conversion slower than the others?
The AVIF encoder is a 3.3 MB WebAssembly module that downloads the first time you pick AVIF, then stays in memory for the rest of the session. Encoding itself is also genuinely slow work: AVIF uses the AV1 codec's intra-frame compression, which searches much harder for redundancy than PNG or WebP do. A multi-megapixel image takes a few seconds. That search is exactly what buys you the small file.
Can I convert AVIF back to PNG?
You can, and the AVIF to PNG converter on this site does it, but understand what you get: the pixels that AVIF discarded are gone for good. Converting back gives you a lossless PNG of the compressed image, not the original. Keep your PNG masters and treat the AVIF as a derivative you can always regenerate.