Large images slow down websites, fill up inboxes, and eat storage. The good news is that you can usually shrink an image dramatically without anyone noticing a difference.
Why image size matters
- Page speed: images are often the heaviest part of a web page, and slow pages lose visitors.
- Email limits: many providers cap attachments at around 20-25 MB.
- Storage and bandwidth: smaller files cost less to store and deliver.
Two kinds of compression
- Lossy: removes some data you are unlikely to notice. It gives much smaller files. JPG and lossy WebP work this way.
- Lossless: shrinks the file without removing any visual information. The savings are smaller. PNG uses lossless compression.
Step 1: Resize before you compress
A photo straight from a phone can be 4000 pixels wide, but a blog post rarely displays it wider than 1200 pixels. Resizing to the size you actually need often cuts the file size by more than half. A free image resizer does this in seconds.
Step 2: Compress
Run the resized image through an image compressor. For photos, a quality setting around 70-85% usually looks nearly identical to the original while being much smaller.
Step 3: Pick the right format
- JPG: best for photographs
- PNG: best for logos, screenshots, and graphics that need transparency
- WebP: a modern format that is typically smaller than JPG or PNG at similar quality
An illustrative example
A 4 MB phone photo at 4000 pixels wide, resized to 1200 pixels and compressed at about 80% quality, often ends up well under 300 KB. Results vary by image, but the savings are usually dramatic.
A simple checklist for web images
- Resize to the largest size the image will actually be displayed.
- Compress at 70-85% quality for photos.
- Use descriptive file names, such as
red-running-shoes.jpg, notIMG_4021.jpg. - Add alt text for accessibility and search.
- Keep an original copy in case you need to edit again.
Common mistakes
- Compressing the same JPG repeatedly, which degrades quality each time
- Saving screenshots with text as JPG, which can make text look blurry
- Uploading full-size images and relying on the website to scale them down

