SquishPixel / Compress

Compress AVIF

The smallest files for photos, encoded on your own device.

Drop images here

or , or paste from the clipboard

JPEG, PNG, WebP, AVIF, JPEG XL, HEIC, GIF, SVG · up to 50 images, 50 MB each · nothing is uploaded

Save as
Quality

What AVIF is good at

AVIF is built on the AV1 video codec. For photographs it usually produces smaller files than WebP or JPEG at the same visual quality, and it handles smooth gradients well.

Why AVIF takes longer

AVIF encoding is heavy work. A large photo can take several seconds, and longer on an older phone. The page stays usable while it runs, and other images in the batch continue in parallel.

Browser support

Current versions of Chrome, Edge, Firefox and Safari display AVIF. If you must support older browsers, serve a WebP or JPEG fallback alongside it.

Questions

Compress AVIF: common questions

Should I use AVIF or WebP?

AVIF is usually smaller for photos. WebP encodes faster and has been supported for longer. Many sites serve AVIF first with WebP as the fallback.

Does AVIF support transparency?

Yes, and SquishPixel keeps it.

More tools

Other formats