How to Compress an Image to 100KB (or 50KB, 20KB)

By the FileTools team · Updated October 27, 2026 · 4 min read

Scholarship portals, visa applications, exam registrations and job sites love file-size limits: "upload a photo smaller than 100KB", "signature under 20KB". Your phone camera produces files of 2-6 MB, which is 20-60 times too large. This guide shows how to compress an image to 100KB, 50KB, 20KB or any other limit without ruining it.

The fast way: let a tool find the right quality

Open the compress image to exact KB tool, upload your picture, choose 20, 50, 100, 200 or 500 KB (or type a custom size) and download the result. The tool tests different JPG quality levels until it finds the highest one that still fits under your limit, and shrinks the pixel dimensions slightly if that is not enough. It runs in your browser, so your ID photo is never uploaded.

What determines a file's size?

  1. Pixel dimensions. A 4000 x 3000 photo has 12 million pixels; a 600 x 600 one has 360 thousand.
  2. Compression quality. Lower JPG quality means smaller files, with diminishing visual cost down to about 70%.
  3. Image content. Plain backgrounds and soft areas compress far better than fine texture or noise.
  4. Format. Photos are much smaller as JPG than as PNG. See PNG vs JPG vs WebP.

Typical sizes for common documents

DocumentCommon pixel sizeCommon limit
Passport-style photo 35 x 45 mm413 x 531 px (300 dpi)20-100 KB
Square ID photo 2 x 2 inch600 x 600 pxUp to 240 KB (varies)
Signatureabout 300 x 100 px10-50 KB
Profile picture400 x 400 px100-200 KB

Always follow the exact numbers the form gives you; these are only common examples.

Step-by-step

  1. Crop the picture to the required shape first (a plain background helps).
  2. If the form gives pixel dimensions, resize to them with the image resizer.
  3. Run the picture through the exact-size compressor with the limit set to the form's maximum.
  4. Check the result looks sharp at 100% zoom and that the file is under the limit.

Tips when the file is still too big

What if the form wants a minimum size too?

Some portals require between, say, 20 KB and 100 KB. If your compressed file ends up too small, choose a higher target (for example 90 KB) so the tool keeps more quality.

How a tool finds the right quality for a target size

There is no formula that tells you which JPG quality will produce exactly 100 KB for a particular picture, because the result depends on what is in the image. The reliable approach is a search: try a quality in the middle of the range, check the resulting size, then move the quality up or down and try again. After several rounds the tool converges on the highest quality that still fits. If even the lowest sensible quality is too large, it shrinks the pixel dimensions and starts over. That is what the exact-size compressor does for you in a second or two.

Worked example: a 4 MB photo to under 100 KB

  1. Start with a 4032 x 3024 phone photo of 4 MB.
  2. Crop to a head-and-shoulders portrait and resize to 600 x 600 pixels with the image resizer. This alone usually brings the file to a few hundred kilobytes.
  3. Run it through the compressor with a 100 KB target. The quality settles somewhere around 70-85%.
  4. Check the result: the face should be sharp and the background smooth. The file lands just below 100 KB.

Troubleshooting

Thin lines in a signature look broken

Photograph the signature on white paper with strong, even light and crop tightly. Dark pen on a white background compresses cleanly, even at 20 KB. Avoid shadows and paper texture.

The text in a document photo is blurry

A small file size and small pixel dimensions cannot hold fine print. Increase the target size if the form allows it, or send a PDF instead; see how to reduce PDF file size.

The portal still says the file is invalid

Check the extension (.jpg versus .jpeg), remove special characters from the file name, and look for a minimum size or exact pixel dimensions in the instructions. Some portals also reject files saved as PNG even if the extension is changed manually.

Frequently asked questions

Will the photo look worse?

At 100 KB and sensible dimensions, a head-and-shoulders photo still looks clear. At 20 KB it is noticeably softer, which is why small limits go with small pixel sizes.

Can I compress a PDF to a certain size too?

Yes. See how to reduce PDF file size.

Ready to try it?

The tool runs in your browser. No upload, no sign-up, no limits.

Compress an image to an exact size

Related guides

Images

PNG vs JPG vs WebP: Which Image Format Should You Use?

Not sure whether to save an image as PNG, JPG or WebP? This guide compares quality, file size, transparency and compatibility so you can pick the right format every time.

Images

Social Media Image Sizes Cheat Sheet: Instagram, Facebook, LinkedIn, YouTube and More

The correct image sizes for Instagram, Facebook, LinkedIn, YouTube, X, Pinterest and TikTok, with aspect ratios and tips to avoid blurry or cropped pictures.

Images

Lossy vs Lossless Compression: What It Means for Images, PDFs and Video

Understand the difference between lossy and lossless compression, how JPG, PNG, WebP and video codecs use them, and how to choose the right setting for each job.