Strictly speaking, a photo cannot be made much smaller with zero loss. What you can do is make it far smaller with no loss that anyone will see. A phone photo of several megabytes can often shrink to a fraction of that and still look the same on a screen, because most of what is removed was never visible at the size the picture is shown.
There are three levers: the pixel dimensions, the file format and the quality setting. Use them in that order. The first one saves the most and costs the least.
What "without losing quality" can mean
- Truly lossless: every pixel stays identical. PNG works this way. The savings available here are small for photos, so this alone rarely solves a size problem.
- Visually lossless: the file changes, but at normal viewing size you cannot tell the two apart. This is what most people need, and where the big savings are.
- Good enough for the purpose: a form demands 100 KB and the picture only has to be recognisable. Here you accept visible loss and try to keep it small.
Lever 1: pixel dimensions
A 12 megapixel phone photo is about 4000 × 3000 pixels. A Full HD screen shows 1920 × 1080. A picture in an article or an email is displayed smaller still. Pixels that are never shown carry no visible quality, but they take up space.
Halving the width and height leaves a quarter of the pixels: 4000 × 3000 is 12 million, 2000 × 1500 is 3 million. The file shrinks by a similar proportion. Resize image sets a width or height in pixels and keeps the proportions if you fill in only one of the two.
Cropping is the same lever. Cutting away empty table around a document or sky above a subject removes pixels nobody wanted. Crop image does that without rescaling what remains.
The one case where you should not reduce pixels is printing. Paper needs far more pixels than a screen, as explained in what DPI is and when it matters.
Lever 2: format
A photo saved as PNG is several times larger than it needs to be. Saving it as JPG is the single biggest saving for such a file, at no visible cost. WebP is usually smaller again, where it is accepted. Screenshots and logos are the opposite case: they often stay smaller and sharper as PNG. JPG vs PNG vs WebP has the full comparison, and Convert image changes the format.
Lever 3: the quality setting
JPG and WebP have a quality setting. Cameras and phones save near the top of the scale, where each extra step of quality costs a lot of bytes and shows almost nothing. Coming down from the maximum to a high-but-not-maximum setting often cuts the file substantially before any difference is visible. Below a certain point, blocky areas and haze around edges appear. Where that point lies depends on the picture: smooth skies and faces show damage first, busy textures hide it.
So do not trust a number. Look at the result at the size it will be used, and compare faces, text and smooth areas with the original.
A sensible order of steps
- Keep the original. Work on a copy, because none of these steps can be undone from the smaller file.
- Crop away what is not needed.
- Resize to the pixel size the picture will be shown at. Leave some reserve for sharp screens, for example 1600 to 2000 pixels wide for a large picture on a web page.
- Choose the format: JPG or WebP for photos, PNG for screenshots and graphics.
- Lower the quality until you see a difference, then go back one step.
- Do it once. Compressing an already compressed JPG again and again adds damage each time, so always start from the original.
When there is a hard size limit
If an upload form says "maximum 200 KB", adjusting quality by hand is guesswork. Compress image works the other way round: you type the limit in KB or MB and it searches for the best quality that fits. It first keeps the full pixel size and lowers only the quality. If that is not enough, it reduces the pixels too, and a note under the result tells you what it did, for example the quality used or how far the pixels were reduced. The files stay in your browser and are not uploaded.
When the form also demands exact dimensions, set them in Resize image and enter the limit under More options. The dimensions then stay fixed and only the quality is adjusted. The Compress image guide and the Resize image guide describe both routes.
What does not help
- Putting a JPG in a ZIP: the photo is already compressed, so the archive is barely smaller.
- Converting a JPG to PNG: the file gets bigger and no detail comes back.
- Enlarging afterwards: a picture that was reduced cannot get its detail back by resizing it up again.