Skip to content

Compress Image to an Exact Size

Compresses a photo to fit a file size limit such as 20 KB, 50 KB or 100 KB, keeping it as sharp as that limit allows.

Your photos stay on this device

This tool runs entirely inside your web browser. Your photos are processed on your own device and are never sent to our servers. How this works

Target size

Quality is lowered first, and the image is only made smaller in pixels if that isn’t enough to fit.

Drag and drop images here

or

Compress Image to an Exact Size takes a photo and brings it under a file size limit you choose, such as 20 KB, 50 KB or 100 KB. It is built for upload forms that reject anything over their cap. The work happens in your browser, so passport photos, signatures and ID documents are never uploaded to anyone.

How to compress a photo to an exact size

  1. Pick your limit: tap a preset, or type any number of kilobytes in the Custom box.
  2. Leave the format as JPG unless the form insists on something else.
  3. Add your photos. Each one is compressed to fit, and the result shows the final size.
  4. Check the preview, then download. You can add several photos and download them together as a ZIP.

How it decides what to sacrifice

There are two ways to make a photo smaller: reduce the quality, or reduce the number of pixels. This tool tries quality first, searching for the highest setting that still fits your limit, because a slightly softer photo is usually more acceptable than a smaller one. Only when the lowest sensible quality is still too large does it reduce the dimensions, and it tells you when it did.

Typical limits on application forms

Always check the exact figure on the form itself, as limits differ between organisations and change between years.

If the form also specifies dimensions

Many forms ask for both, for example "200 × 230 pixels and under 50 KB". Set the dimensions first with theImage Resizer, or use the Image Cropper to frame a headshot correctly, and then compress here. In that order the pixel size stays exactly as required while the file size comes down.

Tips for a photo that passes

If you only want a photo to be generally smaller, without a specific figure to hit, theImage Compressor gives you a simple quality slider instead. For documents rather than photos, use Compress PDF.

Frequently asked questions

Why do forms demand an exact file size?

Exam boards, visa portals and job sites receive millions of uploads, so they cap each file to keep their servers manageable. The cap is usually strict: a photo one kilobyte over the limit is rejected outright.

Will my photo still look acceptable at 20 KB?

For a passport-style headshot, usually yes. The tool lowers quality first and only reduces the pixel size when that is not enough, because a slightly softer image reads better than a smaller one. Check the preview before uploading.

It says it could not reach my target. What now?

Choose JPG rather than PNG, since PNG has no quality setting and needs far more space for photos. If it still will not fit, the image is probably very large in pixels; crop it to just the face or subject first, then try again.

The form also wants exact dimensions, like 200 × 230 pixels.

Set the dimensions first with the Image Resizer or Image Cropper, then bring the file size down here. Doing it in that order means the pixel size stays exactly what the form asked for.

Is my photo uploaded anywhere?

No. Compression happens inside your browser, so passport photos, signatures and ID scans never leave your device. That matters here more than for most tools.

Last updated

Missing a feature, or need a tool we don’t have? Suggest it.