Compress an image to an exact size in KB

Choose a target size; the tool brings your photo just under it while keeping the quality as high as possible. Your photos never leave your device.

Local processing · 0 bytes uploadedUnlimited filesWorks offline

Drop your images here

or paste with Ctrl + V · JPG, PNG, WebP, AVIF, GIF
Target size
File type
Location and camera data (EXIF) are removed automatically.

Why does a photo need to be under a certain size?

Online application forms, some official websites and email services set an upper limit on uploads: “maximum 50 KB”, “must not exceed 100 KB” and so on. A photo taken with a phone, on the other hand, is usually several megabytes. This tool brings your photo under the required limit in one click.

How it works

First the photo’s quality is adjusted step by step to find the best-looking result closest to the limit. If lowering the quality is not enough and “Shrink the dimensions if needed” is on, the width and height are reduced together, so the image is never stretched or distorted. Turn that setting off and the dimensions stay exactly the same; only the quality changes.

You can add as many photos as you like. Each one is compressed separately, and you can download them all as a single ZIP file.

Which target should I choose?

Target Commonly used for Looks
20 KB Forms with very small limits, signature and ID photo fields Small but recognisable
50 KB Online applications, profile pictures Good on screen
100 KB Email attachments, photos of documents Good
200 KB Websites and blogs Very good
500 KB Sharing and presentations Close to the original

Always check the limit in the form’s own instructions; some forms ask for specific pixel dimensions as well as a file size.

JPG or WebP?

JPG opens everywhere and is the safest choice for forms and applications. WebP usually looks sharper at the same file size and is ideal for websites, but some older systems may not accept it. If in doubt, choose JPG.

Tip for better results

If the photo has empty space around the subject, crop it first. When the same file size is spent on a smaller area, faces and text stay much sharper. Our aspect ratio tool can help with that.

Frequently asked questions

Are my photos uploaded to a server?

No. Compression happens entirely on your device, inside your browser. Once the page has loaded, the tool keeps working even if you turn off your internet connection.

Why is the result slightly smaller than exactly 100 KB?

Some sites count 1 KB as 1,000 bytes, others as 1,024. For a 100 KB target the tool makes the file at most 100,000 bytes, so it is under the limit by either definition and upload forms won’t reject it as “too large”.

The quality dropped too much. What can I do?

Choose a larger target or switch the file type to WebP, which usually looks better at the same size. Cropping away empty edges first also helps, because the same file size is spent on a smaller area.

Is the location data removed too?

Yes. Because the photo is re-created, its location (GPS) and camera data (EXIF) are not copied into the new file. The orientation is kept, so the photo won’t end up sideways.

Related tools