How to Make Images Smaller Without Losing Visible Quality
Most photos are far bigger than they need to be. With the right combination of pixel dimensions, file format, and quality setting, you can usually shrink a file dramatically while it still looks the same to anyone viewing it. This guide explains what actually happens when you compress an image, so you can choose settings with confidence instead of guessing.
Lossy vs lossless: two very different kinds of "smaller"
Lossless compression stores the same pixels more efficiently. When the file is opened, every pixel comes back exactly as it was. PNG is lossless, and WebP has a lossless mode too. Lossless compression works very well on graphics with large areas of flat color, such as screenshots and logos, but it usually cannot make a photograph dramatically smaller, because real-world photos are full of fine texture and sensor noise that cannot be packed away neatly.
Lossy compression takes a different approach: it throws away information your eye is unlikely to notice, such as tiny variations in color and very fine texture. JPEG, lossy WebP, and AVIF all work this way. The savings can be large, but the discarded data is gone for good. You cannot get it back by saving the file again at a higher setting.
So when people talk about compressing "without losing quality", what they really mean is without visible loss. A lossy file is always different from the original at the pixel level. The goal is to make those differences small enough that nobody can see them at normal viewing size.
How quality settings really behave
Most tools give you a quality slider from 0 to 100. Despite how it looks, that number is not a percentage of quality kept. It is an instruction to the encoder about how aggressively to discard detail, and its exact meaning differs between formats and encoders, so quality 75 in WebP is not the same as quality 75 in JPEG.
What stays consistent is the pattern of diminishing returns. Near the top of the scale, file size grows quickly while the visual improvement becomes very hard to see. In the middle of the range, the file shrinks a lot and the changes stay subtle. At the low end, artifacts start to show up: blocky patches in smooth areas like skies, faint halos or "ringing" around sharp edges and text, and visible bands in gradients.
For most photos, a setting somewhere around 70 to 85 is usually a good sweet spot. Treat that as a starting point, not a rule. A busy, detailed scene such as leaves or gravel hides artifacts well and can often go lower, while an image with smooth gradients, skin tones, or text may need a higher setting to stay clean. A simple method: start at about 80, step down until you notice a difference, then go back up one step.
Resize first: pixel dimensions are often the biggest win
Phone and camera images are typically several thousand pixels wide, but a blog column, an email preview, or a chat window shows them far smaller. The number of pixels depends on width times height, so halving both dimensions leaves only about a quarter of the pixels. That reduction often saves more space than any quality adjustment, and at the size the image is actually displayed, it looks the same.
Work out the largest size your image will really be shown at. If sharpness on high-density ("retina") screens matters, allow roughly twice the display width. Then shrink it with the resize tool before you compress, in that order, so the encoder works on the final pixels. Avoid enlarging small images: upscaling adds pixels without adding real detail, and it makes the file bigger.
Pick a format that suits the image
The format can matter as much as the quality setting. PNG is excellent for screenshots, diagrams, logos, and anything that needs transparency. For photographs, though, PNG is usually the wrong choice. Because it is lossless, it has to keep all of the photo's noise and texture, so a photo saved as PNG is often several times larger than a good-quality JPEG of the same picture. If you have photos stored as PNG and they do not need transparency, converting them to JPEG or WebP with the image converter is often the easiest saving of all.
WebP supports both lossy and lossless compression as well as transparency, and at similar visual quality it typically produces smaller files than JPEG. Modern browsers support it, which makes it a strong choice for websites; the JPG to WebP converter handles this in one step. Some older software and some upload forms still expect JPEG, so keep JPEG when you need the widest compatibility.
Don't compress the same JPEG again and again
Every time a JPEG is opened, edited, and saved, the encoder makes a fresh round of lossy decisions on top of the previous ones. The damage adds up: blocks become more visible and edges get messier. This is often called generation loss. Messaging apps and social platforms frequently recompress uploaded images, which is why a picture that has been forwarded many times can look noticeably worse than the original.
- Keep your original file somewhere safe and always export new versions from it.
- If you need several sizes, create each one from the original rather than from a smaller copy.
- Re-saving an already heavily compressed file at high quality will not restore lost detail, and it can make the file larger.
- Do your cropping and editing before the final compression step, not after.
Check the result at 100% zoom
Scaled-down previews hide artifacts, so a thumbnail can look perfect even when the full image is not. Open the original and the compressed version at 100% zoom, where one image pixel equals one screen pixel, and compare the same areas. Look closely at smooth gradients like skies and walls for banding or blocks, at text and high-contrast edges for halos, at faces for blotchy skin, and at fine detail like hair or foliage for smearing.
Then look at the image at its real viewing size. If a flaw only appears when you zoom to 300%, nobody else will notice it. The compress tool lets you adjust the quality and see the resulting file size right away. Because it runs entirely in your browser, your photos are never uploaded to a server, so you can experiment freely, even with private images.
Practical settings for common situations
These are reasonable starting points. Adjust them after checking the result with your own eyes.
| Situation | Dimensions | Format and quality |
|---|---|---|
| Email attachment | Longest side around 1600 to 2000 px | JPEG, quality around 75 to 85 |
| Photo on a website | About the display width, or roughly double for sharp high-density screens | WebP or JPEG, quality around 70 to 80 |
| Screenshot, logo, or diagram | The size it will be displayed | PNG or lossless WebP |
| Sharing on social or chat apps | Moderate; platforms usually resize anyway | JPEG at a fairly high quality, around 85 to 90, to leave headroom for the platform's own recompression |
| Archive or printing | Keep the original | Keep the original file and do not recompress it |
A quick checklist before you hit save:
- Start from the original, highest-quality file.
- Decide the real display size and resize to it.
- Choose the format: JPEG or WebP for photos, PNG or lossless WebP for graphics.
- Start around quality 80 and step down while it still looks right.
- Compare at 100% zoom and at normal viewing size.
- Keep the original in case you need a different version later.
Frequently asked questions
Does compressing an image reduce its resolution?
Not by itself. Compression changes how the pixel data is stored, while resizing changes the pixel dimensions. Many tools offer both, but they are separate steps, and resizing is often the one that saves the most space.
Is PNG better quality than JPEG?
PNG is lossless, so it keeps every pixel exactly, but for photos that usually means a much larger file with no visible benefit over a high-quality JPEG. PNG is the better choice for screenshots, text, logos, and images that need transparency.
Can I undo lossy compression?
No. Lossy compression permanently discards some image data, and saving the file again at a higher quality will not bring it back. Keep your original file and always export compressed copies from it.