Skip to content
DoItJag

PNG to AVIF

Shrink PNG graphics, screenshots and cut-outs by converting them to AVIF. See-through areas stay see-through, and a quality slider lets you balance file size against sharpness.

One-time download: browsers cannot write AVIF files themselves, so the first conversion downloads the open-source AVIF encoder (libavif, 3.5 MB, Apache-2.0 licence) from cdn.jsdelivr.net. Your browser keeps it for later visits.

Only the encoder program is downloaded. Your images are never uploaded; they are converted on this device.

or drop files here · PNG · up to 50 MB · max 20 files

Processed on your device. Your files are not uploaded.

About the PNG to AVIF Converter

PNG is perfect for screenshots, diagrams and cut-out product shots because it never blurs anything, but that precision costs space. A full-screen screenshot can weigh several megabytes. Converting such images to AVIF usually shrinks them dramatically while keeping transparent backgrounds intact, which makes them well suited to websites and online shops.

Behind the scenes

The page reads the PNG’s pixels, including the alpha channel that stores transparency, and passes them to libavif, an open-source AVIF encoder running as WebAssembly inside a worker. That encoder is a 3.5 MB download from cdn.jsdelivr.net the first time you use any AVIF converter on this site; afterwards your browser reuses its stored copy. Your PNG files are processed locally and are not sent anywhere.

Getting the best result for graphics

PNG images often contain sharp lettering and thin coloured lines, which lossy compression can soften.

  • For photos with transparency, such as products on a clear background, a quality around 60 to 75 is usually plenty.
  • For screenshots, charts and logos, go to 90 or higher. At 100 the encoder also keeps colour detail at full resolution, so red text on white stays crisp.
  • If the result still looks fuzzy, compare it with the PNG to WebP converter, or keep the PNG for that image.

Is it lossless?

No. This tool creates lossy AVIF files even at the top setting, so tiny pixel differences remain. For pixel-perfect archives keep the original PNG. For anything shown on a web page the difference at high quality is rarely visible.

Practical details

Up to 20 PNG files can be converted in one go, each up to 50 MB and 40 megapixels. Each result appears with a preview and its new size next to the original, and several files can be saved together in a ZIP. Pick Fast speed for big batches; Slow trims a few more kilobytes.

How to use PNG to AVIF

  1. Choose one or more PNG images.
  2. Set the quality (use a high value for text and screenshots) and the speed.
  3. Select Convert to AVIF, compare the sizes in the preview and download.

Privacy: how it works

Your images are converted on your own device. The AVIF encoder program is downloaded from cdn.jsdelivr.net the first time; your images are never uploaded.

Frequently asked questions

Is the AVIF lossless like my PNG?

No. This page makes lossy AVIF files. At quality 100 colours are kept at full resolution and the result is very close to the PNG, but not identical pixel for pixel.

Is transparency kept?

Yes. AVIF supports an alpha channel, so transparent and semi-transparent parts of the PNG are kept.

Why does my screenshot look blurry around text?

Lower qualities soften fine coloured edges. Raise the quality to 90 to 100 for screenshots, charts and logos.