How to compress images for your website without losing quality
Heavy photos slow small business websites down. Learn the right size and format, and shrink your images in under a minute.
Photos from a modern phone are often 3–8 MB each. Put a few of them on your homepage and visitors on mobile data may wait several seconds before anything appears — and many will leave before it does. Page speed is also one of the signals Google uses to rank websites.
The good news: you can usually cut image size by 70–95% with no difference anyone will notice.
Step 1: Resize to the size it's actually shown
The biggest win is not compression — it's resizing. A photo 4,000 pixels wide shown in a 1,200-pixel space wastes most of its weight.
| Where the image goes | Good maximum width |
|---|---|
| Full-width hero / banner | 1,920 px |
| Image inside a page or blog post | 1,200–1,280 px |
| Thumbnails, team photos, cards | 600–800 px |
Step 2: Choose the right format
- WebP — best choice for most website images. Much smaller than JPG at the same quality, and supported by all modern browsers.
- JPG — fine for photos when WebP isn't an option.
- PNG — only for logos, icons or images that need a transparent background. Never for photos (they get huge).
- SVG — ideal for logos and icons when you have a vector version.
Step 3: Compress at around 75–85% quality
Quality settings between 75% and 85% usually look identical to the original. Go lower only for small images or backgrounds. Compare before and after at actual size, not zoomed in.
Step 4: Name and describe your images
- Use descriptive file names: orlando-bakery-birthday-cake.webp, not IMG_4821.jpg.
- Add alt text describing the image. It helps people who use screen readers, and it helps Google understand your page.
How to do it in under a minute
- Open our free Image Compressor.
- Drop in your photos (you can add several at once).
- Choose 1920 px and WebP for website use, keep quality at 80%.
- Download the results and upload them to your site.
Everything runs in your browser — your photos never leave your device.
Common mistakes
- Uploading photos straight from the phone.
- Using PNG for photos.
- Compressing an already-compressed image over and over (quality drops each time — always start from the original).
- Forgetting the images in sliders and galleries, which are often the heaviest part of a page.