How to Compress an Image to 100 KB (or 50 KB, or 200 KB) Without Ruining It

Why image files get big, the order in which to shrink them, how JPEG, WebP and PNG differ, and how to hit a target size for forms and uploads.

By Utkarsh Garg · 2026-11-03 · 5 min read

Why forms ask for small images

Job portals, exam sites and government forms often limit uploads to 50 KB, 100 KB or 200 KB. A photo straight from a phone is usually 2 to 6 MB, so it needs to shrink by a factor of 20 or more. That is possible, but the order in which you shrink it matters.

What decides the file size

Three things set the size of an image file: how many pixels it has, which format it uses, and how hard it is compressed.

  • Pixels: a 4000 by 3000 photo has twelve million pixels. Halving both sides leaves a quarter of them.
  • Format: JPEG and WebP suit photos. PNG keeps every detail and is best for screenshots, logos and text.
  • Compression level: for JPEG and WebP, a lower quality number gives a smaller file and less detail.

How resizing changes the pixel count

The pixel count falls with the square of the scale, which is why resizing works so well. The table shows a 4000 by 3000 photo reduced step by step.

Pixels left after resizing a 4000 by 3000 photo
SizePixelsShare of the original
4000 x 300012,000,000100%
2000 x 15003,000,00025%
1000 x 750750,0006.25%
800 x 600480,0004%

A file does not shrink in exact proportion to its pixels, because compression depends on how detailed the picture is. Still, fewer pixels always give the compressor less to store, so the file gets smaller by a large margin.

The best order: resize, then compress

Most people drag the quality slider first and end up with a blurry image that is still too big. A better order is to reduce the pixel count first, then lower the quality only as much as needed.

A form that shows your photo at 600 pixels wide does not need 4000 pixels. Resizing to 800 or 1000 pixels often gets a photo under 200 KB with quality still around 80, which looks clean.

JPEG, WebP or PNG

For photos and people, choose JPEG if the site may be fussy about formats, or WebP for a smaller file at the same look. Choose PNG only when you need sharp edges or transparency, and expect a larger file.

If a PNG screenshot is far over the limit, converting it to JPEG usually cuts it by more than half. Transparent areas turn white in JPEG, which is fine for most forms.

Reaching an exact target

Type the limit into the target size box of the Image Compressor, Resizer and Cropper. The tool tries different qualities and keeps the highest one that fits. If the image is still too big at the lowest quality, it reduces the dimensions a little and tries again.

Aim a little below the limit, for example 180 KB for a 200 KB rule. Some upload systems count a kilobyte as 1000 bytes, and others as 1024.

Worked example: a 3 MB photo for a 100 KB limit

  • Start with a phone photo of 4000 by 3000 pixels and about 3 MB. The limit is 100 KB, so the file must shrink by about 30 times.
  • Set the target to 90 KB. This leaves room in case the site counts 1 KB as 1000 bytes, which makes 100 KB equal to 100,000 bytes, instead of 1024 bytes, which makes it 102,400.
  • Resize to 1000 pixels wide first. That gives 1000 by 750, which is 6.25 percent of the original pixels.
  • Choose JPEG and let the tool search for the best quality that fits under 90 KB.
  • Check the preview at full size. If faces or text look blocky, the quality was pushed too low, so resize a little smaller and run it again.

The exact result depends on the photo. A plain background compresses more than a crowded scene, so two photos of the same dimensions can differ a lot in size.

Limits in bytes and a safe target

Common upload limits
Stated limitIf 1 KB is 1000 bytesIf 1 KB is 1024 bytesSuggested target
50 KB50,00051,20045 KB
100 KB100,000102,40090 KB
200 KB200,000204,800180 KB

Passport and ID photos

These usually need a fixed shape, such as 35 by 45 millimetres, and a small file. Pick the 35:45 crop shape, drag the area so the face is centred, then set the target size. Always check the rules of the specific form, because some also require a minimum size in pixels.

Quality, privacy and metadata

Below roughly quality 50, JPEG shows blocky patches and banding around edges, so stop before that and resize more instead. Processing happens in your browser, so the photo is not uploaded. The result also drops camera details such as GPS location, which is a useful side effect when you share photos.

Common mistakes and how to spot them

  • Renaming a PNG to .jpg does not change its format. The file stays large and some sites reject it. Convert it properly.
  • Compressing the same JPEG again and again adds blur each time. Always start again from the original photo.
  • Enlarging a small image to reach a minimum pixel size adds no detail. Use the original or a larger source.
  • Cropping after compressing can change the size. Crop first, then set the target size.
  • An upload that still fails may be checking dimensions or a specific format, not only the size in kilobytes. Read the form rules again.

Frequently asked questions

  • How do I reduce an image to 100 KB without losing quality? Some loss is unavoidable, but resizing first and keeping quality near 70 to 80 gives a clean look. Avoid dropping the quality slider alone.
  • Is KB the same as MB? No. One MB is about 1000 KB, so a 2 MB image must shrink by about twenty times for a 100 KB limit.
  • Which format gives the smallest file for a photo? WebP is usually smaller than JPEG at similar looks, but many forms accept only JPEG, so check the rules first.
  • Why does the file get bigger after I resize it? Resizing to a larger size or saving as PNG can increase the file. Reduce the dimensions and use JPEG.
  • Does compressing remove my location data? The saved result drops camera details such as GPS, since the image is redrawn in the browser.