Image Compressor
Lower JPEG or WebP quality makes a file smaller without changing its pixel size. Type a target size in KB and the tool finds the highest quality that fits. Photos never leave your device.
How to use
- Drop one or more images onto the box, or press it to choose files. Each file can be up to 50 MB.
- Move the quality slider, or type a target size in KB. With a target size the tool searches for the highest quality that still fits.
- Check the sizes and the two small previews (original, then compressed), then press Download on each file you want.
How it works
Each image is drawn onto a canvas in your browser and saved again as JPEG or WebP at the quality you chose. Lower quality means stronger compression and a smaller file. The pixel dimensions do not change, so use the Image Resizer too if you also want fewer pixels.
For a target size the tool tries the highest quality first, then the lowest, and then narrows down between them with a binary search of eight steps. That is about ten encodes in total, so large photos take a few seconds. The result is the best quality at or under your target, to within about one percent of the quality range.
PNG images are converted to JPEG or WebP here, because PNG is lossless and has no quality setting. Transparent areas turn white when saving as JPEG.
Typical savings
| Quality | Look | Size vs. original (typical photo) |
|---|---|---|
| 90 | Almost identical | about 50 to 70% |
| 75 | Hard to tell on screen | about 25 to 40% |
| 50 | Visible softness up close | about 15 to 25% |
| 25 | Blocky in smooth areas | about 8 to 15% |
Sending photos by email or forms
Many forms accept files up to 1 or 2 MB. Type 900 as the target size to get comfortably under 1 MB, or 1800 for a 2 MB limit. If a phone photo is still too large at the lowest quality, resize it to about 2000 pixels on the long side first.
FAQ
Are my images uploaded?
No. Compression happens on your device in this browser tab. There is no upload, no account and no copy kept anywhere else.
Why did the file get bigger?
A photo that was already compressed hard, or a screenshot with flat colors and sharp text converted from PNG to JPEG, can come out larger. The list shows a warning when that happens. Lower the quality, or skip that file.
The target size was not reached. Why?
Even at the lowest quality the file is still above your target. Make the image smaller with the Image Resizer first, then compress it, or raise the target.
What quality should I pick?
For photos on a screen, 70 to 80 is hard to tell apart from the original for most images. Below 50 you will start to see blocky patches around edges and in the sky.
Does it keep the EXIF data such as location?
No. The image is redrawn from its pixels, so camera details and GPS location are not carried into the new file. Phone photos are turned upright first.