A photo straight from a modern phone is often 3 to 5 MB. Put a few of those on a web page and it loads slowly on mobile data; attach them to an email and you hit size limits. Yet most of that size is detail nobody can see on a normal screen.
This guide explains how image compression works, which format to choose for which job, and the settings that shrink files dramatically while keeping them looking sharp. You can try each step with the free freetoolza Image Compressor & Converter, which works in your browser without uploading your images.
Lossy vs lossless compression
Lossless compression shrinks a file without changing a single pixel, like zipping a document. It works well for flat colours and sharp edges but saves less on photos.
Lossy compression throws away detail the eye is unlikely to notice, such as tiny colour variations in a sky. At sensible settings the change is invisible and the file becomes many times smaller. Push it too far and you see blocky areas, smudged textures and halos around edges.
Which format should you use?
| Format | Best for | Transparency | Notes |
|---|---|---|---|
| JPEG | Photos | No | Lossy. Supported everywhere. Transparent areas become a solid colour. |
| PNG | Logos, icons, screenshots, text | Yes | Lossless. Large for photos, excellent for sharp graphics. |
| WebP | Websites (photos and graphics) | Yes | Lossy or lossless. Usually noticeably smaller than JPEG at similar quality. Supported by all modern browsers; some older desktop software cannot open it. |
A simple rule: photos to WebP or JPEG, graphics with text or transparency to PNG or WebP. If you are sending a file to someone who may open it in older software, JPEG and PNG are the safest choices.
Step 1: Resize before you compress
Resizing is the biggest saving most people miss. A 4000 × 3000 pixel photo has 12 million pixels. If it will be shown in a blog column 1200 pixels wide, three quarters of those pixels are wasted. Scaling it to 1200 × 900 cuts the pixel count by more than 90% before compression even starts.
Use the Image Resizer to set exact dimensions or a percentage. Useful targets:
- Full-width website image: about 1600–2000 px wide.
- Blog or article image: about 1200 px wide.
- Thumbnail or product card: 400–800 px wide.
- Social share image: 1200 × 630 px is a common size for link previews.
To look crisp on high-density (Retina) screens, you can use up to twice the displayed width, but rarely more.
Step 2: Choose the format and quality
- Open the Image Compressor & Converter and choose your image. It accepts JPEG, PNG, WebP, GIF and BMP files.
- Pick an output format: JPEG for photos, WebP for small modern files, or PNG for lossless graphics.
- Set the quality slider. For JPEG and WebP, start at 75–80%.
- Click Compress / Convert. Compare the new size with the original and look closely at the preview.
- If it looks perfect, try a lower quality. If you see artefacts, go a little higher. Then click Download.
What quality setting is “good enough”?
For most photos, quality between 70% and 85% is the sweet spot: the file is a fraction of the original and the difference is hard to spot at normal viewing size. Above 90% the file grows quickly for very little visible gain. Below 60% you start to see problems, first in smooth gradients such as skies and skin tones, and around sharp edges and text.
Judge at the size the image will actually be shown, not zoomed to 400%. Every lossy image looks rough when magnified far beyond its display size.
Common mistakes
- Saving screenshots as JPEG. Text and sharp UI edges get fuzzy halos. Use PNG or lossless WebP.
- Saving photos as PNG. The file can be five to ten times larger than a good JPEG with no visible benefit.
- Compressing the same JPEG again and again. Each lossy save loses a little more detail. Keep your original and always export from it.
- Uploading full-size phone photos to a website. Resize first; it matters more than any quality setting.
- Converting a transparent logo to JPEG. The transparent background becomes solid. Use PNG or WebP.
Why smaller images matter for websites
Images are often the heaviest part of a web page. Lighter images load faster, especially on mobile networks, use less of your visitors’ data, and help page-speed measurements such as Largest Contentful Paint, which is often an image. Faster pages also tend to keep visitors around longer.
Privacy: your images stay on your device
The freetoolza compressor uses your browser’s built-in canvas feature, so images are processed on your computer or phone and are never uploaded to a server. That makes it suitable for personal photos and unreleased work.
Frequently asked questions
Does converting to WebP always make the file smaller?
Usually, but not always. A tiny or already highly compressed image may not shrink further. Compare the sizes the tool shows and keep whichever is smaller.
Will compression remove the photo’s location data?
Re-encoding an image through a browser canvas generally does not carry over camera metadata such as GPS location. If privacy is important, check the downloaded file’s properties before sharing.
Can I compress a GIF animation?
The tool can read a GIF, but the output is a single still image. Use a dedicated video or GIF tool for animations.


