OptimizeImage

Compress Images for Your Website

Images are usually the heaviest part of a web page and the main cause of a poor Largest Contentful Paint score. Compressing them is the single highest-impact speed fix available.

This page defaults to WebP output, the best format for modern websites.

Image Compressor

Runs on your device — no upload

Drop an image here

or click to browse, or paste from your clipboard with Ctrl/Cmd + V

JPG · PNG · WebP · AVIF · BMP · GIF — up to 40 MB

Target sizes by role

Budget your bytes according to how big the image appears on screen.

  • Hero / banner: 150–300KB at up to 1920px wide
  • In-article images: 80–150KB at up to 1200px wide
  • Product photos: 60–120KB at up to 1000px wide
  • Thumbnails and avatars: under 30KB

Beyond compression

Pair compressed images with width and height attributes to prevent layout shift, loading="lazy" for below-the-fold images, and responsive srcset so phones never download desktop-sized files.

Frequently asked questions

Related tools and guides