Compress Image to a Target File Size
Choose the file size you need and the tool finds the best quality that fits under it.
- Runs in your browser
- No sign-up
- No watermark
Many forms, portals and email systems reject images over a size limit. Compress Image to Size lets you type the limit, in KB or MB, and then searches for the highest quality setting that still produces a file under it. If lowering quality is not enough, it can also scale the picture down a little.
The result is saved as JPG or WebP. A PNG you upload is converted, so transparent areas become white in JPG. The tool tells you the quality it used and whether it resized the picture. If the target cannot be reached, it says so instead of giving you a bad file.
How to use Compress Image to Size
- Choose one or more images, or drop them onto the box.
- Enter the target size and pick KB or MB.
- Choose JPG or WebP, and leave Reduce picture size ticked if you need a very small file.
- Select Compress, check the size of each result and download them, or a ZIP.
Frequently asked questions
Are my images uploaded?
No. The work is done in your browser and the images never leave your device.
Will the file be exactly the target size?
No. It will be at or just under the target. The tool picks the highest quality that fits, so the result is usually close to the limit.
What if the image is already smaller?
If it is under the target and already in the chosen format, the tool keeps your original unchanged.
Why did it say the target cannot be reached?
Very small targets on large pictures need more shrinking than is sensible. Tick Reduce picture size, raise the target, or resize the image first.
Does it reduce the dimensions?
Only when the option is ticked and lowering quality alone is not enough. The result line tells you if it did.
JPG or WebP?
WebP is usually smaller for the same quality, but some forms only accept JPG. Check what the upload form allows.
What happens to PNG transparency?
JPG has no transparency, so transparent areas become white. WebP keeps transparency in most cases.