How to reduce an image to a specific file size in KB
Forms and portals often say “under 100 KB” or “between 20 and 50 KB”. Three things control file size: the number of pixels, the format, and the quality setting. Here is how to use them in order.
Published by Satyajit Srichandan · Published · Updated · 4 min read

Why do this?
Portals reject files over their limit, often with a short error that does not say what to change.
Knowing the three controls (pixels, format and quality) lets you shrink a file in the right order and stop as soon as it fits, so you keep as much quality as possible.
The three levers
- Pixels: a photo with fewer pixels is a smaller file. This usually saves the most.
- Format: JPEG is the best choice for photos. PNG is lossless, so photographs stay large, and a re-saved PNG can even get bigger.
- Quality: for JPEG, a lower quality discards fine detail and shrinks the file. Too low looks blocky.
Method 1: resize first, then compress
Step 1: Resize first if the image is huge
Open Resize Image, add your image and type a smaller width. Keep the aspect ratio locked so it doesn't stretch.

Step 2: Open Compress Image and add the file
Open Compress Image and add the image. Choose JPEG, which is best for photos.

Step 3: Lower the quality while watching the size
Move the quality setting down and watch the real size shown. The size comes from actually encoding the image. If you already know the limit, type it in the target size box (for example 20) and the tool finds the quality for you.

Step 4: Stop when it fits, then download
Stop at the highest quality that is under your limit. Look at the compressed size shown, check the preview, and then press Download Compressed Image.

The size shown comes from actually encoding the image, so you see the real number before you download. Compress Image also has a “Target file size in KB” box: type your limit (for example 20) and it finds the highest quality that fits, reducing the pixel size a little only if quality alone is not enough.
Method 2: let the tool fit the limit
If you need an exact range, the Photo Resizer and Signature Resizer can do the fitting for you. Choose Custom size, enter the dimensions from your notice, and fill in the minimum and maximum file size in KB. With JPEG output, the tool picks the highest quality that fits and never changes the pixel size to do it. If the limit can't be met, it tells you.
If it still won't fit
- A very detailed or noisy photo compresses poorly. Retake it in good light, or crop closer.
- Reduce the pixel dimensions, if your notice allows a smaller size.
- If the file is under a stated minimum, a sparse image compresses very small. Use more pixels or more detail, because the tool does not pad files.
Your image is processed in your browser and is not uploaded. Always confirm against the official source linked on this page and in your own notice. Requirements change, and no tool can guarantee that a file will be accepted.
Frequently asked questions
How do I reduce an image to under 100 KB?
Resize it to a sensible pixel size, then compress it as JPEG, lowering the quality until the shown size is under 100 KB.
Does reducing KB reduce quality?
For JPEG, yes: less data means less detail. A moderate reduction is often hard to see, so check the preview.
Can the tool hit an exact KB range?
Compress Image fits a JPEG or WebP under a maximum KB you type. The Photo Resizer and Signature Resizer can fit JPEG quality to a minimum and maximum KB.