PNG to AVIF Converter
Convert PNG to AVIF in your browser. AVIF gave the smallest photo files in our tests, 92% smaller than PNG at quality 82, and it is one of the slowest formats to encode. Transparency is kept. Nothing is uploaded.
Output format
AVIF
Overview
Why convert PNG to AVIF
AVIF is worth the wait when bytes matter: image-heavy pages, large galleries, anything served many times. It keeps transparency, so it can replace PNG for web graphics as well as photos. The cost is encoding time, which is seconds per large image where JPG takes a fraction of a second.
Need a different output format or per-file settings? The image converter handles every format in one place. Going the other way? Use AVIF to PNG.
Measured
PNG to AVIF: size and encode time in our test
On the 24 Kodak test photos, PNGs averaging 626 KB became AVIFs averaging 49 KB (92% smaller). The same photos as WebP averaged 63 KB and as JPG 62 KB, all at quality 82 on each format's own scale.
Encoding took a median of 172 ms for a Kodak image and 3.3 s for a photo 4000 pixels wide, with the multi-threaded encoder on a 12-core MacBook Pro. Phones and browsers that cannot run it multi-threaded will be slower.
The image sets, settings and machine are on the benchmarks page. For the formats themselves, see AVIF vs WebP.
Caveats
When not to convert PNG to AVIF
- You need the exact pixels. This page writes lossy AVIF.
- You are converting hundreds of large images on a slow device. WebP encodes many times faster.
- The audience includes old devices. Safari before version 16 and browsers from before 2022 may not display AVIF.
Comparison
PNG vs AVIF: how they differ
| Attribute | PNG | AVIF |
|---|---|---|
| Compression | Lossless | Lossy |
| Transparency | Yes | Yes |
| Animation | No | Yes |
| Typical file size | Very large | Small |
| Browser support | Universally supported in every browser since the late 1990s. | Supported in Chrome, Firefox, Safari 16+, and Edge. Pre-2022 devices may not decode it. |
How to
How to convert PNG to AVIF
- 01
Add your PNG files
Drop them on the page, paste from the clipboard, or pick them with the file browser. You can add several at once.
- 02
Check the quality setting
Conversion starts straight away at quality 82. Move the slider if you want smaller files or more detail, and the AVIF files are made again at the new setting.
- 03
Download
Each row shows the old and new size. Download files one at a time, or all of them as a zip.
Why here
Why convert.now
- Private
Files stay in your browser. There is no upload step, so nobody else can see them.
- Fast
There is no queue and no upload to wait for. Conversion starts when you drop a file.
- Free
There are no ads, no limit on the number of files and no sign-up.
FAQ
PNG to AVIF: common questions
No. The files are read and converted by code running in this browser tab, and the result is saved from the same tab. You can confirm it in the browser's developer tools: the Network panel shows no request carrying your file.
AVIF uses the AV1 video codec for a single frame, and AV1 tries many more ways of describing each block of the picture than older formats. In our test a 4000-pixel photo took 3.3 s as AVIF and 121 ms as JPG.
Yes. AVIF has an alpha channel.
Chrome, Firefox, Edge, and Safari from version 16. Devices from before 2022 may not decode it.
The slider starts at 82. AVIF's scale is not the same as JPG's, and lower numbers often still look good, so try 60 to 70 if you want the smallest files and check the result.
More
Other conversions from PNG
More
Other conversions to AVIF
Last updated