Convert WebP to AVIF

In our sample run of 54 photos at the High preset, the AVIF files were 39% smaller in total than the WebP files. If you already serve WebP, converting to AVIF is the next step.

  • Sample export first
  • Up to 100 images a batch, depending on plan

Try it on your own file

Drop a WebP here, or choose a file

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

80
Sign up to convert 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

WebP to AVIF at a glance

39%

AVIF vs WebP, same preset

96%

AVIF browser support (Can I use)

97%

WebP browser support (Can I use)

AVIF primary, WebP fallback

Recommended strategy

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

WebP to AVIF: the next compression step

If your site already serves WebP, converting to AVIF can make your images smaller again. In our sample run of 54 photos at the High preset, the WebP files came to 26.7 MB in total and the AVIF files to 16.2 MB.

For the best quality, convert from your original JPG or PNG files rather than from WebP copies that were already compressed.

Serving AVIF with WebP fallback

Serve AVIF to browsers that support it, about 96% of users according to Can I use (October 2026), and fall back to WebP or JPG for the rest.

Implement this with the HTML <picture> element, your CDN's content negotiation, or server-side Accept header detection. Picture Optimizer generates the AVIF file. Your delivery infrastructure handles format selection.

Questions

Common questions about this tool.

If your delivery infrastructure supports format negotiation (CDN-based Accept header detection or <picture> elements), yes. Serve AVIF as primary with WebP fallback for maximum performance across all browsers.

Fresh from the blog: WebP, AVIF and image formats

Comparison · WebP, AVIF and image formats

WebP vs AVIF: which format should your website use?

AVIF makes smaller photos; WebP has slightly wider support. Here is when to use each, with real file sizes from 54 photos and current browser data.