The 20 KB image compressor gets a JPG, PNG or WebP under the limit in your browser. Your photo isn’t uploaded anywhere.
Compress to 20 KBRead the whole requirement first
A form that says “photo under 20 KB” usually has more rules in the small print. Find all of them before you touch the photo, because the order you fix them in matters.
- Maximum and minimum size. Many forms give a range, such as 10 to 20 KB. A file that is too small is rejected just like one that is too big.
- Dimensions. Either in pixels (for example 200 × 230 px) or as a printed size with a resolution (for example 3.5 × 4.5 cm at 200 dpi).
- Format. Usually JPG or JPEG. Renaming a PNG to .jpg doesn’t convert it, and some forms check.
- Content rules. Background colour, how recent the photo is, and whether the face must fill a set share of the frame.
- A separate signature spec. Signature limits are often smaller and a different shape.
Why 20 KB means resizing, not just compressing
20 KB is about 20,000 bytes, or 160,000 bits. That budget has to describe every pixel in the photo, so the pixel count decides whether the result can look clean.
| Photo | Pixels | Bits per pixel at 20 KB |
|---|---|---|
| 12-megapixel phone photo, 4032 × 3024 | 12,192,768 | about 0.013 |
| Form-sized photo, 200 × 230 | 46,000 | about 3.5 |
At full phone resolution there is barely one bit for every 76 pixels, so a compressor would have to smear the photo into blocks. At 200 × 230 there are several bits per pixel, which is enough for a clear JPEG. That’s why the right move is to make the photo the size the form needs first, then compress.
Converting cm or inches to pixels
If the form gives a printed size and a dpi (dots per inch), work out the pixels:
Pixels = inches × dpi, or cm ÷ 2.54 × dpi
3.5 × 4.5 cm at 200 dpi: 3.5 ÷ 2.54 × 200 ≈ 276 px wide, 4.5 ÷ 2.54 × 200 ≈ 354 px tall
2 × 2 inches at 300 dpi: 600 × 600 px
The dpi number stored inside the file doesn’t change its size in KB. Only the pixel dimensions and the compression do. If a form insists on a dpi value, set the pixel size correctly and the dpi follows.
The right order: crop, resize, then compress
- Crop to the shape the form wants. A 3.5 × 4.5 cm photo is portrait, so crop to that ratio with your head and shoulders centred. Cropping first means you don’t waste bytes on background.
- Resize to the exact pixel size. Use Resize image and type the width and height from the form, such as 276 × 354.
- Compress under the limit. Pick 20 KB. The compressor aims just under 20,000 bytes and only lowers the pixel size further if quality alone can’t get there.
- Look at the result at full size. Faces should be sharp around the eyes, with no blocky patches on the skin or background.
Start from the best photo you have. A plain, evenly lit background compresses far better than a busy room, because flat areas need very few bytes.
Signatures are a different job
- Sign on plain white paper with a black or dark blue pen, a little bolder than usual.
- Photograph it in daylight from straight above, so there is no shadow from your phone.
- Crop tightly around the ink. Empty paper around it is wasted pixels.
- Make the paper pure white and the ink dark. Clean, flat white compresses to almost nothing, which leaves the bytes for the strokes.
Then fit the cleaned-up scan to the form’s pixel and KB limits with the signature resizer, which is made for exactly this.
Check the size the way the form does
“KB” can mean 1,000 bytes or 1,024 bytes, and computers disagree: Windows File Explorer counts 1,024 bytes per KB, while a Mac’s Finder counts 1,000. The same file can show as 19.6 KB on one and 20 KB on the other.
Look at the exact number of bytes instead (Properties on Windows, Get Info on a Mac) and keep it under 20,000. A file of 19,800 bytes passes whichever way the form counts.
If the form still rejects it
- “File too small”: you are under the minimum. Compress to a higher target, such as 18 KB instead of 10 KB.
- “Invalid dimensions”: the pixels must match exactly. Resize again to the stated size and don’t let a later step change it.
- “Invalid format”: convert the file properly to JPG instead of renaming it.
- The upload just fails: rename the file to something simple like photo.jpg, with no spaces or symbols, and try again. If that doesn’t work, try a different browser.