Updated
What "without losing quality" means
There are two kinds of compression. Lossless keeps every pixel, but it saves little on photos. Lossy drops detail the eye hardly sees, and it saves far more.
So for a photo, "without losing quality" means with no loss you can see. JPG and WebP are lossy. Their quality setting sets how much detail is dropped.
Reduce the size of a JPG or WebP photo
The image compressor runs in your browser, so the photo is not uploaded. It shows both file sizes and how much you saved.
- Open the image compressor and drop in the photo.
- Start at the default quality of 80%.
- Compare the new preview with the old photo. Look at it at the size people will see, not zoomed in.
- Lower the quality until you see a change. Then go back up one step.
- Download the file. It keeps its format, width and height.
Reduce the size of a PNG
PNG is lossless, so a quality slider has nothing to work with. If the PNG is a photo, convert it to WebP or JPG. The file often shrinks to a small part of its old size.
If the image needs see-through parts, like a logo or a cut-out, choose WebP. It keeps them. JPG does not.
Resize when the photo is larger than it needs to be
A phone photo is often 4000 pixels wide. A web page or an email rarely shows more than 1000 to 2000. Cut the width and height in half and you keep a quarter of the pixels. That saves more than any quality setting.
Resize first, then compress.
Pick the format that suits the image
- WebP: the smallest file for most photos and graphics. It can be see-through. Every current browser opens it.
- JPG: works everywhere, even in email and old apps. It can not be see-through.
- PNG: lossless, so it is good for screenshots and graphics with text. Photos saved as PNG are large.
- HEIC: the format of iPhone photos. The files are small, but many apps and sites do not take them. Convert to JPG to share.
Habits that keep the quality
- Compress from the original. Each lossy save adds new flaws.
- Compress once, at the end. Crop and edit first.
- Keep the original file. You can always make a smaller copy from it, but not the other way round.
- The compressed copy has no EXIF data, so the camera details and GPS location are gone. Keep the original if you need them.