Convert PNG to AVIF
AVIF is the most efficient image format around today. Convert PNGs to AVIF in your browser for dramatically smaller files.
How to convert PNG to AVIF
Convert PNG to AVIF in your browser
Most browsers can show AVIF, but they cannot save it. Ask a browser canvas for an AVIF file and Chrome quietly hands back a PNG instead. That is why many online converters send your image to a server to do the encoding. Squishly does it differently: it loads a real AVIF encoder, the open source libavif compiled to WebAssembly, into your browser the first time you ask for AVIF, and runs it in a background worker so the page stays responsive while it works.
Drop your PNG files on the tool above. AVIF is already selected under Convert to, so every file is converted as soon as it is added. The encoder uses quality 70, which keeps photos and graphics looking clean at a fraction of the PNG size, with a speed setting chosen so a typical image finishes in seconds rather than minutes. The new file keeps the same name with .avif at the end and the same width and height in pixels. Transparent areas of the PNG stay transparent in the AVIF.
AVIF takes more work to encode than JPG or WebP. A large PNG can take a few seconds, longer on an older phone, and a batch is converted one file after another. You can add up to 30 files at a time, up to 50 MB each, and download the results one by one or together in a ZIP.
How much smaller AVIF is than PNG
PNG is lossless: it keeps every pixel exactly, which makes it large, especially for photos and screenshots with gradients. AVIF is a lossy format built on the AV1 video codec, and it describes the same picture far more efficiently. For most images the AVIF comes out several times smaller than the PNG it was made from.
As one example, when we tested this tool a 433 KB PNG with a transparent background became a 94 KB AVIF, and the transparency was still there. That is one file, not a rule. A screenshot with large flat areas of colour may shrink less, because PNG already stores those well, and a photo saved as PNG usually shrinks the most. Each result row shows the size before and after and the percentage saved, so you see the real number for your own files.
Because AVIF is lossy, the conversion is a one-way step. Keep the PNG if you will edit the image again later, and use the AVIF as the copy you publish.
Where AVIF works today
Current versions of Chrome, Edge, Firefox and Safari all display AVIF, so on the web it is safe for most visitors. Support outside the browser is patchier. Some image editors, older operating systems, email programs and upload forms still do not open or accept .avif files, and someone you send one to may not be able to view it.
For a website, a common approach is to serve AVIF with a WebP or JPG fallback in a picture element, so the few browsers that cannot show AVIF get the older format. If you need a file that opens everywhere, convert the PNG to WebP or JPG instead. For the background on the format, how it compares with WebP and what to watch out for, read what is AVIF.