Compress image to a target size
Pick a size in KB — 50, 100, 200 or your own — and get the closest possible file, right on your device.
Drag an image here or tap to browse
JPG, PNG, WebP, HEIC · free · your image stays on your device
How it works
- Drop your image. Drag a photo into the area or tap to pick one — JPG, PNG, WebP or HEIC. It stays on your device.
- Set your target size. Choose a preset (50, 100, 200 or 500 KB) or type any KB value, and pick JPEG or WebP as the output format.
- Compress & download. The tool searches for the highest quality that fits under your limit and shows the exact result size before you download.
Upload forms rarely care how good your photo looks — they care that it is under 100 KB, under 200 KB, or whatever the limit says. Guessing an export quality and re-exporting until the file fits is tedious. This tool does the guessing for you: give it a target size in KB and it finds the highest JPEG or WebP quality that stays below it.
Typical uses: profile pictures and CVs for application portals (often 50–200 KB), email attachments that must stay small, forum avatars, web images with a strict performance budget, or listing photos for marketplaces with fixed upload limits.
Everything runs locally in your browser — no upload, no queue, no watermark, full resolution. HEIC photos straight from an iPhone work too: they are decoded on your device and re-encoded as JPEG or WebP at your target size.
Frequently asked questions
How do I compress an image to exactly 50 KB or 100 KB?
Type the target (for example 50 or 100 KB) or tap a preset, then hit Compress. The tool runs a binary search over the encoder quality and returns the largest file that still fits under your limit — usually just below the target, at the best possible quality.
My email or upload form has a 200 KB limit. Will the result really fit?
Yes — the result shown is the actual encoded file, and its size is displayed before you download. If it says 193 KB, the file you save is 193 KB. That makes it safe for email attachments, application portals and other hard upload limits.
What if my target size is impossible to reach?
For very small targets on large or detailed images, even the lowest quality setting can be too big. In that case the tool shows "Smallest possible: X KB" so you know the best it can do — you can then downscale the image first (for example with the crop or resize tools in the editor) and try again.
Should I choose JPEG or WebP?
WebP usually reaches the same visual quality at a smaller size, so it hits tight KB targets with fewer artifacts. Choose JPEG when the receiving site or app only accepts .jpg files. Note that JPEG has no transparency — transparent areas are flattened.
Is my photo uploaded to a server?
No. Decoding, the quality search and the encoding all run locally in your browser. Your image never leaves your device, and the tool is free with no sign-up.
More tools
Every tool runs right in your browser — free, no sign-up, no watermarks. Your images never leave your device.