# Compress an Image to a Specific Size (20KB, 50KB, 100KB)

To hit a size limit like 20KB, 50KB or 100KB, reduce the pixel dimensions first, then lower JPEG quality until the file is just under the limit. Doing it in the browser means the photo never leaves your device.

## Why upload forms have size limits

Exam portals, visa sites and government forms often cap uploads at 20KB, 50KB or 100KB so their servers stay fast. A modern phone photo is 2–6MB, so it has to shrink by 20 to 300 times.

## The method that works

File size depends on two things: how many pixels the image has, and how hard it is compressed. Lowering quality alone quickly makes faces blotchy, so shrink the dimensions first (for example to 600 pixels wide for a passport-style photo), then reduce quality in steps until the file is under the limit.

Save as JPEG for photos. PNG is lossless and rarely gets small enough. For a signature on a white background, a small grayscale JPEG is usually enough.

## Common mistakes

Cropping after compressing re-encodes the image and can push it back over the limit, so crop first. Renaming a PNG to .jpg does not convert it. And check the form's required dimensions as well as the size; some portals reject images by pixel size, not just kilobytes.

## Privacy

Identity photos and signatures are sensitive. The tools linked below run in your browser, so the file is processed on your device rather than uploaded to a server.

## FAQ

### Why is my image still too big after compressing?

Large pixel dimensions keep the file big. Resize the image smaller first, then compress.

### Which format should I use?

JPEG for photos and signatures. It compresses far better than PNG for photographic content.

Page: https://handytoolonline.com/blog/how-to-compress-an-image-to-a-specific-size/
Last reviewed: 22 November 2026
