Compress an Image to the Exact KB You Need

Type the largest file size your form allows, add your image, and download a file at or under that size. The tool searches for the best quality that still fits.

Choose images or drop them here
JPG, PNG, WebP or GIF. Add as many as you like.
Your images stay on your device.

This tool works entirely in your browser. Nothing is uploaded to our servers, so your photos never leave your device.

How it works

  1. Set the maximum size

    Type a size in KB, or tap a quick size like 20, 50 or 100 KB.

  2. Add your image

    Choose a file from your phone or computer. You can add several at once.

  3. Download

    Each result shows its new size. Download it directly or as a ZIP.

How size targeting works

It finds the best quality that fits

A JPG file gets smaller as you lower its quality. Instead of guessing, the tool tries several quality levels and keeps the highest one that stays under your limit. That gives you the sharpest picture that still passes.

When the picture is also made smaller

Some photos are so large that even the lowest quality is over your limit. If you have not set a fixed pixel size, the tool then reduces the picture's dimensions step by step until it fits. If you do set a pixel size, the dimensions never change and only quality is adjusted.

Which size to choose

Forms usually state a range, for example 20 to 50 KB. Aim for the upper half of the range so the image stays clear. Many portals also count one KB as 1,000 bytes while Windows counts 1,024, so this tool stays under your limit using the stricter count.

Why a file might not reach the size

A very detailed or very large photo may not shrink below a small limit without becoming unreadable. If the result is still too big, the tool tells you the smallest it reached. Try a plainer photo, a tighter crop, or a different background. A file can also come out under a form's minimum; use a higher-resolution source in that case.

Why JPG is the default format

JPG is accepted by almost every government and job portal. WebP can be smaller but many forms reject it, so it is offered only as an option. PNG is not offered here because it cannot be shrunk by lowering quality.

Why use this tool

Exact size, not a guess

You set the ceiling in KB and the tool fits the file under it.

Private

Your image is processed in your browser and is never uploaded.

Optional exact pixels

Set a width and height when a form needs both size and dimensions.

Batch friendly

Add several images and download them together as a ZIP.

Frequently asked questions

Is my image uploaded?

No. Everything runs in your browser, so the image stays on your device.

Can I compress to 20 KB?

Yes. Enter 20 or tap the 20 KB chip. Very large or detailed photos may need their pixel size reduced, which the tool does automatically if you have not fixed the pixels.

Why is my result smaller than my limit?

The tool stops at the best quality it can reach. A simple image can already be under your limit at high quality, so it is not made smaller than needed.

My result is still over the limit. What now?

Use a plainer or smaller original, crop closer to the subject, or lower the pixel size you set. The message under the result shows the smallest size reached.

Does it work on a phone?

Yes, in a current mobile browser. See our guide on reducing photo size on mobile.

Which formats can I add?

JPG, PNG, WebP and GIF. GIFs become a single still image. The output is JPG or WebP.