Compress an Image to Between 20 KB and 50 KB

For forms that reject files that are too small as well as too big: a JPG between 20 and 50 KB, at the pixel size you need.

Choose images or drop them hereJPG, PNG, WebP, AVIF, GIF or BMP, one or many. Compressed on your device, never uploaded.

The maximum counts 1 KB as 1,000 bytes and the minimum as 1,024, so the file passes sites that count either way.

Keeps the proportions and never enlarges.

This page opens with a minimum of 20 KB and a maximum of 50 KB, the output as JPG, and Maximum size at 600 × 600 pixels. Every file comes out between the two.

How the tool hits a range

Hitting a maximum is a search for the highest quality that still fits. A minimum works the other way: when the best result under 50 KB is smaller than 20 KB, the tool raises the JPG quality until the file is large enough, and stops before it goes over the maximum. A small, plain picture, such as a passport-style photo against a white wall, often lands around 15 KB at quality 92, which is why a form’s minimum can reject it.

The two limits are counted differently on purpose. The maximum uses 1,000 bytes per KB, so 50 KB means at most 50,000 bytes; the minimum uses 1,024, so 20 KB means at least 20,480 bytes. A file between those passes a form whichever way it counts.

When the minimum can’t be reached

A JPG at quality 100 is as big as a picture of that size can get without padding the file with empty data, which this tool doesn’t do. If the row says the file is still under the minimum, give the picture more pixels: raise Maximum size or choose the form’s exact dimensions under Custom width × height. Starting from the camera original also helps, because a copy that was compressed before has already lost the detail that fills the bytes.

Before you upload

Check the face or signature in the compare view at 100%, and make sure the dimensions in the row match what the form asks. The file is named after your original with “-compressed” added, and its location and camera data are removed.

The settings on this page

ModeTarget size: under 50 KB (50,000 bytes)
MinimumAt least 20 KB (20,480 bytes)
FormatJPG
Maximum size600 × 600 px
MetadataRemoved (EXIF, GPS location)

Every setting can be changed in the tool above; the page only chooses where it starts.

Image CompressorSomeone shared their result

Suggested