Compress Image to Size
Compress an image to a specific file size — say “under 100 KB” for a form upload or “under 2 MB” for an email. Enter your target and the tool finds the best quality that fits, right in your browser.
How to compress an image to a target size
- Drop in a JPG, PNG, or WebP image.
- Enter your target file size and pick KB or MB.
- Choose an output format — JPG for compatibility, WebP for smaller files.
- Click Compress to target and download the result.
How it hits the target
The tool searches for the highest image quality that still fits under your target size. If your target is smaller than the lowest quality can reach at full resolution, it automatically reduces the dimensions and tries again — so it gets as close to your limit as possible while keeping the image as sharp as it can.
Common size limits
Upload forms and portals often cap images at 100 KB, 200 KB, 500 KB, 1 MB, or 2 MB. Passport and visa photo uploads, job-application portals, and government forms are the usual reasons people need an exact ceiling — this tool is built for exactly that.
Frequently asked questions
Can I compress an image to exactly 100 KB?
The tool gets the file as close to your target as possible without going over. It finds the best quality that stays under 100 KB, so the result will be at or just below your limit.
What if my target size is very small?
If even the lowest quality at full resolution is larger than your target, the tool automatically shrinks the image dimensions until it fits, and tells you the smallest size it could reach.
Which format should I choose?
JPG is the most widely accepted for uploads. WebP produces smaller files at the same quality, so choose it if the destination accepts WebP.
Is my image uploaded?
No. All compression happens in your browser — your image never leaves your device.