Compress Image
Make photo files smaller without a visible change in how they look. You can also convert them to JPG, PNG or WebP.
For example, 200 KB for an online form, 1000 KB for an email attachment.
At 75% the difference is usually not visible.
Your photos are processed on this device and never uploaded to a server.
How to use it
- Choose one or more photos. Each one is compressed right away with the settings below.
- Choose Target file size and enter the limit in KB, or choose Set quality to pick the quality yourself.
- If needed, change the output format or cap the longest side of the photo.
- Download each photo, or all of them at once in a ZIP file.
How a target file size is reached
With Target file size, the photo is first saved again at 85% quality. If that is already under the target, you're done. If not, the tool looks for the highest quality between 35% and 85% that still fits, using six tries that each halve the remaining range. If even 35% is too large, the dimensions are reduced by the factor √(target ÷ size) × 0.95, kept between 0.4 and 0.9, and the quality search runs again. It stops after at most 10 rounds and never shrinks a side below 32 pixels.
Example: a 4000 × 3000 phone photo with a 200 KB target. Suppose that at 35% quality the file is still 800 KB. The factor is √(200 ÷ 800) × 0.95 = 0.475, so the photo becomes 1900 × 1425 pixels and the quality is searched again at the new size. That is why a large photo may come out with smaller dimensions, while a photo that is already small usually only loses some quality.
Here 1 KB = 1,024 bytes, so a 200 KB target means at most 204,800 bytes. Some forms count 1 KB as 1,000 bytes. If the limit is strict, enter 195 so the result stays under 200,000 bytes.
Choosing a format
| Format | Compression | Transparency | Best for |
|---|---|---|---|
| JPG | Lossy | No | Photos, forms |
| WebP | Lossy | Yes | Websites |
| PNG | Lossless | Yes | Screenshots |
JPG has no transparency, so transparent areas are filled with white, but almost every form accepts it. According to Google, lossy WebP is 25-34% smaller than JPG at equal quality, though not every site accepts it. With PNG the quality setting has no effect and only the dimensions can shrink, which makes it wasteful for photos.
Original keeps JPG, PNG and WebP in their format. Anything else, such as HEIC, GIF or BMP, is saved as JPG. If your browser can't create WebP files, the result is saved as JPG with a note in the list.
Things to know
- The original may be kept. If the format stays the same, the dimensions don't change and the file is already under the target, or if compressing would make it larger, the tool keeps your original file and marks it as already optimized.
- Metadata. Photos that are saved again lose their EXIF data, such as GPS location, date and camera model, and the rotation is applied to the pixels. A file marked as already optimized keeps its original metadata.
- Don't compress twice. Every time a JPG is saved again it loses more detail. Start from the original photo, not from an earlier compressed copy.
- Dimensions matter most. Limiting the longest side to 1280 pixels leaves a 4000 × 3000 photo with about a tenth of its pixels, which shrinks the file far more than lowering the quality does.