Compress Image to a Specific Size (KB or MB)

Set a maximum size and the tool lowers the quality, and shrinks the dimensions only if it has to, until the picture fits. It is handy for exam portals, visa forms and job applications. Images are processed in your browser.

Compress an image to a target size

How to compress an image to a target size

  1. Choose one or more images (JPG, PNG, WebP and other formats your browser can open).
  2. Type the maximum size, or tap a preset such as 50 KB. Use the unit box for KB or MB.
  3. Pick JPG for the widest compatibility, or WebP for smaller files where it is accepted.
  4. Press Compress images. Each result shows its final size and has a download button.

How the tool reaches your target size

It saves the picture at high quality first. If that is already under your limit, you get it. If not, it searches for the highest quality setting that fits. If even very low quality is too big, it reduces the width and height by about 20% and tries again. The result is at or just under your target, not exactly equal to it.

Compress an image to 20 KB, 50 KB, 100 KB or 200 KB for forms

Government, exam and job portals often cap photos and signatures somewhere between 20 and 200 KB. Check the portal's rules for the format as well. If it also demands exact dimensions such as 200 × 230 pixels, resize first with the image resizer and then compress here.

If the result looks blurry

A very small target on a large photo forces heavy compression. For a sharper result, crop away empty space, resize to the dimensions you really need, or accept a slightly larger target. Signatures on white paper usually compress well.

JPG or WebP output

JPG works everywhere. WebP is usually smaller, but some portals reject it, so pick JPG when unsure. PNG is not offered because its size cannot be tuned with a quality setting. Transparent areas become white in the saved picture.

Frequently asked questions

How do I compress a photo to 100 KB?

Choose the photo, tap 100 KB, pick JPG and press Compress images. Download the result and check that it looks acceptable.

How do I reduce an image to 20 KB for a signature?

Tap 20 KB. If the text looks soft, crop the signature closely first, since less empty space means fewer pixels to compress.

Can it compress to exactly 50 KB?

It aims for the largest file that is no bigger than 50 KB, so the result may be a little under. It will not go over.

Why could the tool not reach my target?

Extremely small targets on detailed images can be out of reach. Try a larger target or a smaller original image.

Are my images uploaded?

No. They are processed in your browser with built-in canvas features.

More free tools