How to convert PNG to AVIF
Add your PNG files
Drop them on the box, press Choose files, or paste a screenshot with Ctrl+V — up to 50 files per batch, 50 MB each. Encoding starts immediately.
Check the settings
Quality 60 suits photos; raise it for screenshots and text. Transparency is kept unless you choose a fill colour.
Download
Save each AVIF, or take the whole batch as a single ZIP.
PNG vs AVIF
| PNG | AVIF | |
|---|---|---|
| Introduced | 1996, W3C | 2019, Alliance for Open Media |
| Compression | Lossless only | Lossy or lossless, based on the AV1 video codec |
| File size for a photo | Reference | A small fraction |
| Transparency | Yes | Yes |
| Animation | Yes, as APNG | Yes |
| Browser support | Everything | All current browsers |
| Editors and upload forms | Universal | Patchy |
| Best for | Editing, exact pixels | Images on your own website |
Why convert PNG to AVIF
PNG keeps every pixel, which is right for editing and wrong for a web page: a photo saved as PNG is often several times the size of a JPG. AVIF compresses with the AV1 video codec and keeps an alpha channel, so a product cut-out, a logo on a photo or an illustration loses most of its weight and none of its transparency.
Transparency is kept
Soft edges, shadows and partly transparent pixels are encoded as they are. Tick Fill transparent areas only if you want a solid background instead — for a site with one background colour, that can make the file a little smaller still.
Choosing a quality
The slider runs from 1 to 100, but AVIF’s scale is not JPG’s. At the preset of 60 most photos look like the original; a JPG needs a number near 90 for the same result. Go up to 70–80 for images with fine text, sharp lines or smooth gradients, and down to 40–50 when size matters more than detail.
The size of every result is shown next to the original, so move the slider and compare before you download. The converter waits until you let go, then encodes the batch again.
Screenshots, text and flat graphics
Photos compress best. Screenshots, diagrams and images with small text are harder for a lossy encoder: thin lines can soften and coloured edges can blur at low settings. Use 75 or more for those, and look at the result at full size. A tiny icon or a graphic with a handful of colours may already be smaller as an optimized PNG; the sizes shown tell you which way it goes.
The encoder, and why it takes a moment
Chrome and Firefox can read AVIF but will not write it from a web page, so this page brings its own encoder: libavif, the reference library of the Alliance for Open Media, compiled to WebAssembly by the jSquash project. Every browser runs the same encoder, so the same file and setting give the same AVIF everywhere.
The first file you add loads the encoder, about 3.5 MB, from avifbox.com; your browser keeps it afterwards. AVIF is slow to create by design — the encoder tries many ways to describe each block of the picture — so a large photo takes a few seconds on a computer and longer on a phone. Several files are encoded side by side.
Where the AVIF will open
Chrome 85, Firefox 93, Edge 121 and Safari 16 or later display AVIF, which covers well over nine in ten browsers in use, and so do current Windows, macOS, iOS and Android. Older editors, office suites and many upload forms still refuse it, so keep the original if you will need it there. When an AVIF has to go back, AVIF to JPG and AVIF to PNG are one click away.
Limits and privacy, stated plainly
One batch holds 50 files per batch, 50 MB each. Those are guard rails, not a paywall: no daily quota, no account, no paid tier, and as many batches as you like. The real limit is your device’s memory, because that is where the work happens.
Your browser does the decoding and encoding, so the files are never sent anywhere. You need not take that on trust: this page’s security policy only lets it talk to avifbox.com, and your browser’s network panel will show that converting sends nothing.
Questions people ask
- How do I convert PNG to AVIF?
- Drop your PNG files on the box at the top of this page or press Choose files. They are encoded in your browser; download each AVIF or all of them as a ZIP.
- Does PNG to AVIF keep transparency?
- Yes. The alpha channel is encoded with the picture, partly transparent pixels included.
- How much smaller is AVIF than PNG?
- For photos, usually a small fraction of the PNG. For screenshots and flat graphics the gap is narrower, and a few tiny images may not shrink at all; the page shows the real size of every result.
- Is it free to convert PNG to AVIF?
- Yes — free, with no sign-up, no watermark and no daily limit.
- Is converting to AVIF lossless?
- No. The encoder works in its lossy mode, trading detail you are unlikely to notice for a much smaller file. Raise the quality if you see a difference, and keep the original if you may edit the image later.
- What about animated PNG?
- Each frame of an animated PNG becomes its own still AVIF, and you choose which to keep. This page does not write animated AVIF.
- How many files can I convert at once?
- Up to 50 files per batch, 50 MB each, and as many batches as you like. There is no daily limit; a very large image is bounded only by your device’s memory.
- Why does it take longer than making a JPG?
- AVIF spends far more effort per image to save those bytes. The first file also loads the encoder once. Large photos take a few seconds each, longer on a phone.
- Is the EXIF data kept?
- No. The AVIF holds only the picture: camera details and location are left out. A photo is turned upright first, so it does not end up sideways.
- Are my files uploaded to a server?
- No. Your browser decodes and re-encodes the images on your own device, and the files never leave it.
Packing list
| Price | Free — no account, no watermark, no quota |
|---|---|
| Works in | Chrome, Edge, Firefox and Safari, on desktop and mobile |
| Input | PNG — truecolor, palette, transparent |
| Output | AVIF, 8-bit, quality 1–100, transparency kept |
| Batch size | 50 files per batch, 50 MB each |
| Processing | On your device; nothing is uploaded |
| Metadata | Not copied: the AVIF holds the picture only |