Optimize images for the web
Unoptimized images are the number one cause of slow websites. Convert to modern formats, compress aggressively, and serve the right size. Here is how to do it right.
Images make or break web performance
LCP depends on images
Largest Contentful Paint (LCP) is a Core Web Vital. In most cases, the LCP element is an image. Optimize it and your LCP score drops.
Google ranks faster pages higher
Page speed is a confirmed Google ranking factor. Optimized images improve your PageSpeed Insights score, which feeds into search rankings.
Mobile users are impatient
53% of mobile visitors leave a page that takes longer than 3 seconds to load. Optimized images are the fastest win for mobile performance.
Recommended settings for the web
Convert photos to WebP at quality 80. Use AVIF for maximum compression if browser support is acceptable. Resize to the actual display size.
- FormatWebP (AVIF for bleeding edge)
- Quality75-82
- Target sizeUnder 100 KB for hero images, under 50 KB for thumbnails
Optimize images for the web in 3 steps
Convert to a modern format
Switch from JPG/PNG to WebP or AVIF. WebP is universally supported. AVIF offers 20-50% better compression but slower encoding.
Compress to the right quality
Quality 80 is the sweet spot for web. Below 75, artefacts become visible on high-density screens. Above 85, file size gains plateau.
Resize to actual display dimensions
Do not serve a 4000px image in a 800px container. Resize first, then compress. This alone can reduce file size by 80%.
Common questions
Should I use WebP or AVIF for my website?
What is a good target file size for web images?
Does image optimization affect SEO?
Ready to speed up your website?
Convert, compress, and resize your images for the web. Free, no signup.
Start optimizing