Compress AVIF Files

AVIF is built on the AV1 video codec. In our sample run of 54 photos at the High preset, the AVIF files were 40% smaller in total than the JPGs and 39% smaller than the WebPs.

Try it on your own file

Drop an AVIF here, or choose a file

It stays on your device. Nothing is uploaded from this page.

80
Sign up free to compress it

Nothing is processed on this page. The Free plan compresses your first 15 photos to AVIF or JPG; bigger photos are resized to fit 3 MB. WebP and AI text start on Starter.

At a glance

Compress AVIF at a glance

40%

vs JPG, same preset

39%

vs WebP, same preset

0.99

Lowest SSIM vs original

Every plan, including Free

Plans

Figures from our sample run; AI text is Starter and up.

What makes AVIF different

AVIF stores still images with the AV1 video codec, developed by the Alliance for Open Media. AV1 predicts each block of an image from its neighbours and filters the edges it leaves, which takes more computing than JPG or WebP encoding but usually gives smaller files with fewer artifacts.

AVIF also supports transparency and higher bit depths than WebP, which is limited to 8 bits per channel.

AVIF quality and file size results

We ran 54 free-licence Unsplash photos of businesses through the app's own pipeline: High preset, resized to 2,048 px wide, metadata stripped.

The originals weighed 183.0 MB in total. As JPG they came to 27.1 MB, as WebP 26.7 MB, and as AVIF 16.2 MB: 91% less than the originals. Every AVIF scored at least 0.99 SSIM against the original resized to the same size, measured at 1,024 px.

AVIF browser support

According to Can I use (October 2026), AVIF works in Chrome 85+, Edge 121+, Firefox 93+ and Safari 16.4+, which covers about 96% of users.

For the rest, serve a WebP or JPG fallback with the <picture> element or your CDN's format negotiation. Picture Optimizer generates the AVIF primary and you configure your CDN or theme for fallback delivery.

Questions

Common questions about this tool.

For photos it usually gives smaller files: in our sample run at the High preset, the AVIF files were 39% smaller in total than the WebP files. AVIF also supports higher bit depths. The trade-offs are slower encoding (handled on our servers) and slightly lower browser support, about 96% of users against about 97% for WebP, according to Can I use.

Fresh from the blog: Image compression