# How to compress an image to 20 KB, 50 KB, 100 KB or 200 KB for forms and exam portals

> Forms ask for a photo under 50 KB and a signature under 20 KB, and your phone gives you 4 MB. Here is how the size of a picture really works, the right order of steps, and how to land just under the limit without wrecking the image.

Published 2026-10-22 by Toolcloak. 5 minute read. Original: https://toolcloak.com/articles/how-to-compress-an-image-to-20-kb-50-kb-100-kb-or-200-kb-for-forms-and-exam-portals
Related free tool: [Compress Image to Exact KB](https://toolcloak.com/tools/compress-image-to-kb)

You fill in a long application form, reach the photo upload and read: “JPG only, between 20 KB and 50 KB.” Your selfie is 3.8 MB. The signature you photographed on paper is 2.4 MB. Neither can go in, and the deadline is tonight.

> **In short**
> - Do the steps in this order: **crop, then resize the pixels, then compress to the KB limit**.
> - The tool tries the best quality first. If it does not fit, it lowers quality step by step, and only then makes the picture smaller in pixels.
> - Aim a few percent **under** the limit. Some portals count 1 KB as 1,000 bytes, and this tool counts 1,024.
> - Use **JPG** for forms. Keep the original and always compress from it, never from a copy you already compressed.

The [Compress Image to Exact KB](https://toolcloak.com/tools/compress-image-to-kb) tool takes a target such as 50, picks the output format and finds the highest quality that still fits. This guide explains how a size limit differs from a pixel size, what happens inside the tool, and the traps that make a form reject a file that looks fine. Always follow the exact instructions on your own form, because limits and formats change between portals.

## KB, pixels and quality are three different things

Most failed uploads come from mixing these up. A form may ask for any of them, and sometimes for all three at once.

| Setting | What it controls | How to change it | Tool |
| --- | --- | --- | --- |
| Pixels (for example 200 × 230) | How wide and tall the picture is | Crop, then resize | [Image Cropper](/tools/image-cropper), [Image Resizer](/tools/image-resizer) |
| File size (for example under 50 KB) | How many bytes the file takes | Compress, or use fewer pixels | [Compress Image to Exact KB](/tools/compress-image-to-kb) |
| Format (for example JPG) | How the picture is stored | Convert | [Image Converter](/tools/image-converter) |

*A picture can have the right pixels and still be over the size limit, or the right size and the wrong pixels.*

More pixels mean more data to store, so a bigger picture usually weighs more. Quality works differently: JPG can throw away detail the eye barely notices, which shrinks the file a lot at small cost. The tool uses both levers, and always tries quality first because it hurts the picture least.

## What the tool does, step by step

**From a 3.8 MB photo to a file under your limit**

1. **Read your target.** You choose a number of KB, from 5 up to 5,000. The default is 100.
2. **Try the highest quality.** If the picture already fits at very high quality, it stops there and gives you the best result.
3. **Search for the best quality that fits.** If not, it tries lower and lower quality in a series of smart guesses until it finds the highest one that is still under your limit.
4. **Make the picture smaller only if it must.** If even the lowest quality is too big, it reduces the pixel size a little and tries again, several times over.
5. **Give you the file.** The result is named with your size, such as `photo-50kb.jpg`, and it shows the before and after sizes.

*If it still cannot reach the target, the tool says so and suggests a larger number rather than giving you a picture that is unusable.*

You can add many images at once, which helps when a form needs a photo, a signature and an ID proof. Choose one target and run them together, or run each image with its own target.

## The order that saves you from redoing everything

1. **Crop first.** If the form wants a face-and-shoulders photo, trim the extra background. Less area means a lighter file.
2. **Resize to the pixel size the form asks for.** If it gives no pixel size, a few hundred pixels across is plenty for a small passport-style photo.
3. **Then compress to the KB limit.** Choose a target a little under the maximum.
4. **Check the file size on your device.** Look at the file’s properties, not just the number on screen, before you upload.

> **Leave a safety margin:** If the limit is 50 KB, ask for 46 or 47. Some systems treat 1 KB as 1,000 bytes and some as 1,024. A file of 50.2 KB by one count can be 49.0 KB by the other, and a strict portal will reject it. The small drop in quality from the margin is not visible.

## Photos and signatures behave very differently

A signature on plain white paper is mostly empty space with a thin dark line, so it compresses extremely well and often fits under 20 KB with room to spare. A face photo is full of gradients and detail, so 20 KB is hard and 50 KB is about the level where it still looks decent.

- **For signatures:** sign with a dark pen on clean white paper, photograph it in even light and crop tightly to the ink.
- **For photos:** use a plain, light background and soft light. A busy or dark background is much harder to compress.
- **For documents and ID cards:** these are mostly text on a flat background and compress well, but do not go so low that numbers blur.

**How hard is the target for a normal face photo? (a rough rule of thumb)**

| Zone | Range |
| --- | --- |
| Very tight | under 25 KB |
| Workable | 25–70 KB |
| Comfortable | over 70 KB |

*This is a guide, not a standard. A plain background and small pixel size make the tight targets easier; a busy photo makes everything harder.*

## Why the picture can still come out over the limit

- **The target is too low for that many pixels.** Reduce the pixel size first, then compress.
- **The picture is very detailed.** Crop out the background or use a plainer shot.
- **You started from a copy that was already compressed.** Go back to the original photo.
- **The format is wrong.** Many forms accept only JPG. A PNG photo is much heavier, and WebP is smaller but often rejected.

> **Transparent PNGs turn white:** JPG has no transparency. When a PNG with a see-through background is saved as a JPG, the see-through parts become white. That is usually what a form wants, but check the result if your image had a coloured background on purpose.

## A privacy note for ID photos

The pictures you compress for forms are often passport photos, signatures and ID proofs. The tool works in your browser, so the images are not uploaded to a server. If you want to be extra careful about what a photo carries inside it, see [why your photo may carry your home address](https://toolcloak.com/articles/your-photo-may-be-carrying-your-home-address). For the wider story of how much a JPG can shrink and why, read [why your 4 MB photo is really a 400 KB photo](https://toolcloak.com/articles/why-your-4mb-photo-is-really-a-400kb-photo).

If the picture is for a passport or ID form, first make it the right size with the [Passport Size Photo Maker](https://toolcloak.com/tools/passport-photo-maker), as described in [how to make passport size photos at home](https://toolcloak.com/articles/how-to-make-passport-size-photos-at-home-35-by-45-mm-2-by-2-inch-and-a-print-sheet-that-costs-almost-nothing), and then compress it to the KB limit.

See also: [making a signature PNG with a transparent background](https://toolcloak.com/articles/how-to-make-a-digital-signature-png-with-transparent-background-draw-or-type-and-use-it-on-forms-and-pdfs), [how to compress a video for WhatsApp or email](https://toolcloak.com/articles/how-to-compress-a-video-for-whatsapp-or-email-resolution-bitrate-and-file-size-explained).

## Frequently asked questions

### How do I compress an image to 50 KB?

Open the Compress Image to Exact KB tool, add the picture, set the target to 46 or 47 to leave a margin, choose JPG and press Compress. If the result looks too soft, crop the background first or resize the pixels, then try again.

### How can I reduce a photo to 20 KB for a signature?

Photograph the signature on plain white paper in even light, crop close to the ink, then compress to a target around 18 KB. Signatures compress very well because most of the picture is empty.

### How do I compress an image to 100 KB or 200 KB?

Set the target to a few KB under the limit, such as 95 or 190, and keep JPG as the format. A 100 KB or 200 KB target usually keeps a normal photo clear.

### Why is my image still bigger than the size I chose?

The tool tries lower quality first, then smaller pixel sizes. If it cannot reach your number, it shows a message asking for a larger target. A very low target with a large, detailed picture needs resizing or cropping first.

### What is the difference between resizing and compressing?

Resizing changes the width and height in pixels. Compressing reduces the file size in KB. A form can ask for either or both, so check which one your form means.

### Which format should I use for a form, JPG or PNG?

Use JPG unless the form says otherwise. JPG files are far smaller for photographs, and almost every portal accepts them.

### Is it safe to compress an ID photo online?

It is safer when the work happens on your device. The tool processes images in your browser, so your photo and signature are not uploaded to a server.

