When you need a file under a specific size
Upload forms, email systems, forums and content management systems often reject images above a fixed limit such as 100 KB or 200 KB. Generic “make it smaller” tools don’t know your limit; this one does. It aims for the largest, highest-quality file that is still under the number you choose.
- Web forms with a hard upload limit (100 KB and 200 KB are common).
- Email attachments and newsletters where small images load faster.
- Avatars, thumbnails and forum posts (50 KB is often plenty).
- Shrinking a large phone photo to a few hundred KB for sharing.
How the target-size compression works
- Your browser decodes the image (EXIF orientation is applied, metadata is not carried over).
- For JPG output we search for the highest encoder quality between 60% and 95% that fits under your target.
- If even 60% quality is too large, we reduce the pixel dimensions just enough to fit at 60%. Below about 60%, JPG shows blocky artefacts, so a slightly smaller, clean image is the better trade. Only for very small targets does quality go lower, never below 30%.
- The search stops after a fixed number of attempts or about 20 seconds, so a phone never locks up. If the target was not reached, you get the closest result and an honest warning.
Private by design
This site is static files only. There is no server that receives images, no account, and no cookies. The compression code runs in your tab, and the result is created as a local download link that is released when you leave the page.
Frequently asked questions
Is my image uploaded to a server?
No. The image is read into your browser’s memory, compressed with the browser’s own canvas encoder, and handed back to you as a download. There is no upload endpoint at all. You can check this yourself in your browser’s developer tools (Network tab) — the privacy page shows how.
Which formats can I compress?
JPG/JPEG and PNG. For iPhone HEIC photos, use the HEIC to JPG converter first (it can also compress to a target size). WebP and AVIF support is planned.
Can I choose a size that isn’t in the list?
Yes. Choose “Custom” and type any value from 10 to 5000 KB.
What if the image can’t get under the target?
You’ll see the closest size we managed and a clear message that the target was not reached. We never label a file as “done” when it is over the limit. Larger targets, JPG output or a smaller source image usually solve it.
Why did my PNG get smaller in pixels instead of quality?
PNG is a lossless format, so there is no quality setting to lower. To reach a size limit we reduce pixel dimensions. If you can accept JPG, switch the output format: JPG gets much smaller at the same dimensions, but transparent areas turn white.



