Compress AVIF Images for websites

Web image optimization is one of the highest-impact improvements for site speed, Google Core Web Vitals scores, and organic SEO rankings. Next-generation image format based on the AV1 video codec. Offers superior compression to both WebP and JPEG. Use ImageSmith to compress your AVIF images to the ideal file size for websites — target under 200KB for optimal performance. Processing is fully browser-based — no server uploads.

Recommended format

WebP

Max file size

200KB

Dimensions

Match display dimensions — use responsive images with srcset

✓Target under 200KB for hero/banner images, under 100KB for thumbnails
✓Use WebP or AVIF for the best compression-to-quality ratio
✓Implement lazy loading: add loading="lazy" to non-critical images
✓Use Next.js Image component or similar for automatic optimization

Compress AVIF for Other Platforms

Compress AVIF for websites — FAQ