Why compress images?
Images usually make up over half of a web page's weight. Compressing them is the single quickest way to speed up a website, improve Google PageSpeed scores and reduce bounce rates — especially for visitors on mobile data.
Tips for the best results
- Resize images to the largest size they are displayed at (e.g. 1920px wide for full-width banners).
- Use WebP output for websites.
- Quality 70–80 is the sweet spot for photos.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
How to compress an image to a specific KB size
Forms for exams, jobs and government services in India often ask for a photo or signature within a set limit, for example under 50 KB or 100 KB. To reach a target size:
- Start with a quality around 70–80 and check the output size.
- If it is still too large, lower the quality in small steps.
- If quality drops too much, reduce the pixel dimensions using the image resizer and compress again.
Always read the notification. Limits, dimensions and formats vary between forms, so follow the exact requirement published for your application.
How big should website images be?
| Image | Sensible target |
|---|
| Full-width hero banner | Under about 200 KB |
| Blog or content image | Under about 100 KB |
| Product thumbnail | Under about 50 KB |
These are practical guidelines, not official rules. The goal is the smallest file that still looks good on your page.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
| Format | Best for | Transparency | Typical size |
|---|
| WebP | Websites, blogs, e-commerce | Yes | Smallest (25–80% smaller) |
| JPG | Photos, email, printing | No | Small |
| PNG | Logos, screenshots, graphics | Yes | Large (lossless) |
| AVIF | Next-gen web images | Yes | Very small, slower to encode |
Image SEO checklist
- Use descriptive file names —
website-design-bhubaneswar.webp instead of IMG_2041.webp. - Write alt text that describes the image for visually impaired users and search engines.
- Serve the right size — never upload a 4000px photo to display at 800px.
- Set width and height attributes to prevent layout shift (CLS).
- Lazy-load images below the fold with
loading="lazy". - Use WebP for faster Largest Contentful Paint (LCP), a Core Web Vitals ranking factor.
Lossy vs lossless compression
| Lossy (JPG, WebP) | Lossless (PNG, lossless WebP) |
|---|
| How it works | Removes detail the eye barely notices | Keeps every pixel exactly |
| File size | Much smaller | Larger |
| Best for | Photos | Logos, screenshots, text, line drawings |
Compress photos lossily. Keep graphics with sharp edges and text lossless, or as SVG, so they stay crisp.
Why are phone photos so big?
Modern phones capture photos with millions of pixels, so they look good when you zoom in or print. A website, WhatsApp chat or online form rarely needs that much detail. That is why one phone photo can be several MB while a sharp website image can be well under 200 KB.
The best compression workflow
- Crop to remove anything you do not need.
- Resize to the width it will be displayed at, using the image resizer.
- Compress here, starting at a quality of about 80.
- Compare at normal viewing size. If it looks the same, try a little lower.
- Convert website images to WebP with the JPG to WebP converter.
Do not compress the same JPG repeatedly
Each time a JPG is saved with lossy compression, a little more detail is lost. Re-compressing an already compressed file can cause blocky edges and colour bands. Always go back to the original when you need a new version.
Compressing for WhatsApp and email
WhatsApp compresses photos when you send them normally. Sending as a document keeps the original quality, but the file is larger. If you need a smaller attachment for email, compress it here first, so you control the result.
Website owners: image weight is one of the most common reasons for a slow Largest Contentful Paint. Compress your largest homepage image first.