Compress an image
Name the file size you need and let the tool try qualities until it lands under it. Or turn the slider yourself.
How to use it
Drop the image in
Drag it over or click to choose. The work happens inside your browser; the file is never uploaded anywhere.
Name the target
Say “under 100 KB” and the tool tries qualities until it finds the best fit. Or leave the target free and turn the quality slider yourself.
Check it by eye
Before and after, side by side. The saving line tells you how much smaller it got. If the difference bothers you, loosen the target a little.
How the target size is found
No formula, only measurement
There is no calculable relationship between a quality setting and a file size — at the same quality a photo of the sky comes out small and a crowded street scene comes out large. The only way is to try.
Binary search
The tool halves the quality range: if it fits, it goes up; if it does not, it goes down. In eight tries it finds the highest quality that still lands under the target.
Sometimes it cannot be done
You cannot get a 4000-pixel photograph down to 50 KB; even the lowest quality is not enough. When that happens the tool says so instead of staying quiet — the fix is to reduce the dimensions (Resize Image).
Which quality value
Print and archive
Almost nothing is thrown away and the file stays large. Stay in this range for images that will be edited again later.
The default range
Web, sharing, email attachments. On most photographs the difference is invisible.
Hard limit
For when the file simply must get under a ceiling. Blotching starts to show in flat areas — sky, walls.
Worth knowing
PNG has no quality setting
PNG is lossless: since it throws nothing away, there is no “squeeze it a bit more”. If you genuinely need a photograph to get smaller, switch the format to JPG or WebP — the loss is invisible and the saving is large.
WebP is smaller at the same quality
At equal visual quality WebP takes clearly less space than JPG, and it carries transparency too. The right choice for a website; for email and older systems JPG is still the safer one.
Compression cannot be undone
Detail that is dropped does not come back. Compressing an already compressed file over and over piles up marks — always start from the original.
Common questions
My image will not fit in an email
Set the target to 2 MB (safe for Gmail), or a little under whatever your system allows. If you are sending several images, remember the total counts.
How much quality is lost?
You see it directly in the “After” frame on the right — no guessing needed. Zoom in and look at flat areas and hard edges; that is where it shows first.
Do EXIF and location data survive?
They do not. Re-encoding in the browser drops the metadata. If that is your actual goal, Remove EXIF Data is the better route: there you first see what is in the file, then strip it without re-compressing the picture.
Should I reduce the dimensions as well?
Usually yes — you would never display a 4000-pixel photograph larger than about 1600 pixels on the web. Setting “longest edge” to 1600 buys you more than lowering the quality, and it shows less.
2.1 MB