What can we help you find?

Compression

How to compress an image to 100 KB, 50 KB or 20 KB

A step-by-step way to reduce image size in KB for upload forms: set a target, choose a sensible width and format, and check the final bytes.

Piko inspecting large and small matching photo frames beside a ruler

Job portals, exam applications, government forms and marketplaces often reject a photo that is a few kilobytes too large. The fastest way to meet a limit such as 100 KB, 50 KB or 20 KB is not to keep lowering quality blindly. Combine three controls: pixel dimensions, output format and a file-size target.

The useful takeaway

Set a sensible maximum width first, then enter the KB target. JPEG reaches small limits most easily. Always check the downloaded file size against the exact limit of the receiving website.

Why upload forms ask for a KB limit

A form that receives thousands of photos has to control storage and page speed, so it sets a maximum file size. The form does not care how good the photo looked on your phone; it only checks the bytes. A modern phone photo is often 2 to 5 MB, which is 20 to 50 times larger than a 100 KB limit.

Most of that size comes from pixels. A 12-megapixel photo contains around 4000 × 3000 pixels, while a profile or ID-style photo on a form is usually shown at a few hundred pixels wide. Reducing dimensions removes pixels nobody will see, which saves far more bytes than quality changes alone.

Step by step: compress an image to 100 KB

You can do this in PikoZip without uploading the photo to a server. The image is processed in your browser.

  • Open the Compress to 100 KB tool and add your image, or up to 30 images at once.
  • Open Customize and set a maximum width that suits the form, for example 1200 pixels for a 100 KB limit.
  • Enter 100 in the Target file size field. Use 50 or 20 for stricter limits.
  • Let PikoZip search lower quality settings until the file fits.
  • Open Compare to check faces, text and edges, then download the result.
  • Check the downloaded file size in your file manager before you upload it.

A practical starting point for each target

These widths are starting points for typical photographs, not guarantees. A detailed landscape needs more bytes than a plain portrait against a light wall. If the target is not reached, lower the width a step and try again.

Target sizeSuggested maximum widthFormatWhat to expect
200 KB1600 to 2000 pxJPEG or WebPUsually comfortable for photos
100 KB1000 to 1400 pxJPEG or WebPGood for most profile and form photos
50 KB600 to 900 pxJPEGCheck faces and small text closely
20 KB300 to 600 pxJPEGSome softening is normal; crop tightly first

Choose JPEG for small photo limits

JPEG is accepted almost everywhere and reaches small sizes efficiently for photographs. WebP can be smaller still, but many official forms only accept JPG or JPEG. PNG is a poor choice for a 20 KB or 50 KB photo limit because it is designed for exact graphics, not compact photographs.

If your source is a PNG screenshot or an iPhone HEIC photo, convert it to JPEG while compressing. A transparent PNG becomes a white background in JPEG, which is usually what a form expects anyway.

What to do when the target is not reached

A target is a goal, not a promise. Every image needs a minimum number of bytes to describe its pixels, so a large photo can stay above 20 KB even at low quality. When PikoZip reports that the target was not reached, reduce the maximum width rather than forcing quality lower. Cropping away background around a face also helps, because fewer pixels need to be stored.

If the form also requires exact dimensions, such as 600 × 600 pixels, crop the photo to that shape in an editor first, then compress it to the KB target.

KB, KiB and the limit on the form

Websites do not always measure kilobytes the same way. Some treat 100 KB as 100,000 bytes, others as 102,400 bytes. File managers may also round the number they display. To avoid a surprise rejection, aim a little below the stated limit, for example 95 KB for a 100 KB form.

About this article

Written by the PikoZip team for the current image-tool release. Features and limits described here apply to the available web tools. Updated .

Make the next export a deliberate one.

Choose a representative image, check the actual result and keep your source master.

Compress an image to a KB target