Home › Guides › Digital skills guides
How to Reduce Image Size for Websites, Email and Messaging
JPG, PNG or WebP? A practical guide to choosing formats, quality settings and dimensions so images stay sharp but small.
Large images slow down websites, fill up phone storage and make emails bounce. Shrinking them is easy once you know which three things control file size: the format, the dimensions and the quality setting.
Choose the right format
- JPG (JPEG) is best for photographs. It uses lossy compression that removes detail the eye barely notices.
- PNG is best for logos, screenshots, diagrams and anything needing a transparent background. It is lossless, so photos saved as PNG are usually much larger than the same photo as JPG.
- WebP is a modern format supported by all current browsers. It typically produces files noticeably smaller than JPG at similar quality, and it supports transparency.
If you are unsure, WebP for the web and JPG for sharing is a safe rule.
Resize before you compress
The single biggest saving comes from reducing dimensions. A phone photo is often 4000 pixels wide, yet a blog column only displays around 800–1200 pixels. Serving the full photo wastes bandwidth.
| Where the image is used | Useful width |
|---|---|
| Blog or article photo | 1000–1600 px |
| Small thumbnail | 300–400 px |
| Full-width website banner | 1600–2000 px |
| 600–800 px |
Pick a quality level
For JPG and WebP, a quality of about 75–85% is the sweet spot: the file shrinks a lot and differences are hard to spot. Going from 100% to 85% can cut the size by more than half. Below about 60% you start to see blocky patches around edges.
Aim for a target size
Instead of guessing a quality number, set a target. Many people aim for under 200 KB for large website images and under 100 KB for smaller ones. A tool with a target-size option tries different qualities until the file fits, which saves a lot of trial and error.
Remove hidden data
Photos carry metadata such as camera model, date and sometimes GPS location. Re-saving an image through a compressor typically strips this, which makes the file smaller and protects your privacy when you post online.
Common mistakes
- Saving a photo as PNG "to keep quality" and ending up with a huge file.
- Compressing the same JPG repeatedly. Each round loses detail, so always start again from the original.
- Stretching a small image to fill a large space, which looks blurry no matter how it is compressed.
- Forgetting to check the result on a phone screen.
Batch work
When you have many photos, process them together and download a ZIP. Our image compressor runs in your browser, supports a target file size, shows a before-and-after comparison and never uploads your pictures.
Quick recipe
- Resize to the largest size you will actually display.
- Choose WebP for websites or JPG for sharing.
- Use quality 80% or a target size.
- Compare the result with the original at normal size.
- Keep the original file untouched.
A typical result
Here is a realistic example of how the steps add up. A photo straight from a phone might be 4000 × 3000 pixels and about 4 MB as a JPG. Resized to 1600 pixels wide it may fall to a few hundred kilobytes, and saving it as WebP at around 80% quality can bring it down further, often to roughly 150–250 KB with no obvious difference on screen. Exact numbers depend on the photo, since detailed images compress less than smooth ones.
Social media and messaging apps
Most platforms recompress what you upload, so a huge original is wasted. Upload at a sensible size, usually around 1080–2048 pixels on the long side. Messaging apps compress photos automatically to save data. If you need to share the exact original, such as a document photo or artwork, send it as a file or document rather than as a photo.
Do not forget accessibility and speed
Smaller images make pages load faster on slow mobile connections, which is important for visitors with limited data. Add short, descriptive alt text to images on websites so that people using screen readers know what the image shows. Also set a width and height so the page does not jump while images load.
Frequently asked questions
Why is my PNG so large?
PNG is lossless and was designed for graphics with flat colours. Photographs contain millions of subtle colour variations, so they become very large as PNG. Save photos as JPG or WebP instead.
Does WebP work on all devices?
All current major browsers support WebP. Very old software may not, so keep a JPG version if you need maximum compatibility, for example for email or older apps.
Will compressing remove location data?
Re-saving an image through a compressor normally removes metadata such as GPS coordinates and camera details. Check the result if privacy matters, because behaviour differs between tools.