Where 20 KB limits come from
You'll mostly see 20 KB on Indian exam and job-application forms, for the signature and sometimes the photo. Here's what the official notices and portal instructions ask for (checked November 2026), and which page gets you there:
| Form | Photo | Signature | Page to use |
|---|---|---|---|
| SSC (India), CHSL 2025 | taken live in the form, not uploaded | JPEG, 10–20 KB, about 6.0 × 2.0 cm | signature: this page |
| SSC, Constable (GD) 2026 | taken live in the form | JPEG, 10–20 KB, about 6.0 × 2.0 cm at 300 DPI | signature: this page |
| IBPS, PO/MT-XV | 20–50 KB, 200 × 230 px preferred | 10–20 KB, 140 × 60 px preferred | photo: Compress Image at 40–50 KB; signature: this page |
| NTA, CSIR NET December 2025 | JPG, 10–200 KB | JPG, 4–30 KB | photo: 100 KB; signature: this page |
| NTA, NEET (UG) 2026 | JPG, 10–200 KB, face 80% of the image, white background, plus a live photo | JPG, 10–100 KB | photo: 100 KB; signature: this page |
| NTA, JEE (Main) 2027 | JPG, 10–200 KB, face 80%, white background, plus a live photo | JPG, 10–100 KB | photo: 100 KB; signature: this page |
| UPSC (instructions of February 2026) | JPG, 20–200 KB, face at least 75%, plain white background, plus a live photo | three signatures one below the other in one JPG, 20–100 KB, 350–500 px | photo and signature: 100 KB, not this page |
| PAN card, Protean online application | JPEG, max 20 KB, 3.5 × 2.5 cm at 200 DPI, colour | JPEG, max 10 KB, 2 × 4.5 cm at 200 DPI, colour | photo: this page; signature: 10 KB |
Most of these limits are ranges, so the minimum counts as much as the maximum. This page can't help you reach a minimum: a file that's already small comes back as it is, never bigger (more on that below). Rules change from one notice to the next, so check the one for your exam.
At 200 DPI, the PAN photo's 3.5 × 2.5 cm is about 276 × 197 px, and the signature's 4.5 × 2 cm is about 354 × 157 px. Those are small. In our measurements, a 200 × 230 portrait was 12.8 KB at 92% quality (table below) and a 350 × 150 signature was 5.6 KB (on the 10 KB page), so files at the PAN sizes should fit under both caps at high quality.
What fits in 20 KB: measured
We saved test images as JPG with the canvas encoder in Chromium 149, the same encoder this page uses in Chrome and Edge. Sizes are in KB of 1,000 bytes. Bold means 20 KB or less.
Head-and-shoulders portrait (studio photo on a plain backdrop, public domain, from Wikimedia Commons)
| Size | Quality 92% | 80% | 60% | 40% |
|---|---|---|---|---|
| 200 × 230 px | 12.8 | 8.4 | 6.0 | 4.9 |
| 320 × 400 px | 26.7 | 16.8 | 11.6 | 9.1 |
| 400 × 500 px | 37.9 | 23.3 | 15.9 | 12.3 |
| 480 × 600 px | 50.4 | 30.4 | 20.4 | 15.6 |
Signature (black strokes we drew on pure white)
| Size | Quality 92% | 80% | 60% | 40% |
|---|---|---|---|---|
| 140 × 60 px | 2.3 | 1.9 | 1.6 | 1.4 |
| 709 × 236 px | 11.1 | 8.5 | 6.9 | 6.0 |
| 1400 × 600 px | 31.4 | 24.6 | 19.8 | 17.2 |
At 20 KB, a face photo stays clean at about 320 × 400 px, or 400 × 500 px at lower quality. Our signature is a best case: a phone photo of real paper has grain and shadows, and those cost extra bytes.
709 × 236 px is what SSC's "6.0 × 2.0 cm at 300 DPI" works out to. At that size, our signature came out at 11.1 KB even at 92%. That's already inside the 10–20 KB range.
How this page gets to 20,000 bytes
The target is 20,000 bytes, so the file passes whether the form counts a KB as 1,000 or 1,024 bytes. The page counts in 1,024-byte units, so the result usually shows as 19 or 20 KB.
The tool tries 92% quality first. If that's too big, it searches for the highest quality between 92% and 40% that fits. If even 40% is too big, it reduces the width and height and tries again. It never goes below 40%.
What the defaults gave:
| Image | Result | Quality |
|---|---|---|
| Portrait, 2400 × 3000 | 553 × 691 px, 19,941 bytes | about 43% |
| 12 MP street photo (iPhone, 4032 × 3024) | 395 × 296 px | about 50% |
| Second 12 MP street photo | 487 × 365 px | about 41% |
| Signature, 2800 × 1200 | 1456 × 624 px | about 53% |
The tool keeps as many pixels as it can, so quality sits near the floor. A form shows your photo small anyway, so you can trade pixels for quality. In Compress Image, set the target to 20 KB and Max side to 600. The same portrait then came out at 480 × 600 px at about 58% quality.
Ranges: when 20 KB is the wrong answer
- Signature 10–20 KB (SSC, IBPS): this page is the right fit. A large scan lands just under 20,000 bytes, inside the range. Don't use the 10 KB page for this. It stops at or just under 10,000 bytes, so it can miss the minimum.
- Photo 20–50 KB (IBPS): don't use this page. It lands under 20,000 bytes, so it fails a 20 KB minimum. In Compress Image, type a target of 40 or 50 KB instead.
- UPSC signature 20–100 KB: don't use this page either. Its result is just under 20,000 bytes, below UPSC's 20 KB minimum. The 100 KB page lands just under 100,000 bytes, inside the range. UPSC also gives the image dimensions as 350–500 pixels, so adding pixels only goes so far. A clean single signature at 350 × 150 was only 5.6 KB in our test, so a small, clean file can end up under 20 KB. Check the size before you upload; compression can't push it back up.
- Photo at exactly 200 × 230 px: our portrait was only 12.8 KB at that size, even at 92%. IBPS only calls that pixel size "preferred", but it states the file size as a 20–50 KB range. So a somewhat bigger photo, around 320 × 400 px, is how you reach the minimum.
- Signature at 140 × 60 px with a 10 KB minimum: about 2 KB at 140 × 60. Compression can't add bytes; more pixels can. Use Resize Image to make it something like 709 × 236, then come back here if it's over 20 KB.
Preparing a signature that passes
- Sign on plain white paper with a black pen. That's what both the SSC and IBPS notices ask for. IBPS also rejects signatures in capital letters.
- Scan it, or photograph it in daylight without your shadow on the page.
- Crop tight with Crop Image, so the signature fills the frame. SSC rejects "miniature" signatures, and a signature lost in a big white sheet looks just like one.
- Compress here. If the form gives exact pixels, resize to them first.
When it still goes wrong
- The result is a PNG and the form wants JPG. Signatures from drawing apps often have a transparent background. Those stay PNG here and only get smaller in pixel size. Convert first with PNG to JPG, which puts the signature on white.
- The form says the file is too small. Your file was probably under 20 KB already. With no EXIF, GPS or XMP data, it comes back unchanged. With metadata, it's re-saved without it at no more than its original size. Either way it doesn't grow, so add pixels with Resize Image.
- The photo looks blocky. Cap the size with Max side in Compress Image, as described above.
- iPhone HEIC photos can go in directly and come out as JPG.
You can drop the photo and signature together. Each one is compressed on its own, and you get a ZIP. Check that each one went into the right slot on the form.
Your files stay on your device
These are identity documents, so it's worth checking for yourself. Open DevTools (F12) and go to the Network tab, then pick a file. You'll see no upload request, because compression runs in your browser. Once the page has loaded, you can switch on airplane mode and it still compresses JPG, PNG and WebP. HEIC may need to download its decoder the first time. EXIF and GPS data are removed from every compressed file.