How to compress images without losing quality (the honest version)
Truly lossless compression saves little. The big wins come from dropping detail your eyes cannot see. How to shrink images 70–80% and keep them looking the same.

"Compress image without losing quality" is one of the most searched phrases in this whole space, and almost every tool promises it.
Here's the slightly awkward truth: if you mean literally no change to a single pixel, you can only shrink a photo a little. Maybe 10–20%, sometimes less.
The tools that turn a 4 MB photo into a 400 KB one are throwing information away. The reason it looks the same is that they're throwing away information your eyes were never going to notice.
That's not a scam. That's how image compression has worked since the 90s. But knowing the difference helps you get much better results, so let me explain.
Three ways to make an image smaller
1. Truly lossless
The pixels stay exactly the same. The file is just stored more efficiently.
- Stripping metadata. Phone photos carry camera details, timestamps, GPS location and sometimes an embedded preview thumbnail. Removing all that can save anywhere from a few KB to tens of KB, with zero effect on the image.
- Better lossless encoding. Re-saving a PNG with a smarter encoder, or converting it to lossless WebP, usually saves 10–30%.
This is the right choice for screenshots, logos, diagrams and anything you'll edit again later. But for photos, the savings are modest.
2. Visually lossless
This is what you actually want for photos. The image is compressed with a lossy format (JPEG, WebP or AVIF) at a high enough quality that you can't tell the difference at normal viewing size.
It works because human vision has blind spots that encoders exploit:
- We're much less sensitive to fine colour detail than to brightness detail, so encoders store colour at lower resolution.
- In busy areas like leaves, gravel or hair, small errors are hidden by all the texture around them.
- Very subtle shifts in shade are invisible unless they're right next to each other.
Going from JPEG quality 100 to quality 85 often cuts the file size by half or more, and side by side on a screen you won't spot which is which.
3. Resizing
Not compression at all, but usually the biggest win. If a photo is 4000 pixels wide and it's shown at 800 pixels on your website, 96% of the pixels are being downloaded and then thrown away by the browser. Resizing to match how big the image is actually displayed (or twice that, for sharp phone screens) does more than any quality setting.
How to find the sweet spot
Every image is different, so there's no single magic quality number. Here's how I find the right one:
- Start at a sensible default. WebP 80, JPEG 82, or AVIF 50.
- Look at the result at the size it'll really be displayed. Not zoomed in to 400%. Nobody will see it that way.
- Check the three places damage shows up first:
- Smooth gradients like a clear sky or a studio backdrop. Look for banding, where a smooth fade turns into visible stripes.
- Faces. Skin turning waxy or blotchy is easy to notice and very off-putting.
- Text and sharp edges. Look for halos or fuzzy fringes around letters.
- If it looks fine, go lower. If not, go higher. Five-point steps are enough.
After you've done this for a few images, you'll get a feel for it, and you'll mostly just use your default.
The mistakes that actually ruin quality
Most of the bad-looking images I see on websites aren't the result of compression settings. They're the result of one of these:
- Re-saving JPEGs over and over. Every time you open a JPEG, edit it and save it again, it gets compressed again and loses a bit more. After a few rounds it's visibly worse. Always edit from the original.
- Reusing images from WhatsApp or social media. These apps compress hard. If you download a photo from there and use it on your website, you're starting from an already-damaged copy.
- Saving screenshots as JPEG. JPEG is designed for photos. On text and sharp UI edges, it adds ugly fuzzy artefacts. Use PNG or lossless WebP for screenshots.
- Upscaling small images. Making an 800-pixel image 2000 pixels wide just makes a bigger, blurrier file. There's no detail there to recover.
Doing it in TinyRes
TinyRes gives you both kinds of compression and lets you compare before you download.
- For pixel-perfect results, use the Lossless preset. It saves as lossless WebP, and EXIF data is stripped by default, so you get the free savings without touching a single pixel.
- For photos, start with Web optimised (WebP at quality 80). Then try Maximum compression (AVIF at quality 50) and compare the preview. Changing settings on an image you've already added doesn't use up your daily allowance, so experiment as much as you like.
- If you have a strict size budget, set a Target size in the Output tab and let the engine find the highest quality that fits. That's especially handy for things like forms that need images under 100 KB.
Your images are processed in memory and sent straight back to you. Nothing is stored.
A quick checklist
Before you upload an image anywhere:
- Is it roughly the size it'll be displayed at (or 2× for sharp screens)?
- Is it in the right format? Photos in WebP, AVIF or JPEG; graphics in PNG, lossless WebP or SVG.
- Did you strip the metadata?
- Did you compress from the original, not a copy of a copy?
- Did you actually look at it before uploading?
That last one sounds obvious. It's also the one people skip.
zero bytes stored
Shrink your images right now
Convert to AVIF, WebP or MozJPEG, crop around faces, strip EXIF and hit exact KB targets in your browser.