Compress an Image to a Specific Size in KB
Upload forms often say the photo must be under 100 KB. Enter your limit and this tool finds the best quality that stays below it, and only shrinks the picture itself when lowering the quality is not enough.
Features
- Set any limit from 1 KB, or pick 20, 50, 100, 200, 500 KB or 1 MB
- Searches for the highest quality that still fits
- Shrinks the dimensions only when it has to, and tells you when it did
- Says plainly when a limit cannot be reached
- Runs on your device, so the image is never uploaded
How to use Image to Exact Size
- Choose or drop an image.
- Enter the maximum size in KB.
- Check the size, quality and preview that come back.
- Download the image.
Frequently asked questions
Does the file come out at exactly the size I enter?
No. JPG and WebP are lossy, so the size cannot be set to the byte. The tool gives you the best-quality file just below your limit, usually within a few percent of it.
What if my image cannot be made small enough?
The tool first lowers the quality, then reduces the dimensions. If the limit is still out of reach it shows the smallest result it could make and tells you to choose a higher limit, instead of handing you a file that is too big.
Why is the result a JPG or WebP and not a PNG?
PNG is lossless, so there is no quality setting to adjust and the size cannot be steered. Choose JPG for the widest support, or WebP when the form accepts it. Transparent areas become white in a JPG.
Is 1 KB 1,000 or 1,024 bytes?
This tool counts 1 KB as 1,024 bytes, as most operating systems do. If a form seems to count 1,000, enter a slightly lower limit, for example 95 instead of 100.