Compress an image to 20 KB
Online exam and government application forms often want a photo or signature no larger than 20 KB. That is 20,480 bytes here. The compressor opens on that chip and writes JPEG unless you switch it to WebP. A noisy 1200 by 800 fixture had to be scaled down before it fit.
Start here
Every one of these runs entirely in your browser.
Fixture: 1200x800 deterministic noise, JPEG. Target 20.0 KB (20480 bytes). Output 19.9 KB (20387 bytes). The output was within the target. Pixels 900×600, scale 0.75, JPEG quality 0.134. 1 KB = 1024 bytes. These figures are the stored fixture run, not a prediction for a different file.
How to compress an image to 20 KB
- Select the picturePNG, JPEG, or WebP. Convert a HEIC with the HEIC to JPG page first.
- Leave 20 KB selectedThe ceiling is 20480 bytes. Transparency is painted onto white before encoding.
- Download and check the noteThe note reports the byte size, whether it landed under the ceiling, and any JPEG comment padding.
About this page
Photo and signature limits on application forms
Many online application forms, for exams, recruitment, scholarships and government services, cap the photograph at somewhere between 20 KB and 50 KB and the scanned signature at 10 KB to 20 KB. Some also set a minimum, and many fix the pixel dimensions or ask for a plain light background. The numbers differ from form to form and change between years, so check the notice for the form you are filling in rather than trusting a figure from anywhere else, including this page.
For a size cap, keep the 20 KB chip or type the form's own figure into the custom box, for example 15 KB or 50 KB. For a minimum, put it in the minimum field: a JPEG that would land below it is padded with comment bytes so it clears the floor, and the note says by how much. If the form also fixes width and height, set those in the resizer first and compress the resized file, so the size search does not change the dimensions you just chose.
A signature scan is usually small already once it is cropped tightly. Crop away the empty paper around the ink before compressing; less blank area means more of the byte budget goes to the strokes themselves.
Scaling is part of hitting 20 KB
A detailed photograph often cannot reach 20480 bytes by lowering JPEG quality alone. This page's fixture is 1200 by 800 noise. The measured run scaled it. Your photo may stay full size if it is already simple, or shrink if it is not. The note names the outcome.
This page has no HEIC decoder, so convert an iPhone photo on the HEIC to JPG page first. There is no promise of a visually identical thumbnail. 20 KB is a small file for a camera photo.
Frequently asked questions
Will a phone photo stay sharp at 20 KB?
Usually not. The search lowers quality and then pixel dimensions until the file is at or under 20480 bytes. Fine detail goes first.
What does the padding note mean?
Only if you set a minimum and the JPEG would have been smaller than that floor. Comment bytes are added and counted in the note. The 20 KB fixture did not use a minimum.
What size should my exam form photo and signature be?
Use the figures in your form's own notice. As a general pattern, many online application forms cap photos at 20 KB to 50 KB and signatures at 10 KB to 20 KB, and some set a minimum too. Type the exact ceiling into the custom box if it is not 20 KB.
My file is 20 KB here but the form still rejects it. Why?
This page counts 1 KB as 1024 bytes, so 20 KB is 20,480 bytes. A form that counts in thousands stops at 20,000. If you cannot tell which the form uses, type 19 KB into the custom box. That lands under both readings.
Does the form portal see my photo before I upload it there?
No. The photo is compressed on your device and is not sent anywhere from this page. The site still counts visits: a page view in Umami, and in Google Analytics when configured, without cookies unless you accept the banner. After a file is saved, Umami also gets a tool-run event holding only tool and slug. The only upload of the photo is the one you make on the form's website.