How to compress an image to an exact size
- Choose, drop or paste one or more images – JPG, PNG, WebP or iPhone HEIC.
- Pick a target size (20, 50, 100, 200 or 500 KB) or type the limit your form gives.
- Optional: enter a maximum width or height if the form asks for one.
- Download the file, or all files as one ZIP. On a phone you can also tap Share to send them straight to email or a chat.
How it gets just under your limit
The tool first tries the best JPEG quality. If the file is too big, it searches for the highest quality that still fits. Only if the quality would get visibly poor does it reduce the pixel size a little and search again. Every result is checked by its real file size, so a "50 KB" file is never 50.4 KB.
Sizes use 1 KB = 1000 bytes. A file under 50 KB here is also under 50 KB on websites that count 1 KB as 1024 bytes.
Good to know
- PNG screenshots are turned into JPG (or WebP), which is usually 5–10 times smaller. Transparent areas become white.
- WebP files are smaller at the same quality, but some older upload forms only accept JPG. If in doubt, use JPG.
- Privacy bonus: the new file has no hidden details – no GPS location, camera model or date taken.
Questions
Are my images uploaded to a server?
No. The images are compressed by your own browser on your phone or computer. You can turn on airplane mode after the page loads and it still works.
Why is my file a little smaller than the target?
JPEG quality comes in steps, so the tool picks the highest step that stays under your limit. The file is usually within a few percent of the target.
Can I compress many photos at once?
Yes. Add as many as you like. They are processed one after another and you can download them together as a ZIP file.
Is there a file size or number limit?
No limit is set by us. Very large photos (over about 12 megapixels) are reduced to a safe working size first, which is still far bigger than any upload form needs.
Is it free?
Yes, free with no watermark and no sign-up.