Everyday Tools

Compress Image to KB

Compress a photo to an exact size such as 20 KB, 50 KB, 100 KB or 200 KB for online forms, with optional pixel size and minimum. Nothing is uploaded.

Drop photos here
or choose images · JPG, PNG, WebP, AVIF, GIF, BMP

Photos are compressed on your device and never uploaded.

Maximum file size

The limit is counted the strict way: a maximum treats 1 KB as 1,000 bytes and a minimum as 1,024 bytes, so upload forms accept the file whichever way they count.

To compress an image to a specific size in KB, pick the limit above, such as 20 KB or 50 KB, or type your own, then drop the photo in. The tool finds the highest quality that still fits under the limit and shows the exact size of the result. Press the download button next to the image when it is ready.

Made for upload forms

Exam portals, job applications, passport and visa forms and government services often say something like "photo under 50 KB" or "signature between 10 KB and 20 KB", sometimes with a required size in pixels. A phone photo is usually 2 to 5 MB, a hundred times too big. This tool is built around those rules: a maximum size, an optional minimum size, and an optional exact width and height.

How the size is reached

JPG quality can be set anywhere from very low to very high, and file size rises with it. The tool tries quality levels in a binary search and keeps the highest one that fits, so you never get a photo that is smaller and blurrier than it needs to be. If even a low quality setting is too big, the photo is scaled down a step at a time and the search runs again. The result line tells you the final size in bytes, the pixel size and the quality used.

KB can mean 1,000 or 1,024 bytes

Some websites count 1 KB as 1,000 bytes and others as 1,024, and they rarely say which. A 20 KB limit could therefore mean 20,000 or 20,480 bytes. To be safe either way, the tool keeps files at or under the smaller number for a maximum, and at or over the larger number for a minimum. A file made for a 20 KB limit is at most 20,000 bytes, so both kinds of checker accept it.

When a form asks for a minimum size too

Forms that say "between 10 KB and 20 KB" reject files that are too small, and a small photo at a fixed pixel size can easily come out at 6 or 7 KB. Enter the minimum and the tool pads a JPG up to it by adding a comment block inside the file. Image viewers ignore that block, so the picture is unchanged and the file is accepted.

Exact pixel sizes

Choose Exact width × height when the form names a size in pixels, for example 200 × 230 for a signature or 600 × 600 for a photo. The image is scaled to fill that size and centred, and any part that doesn't fit the shape is cropped from the edges, so nothing is stretched. If the shape of your photo is very different, crop it first with the Image Resizer so you choose what is kept.

Common sizes

Typical requestLimit to pick
Signature scan10 to 20 KB, often with a minimum
Passport-style photo for an exam or job form20 to 50 KB
ID card or certificate photo100 to 200 KB
General document upload200 KB to 1 MB

Always check the exact numbers in the form's own instructions; they differ from one site to the next.

Your photos stay on your device

Compression runs in your browser and photos are never uploaded, which matters for ID photos and signatures. When a photo is re-saved, its location and camera details aren't copied into the new file.

For general web images where you choose the quality yourself, use the Image Compressor. To change a format, such as WebP to JPG, use the Image Converter, and for a PDF that is over a size limit, use Compress PDF.

Frequently Asked Questions

How do I compress an image to 20 KB?
Choose 20 KB, drop the photo in, and download the result. The tool keeps the highest quality that fits and shrinks the pixel size only if it has to.
How do I reduce a photo to 50 KB for an online form?
Pick 50 KB, keep JPG selected, and add the photo. If the form also gives a size in pixels, choose Exact width × height and enter it before adding the photo.
My form says the file must be between 10 KB and 20 KB. What do I do?
Set the maximum to 20 KB and type 10 in Minimum size. If the photo comes out smaller than 10 KB, a JPG is padded up to the minimum without changing the picture.
Why is my result 19.6 KB instead of exactly 20 KB?
The tool keeps the file under the limit, counting 1 KB as 1,000 bytes so that every kind of form accepts it. The highest quality that fits usually lands just under the limit.
Can I compress several photos at once?
Yes. Add as many images as you like; each is compressed to the same limit, and Download all saves them in a ZIP.
Are my photos uploaded?
No. Photos are compressed in your browser and never leave your device.