How to Compress an Exam Photo to 20 KB–50 KB Without Looking Blurry
Step-by-step recipe for SSC, IBPS, SBI, and UPSC photo portals that reject uploads even 1 KB over the limit.
Quick reference specifications
- SSC CGL / CHSL
- 3.5×4.5 cm (276×354 px at 200 DPI) · 20 KB – 50 KB · JPG
- IBPS / SBI PO & Clerk
- 200×230 px · 20 KB – 50 KB · JPG
- UPSC CSE / NDA
- 350×350 to 1000×1000 px · 20 KB – 300 KB · JPG
- NEET UG / JEE Main
- 200×230 px (postcard 4×6 in optional) · 10 KB – 200 KB · JPG
01Why shrinking a phone photo straight to 20 KB ruins the face
Most people open a generic compressor, drop in a 4.5 MB smartphone selfie (4000×3000 pixels), type "20 KB", and wonder why the result looks like Lego blocks. It comes down to simple arithmetic. Twelve million pixels squeezed into 20,000 bytes leaves 0.013 bits per pixel. No JPEG encoder on earth can preserve facial features at that ratio.
The hidden second killer is camera metadata. iPhones and Android phones embed an EXIF preview thumbnail and ICC color profile inside the file header. That invisible overhead alone weighs 15 KB to 35 KB before a single pixel of your portrait is encoded. If you resize to the portal’s exact pixel frame first and strip EXIF, the exact same 20–45 KB ceiling holds a sharp, 85%-quality portrait.
| Approach | Output pixels | EXIF header | Final size | Visual result |
|---|---|---|---|---|
| Compress only (no resize) | 4000×3000 px | Kept (~24 KB) | 49 KB @ Q10 | Severe macro-blocks; rejected by manual review |
| Resize only (keep EXIF) | 200×230 px | Kept (~24 KB) | 53 KB @ Q85 | Sharp face, but 3 KB over the 50 KB cap |
| Resize + Strip EXIF + Binary-search Q | 200×230 px | Stripped (0 KB) | 31 KB @ Q88 | Crisp admit-card portrait, comfortably inside 20–50 KB |
02Official photo & signature limits across major portals
Requirements shift slightly between recruitment cycles, so always verify the current PDF notification before final upload. The table below covers the standard specifications most applicants run into.
| Exam / Portal | Photo pixels / cm | Photo KB range | Signature KB range | Format |
|---|---|---|---|---|
| SSC CGL / CHSL / GD | 3.5×4.5 cm (276×354 px) | 20 KB – 50 KB | 10 KB – 20 KB (4×2 cm) | JPG / JPEG |
| IBPS / SBI PO & Clerk | 200×230 px (4.5×3.5 cm) | 20 KB – 50 KB | 10 KB – 20 KB (140×60 px) | JPG / JPEG |
| UPSC CSE / CDS / NDA | 350×350 to 1000×1000 px | 20 KB – 300 KB | 20 KB – 300 KB (min 350 px) | JPG / JPEG |
| NEET UG / JEE Main | 200×230 px (80% face) | 10 KB – 200 KB | 4 KB – 30 KB | JPG / JPEG |
| RRB NTPC / Group D | 35×45 mm (320×240+ px) | 20 KB – 50 KB | 10 KB – 40 KB (140×60 px) | JPG / JPEG |
03Step-by-step workflow to hit the exact KB band
Aim for the middle of the allowed range rather than hugging the edges. If a form allows 20 KB to 50 KB, landing around 32 KB to 42 KB protects you from both the minimum floor and strict 50.0 KB ceiling rounding differences (Windows Explorer shows KiB where 1 KB = 1024 bytes, whereas some web validators count 1000 bytes).
- Look up your exam in Exam Photo Resizer (or Exam Portal Presets) so your portrait is cropped to the exact aspect ratio first without stretching your face.
- If you already cropped the photo to the required pixel size, open Compress to Exact KB and enter a target 3 to 5 KB below the portal’s hard maximum (for example, 45 KB for a 50 KB cap).
- Keep auto-downscale enabled only if your source is still over 1000 px wide; for an already sized 200×230 portrait, quality binary search alone hits the target cleanly.
- Rename the saved file to something plain like photo.jpg (lowercase extension, no spaces, brackets, or Hindi/special characters).
04Troubleshooting common portal upload errors
Government and exam portals rarely give helpful error messages. When an upload fails even though the file looks right on your phone, one of these five mismatches is almost always behind it.
| Portal error / symptom | What actually went wrong | Exact fix |
|---|---|---|
| "File size exceeds 50 KB" on a 49.8 KB file | Decimal (1000 B) vs binary (1024 B) KB rounding | Target 45 KB instead of 49 KB |
| "Invalid file format" on a .jpg file | File is actually WebP, HEIC, or PNG renamed to .jpg | Re-encode cleanly via HEIC to JPG or Compress to Exact KB |
| "Minimum file size 20 KB" rejection | Blank white wall + tiny dimensions compressed to 12 KB | Set target KB to 35 KB so JPEG quality stays near 92% |
| Black borders appear around the photo | You uploaded a phone screenshot of your photo | Always start from the original camera JPG, never a screenshot |
| "Invalid filename" error | Spaces, parentheses like photo (1).jpg, or double dots | Rename to simple alphanumeric photo_2026.jpg |
Common questions
- What if the portal requires 20 KB to 50 KB, and my photo compresses down to 14 KB?
- That happens with clean white backgrounds at small dimensions like 200×230 px. Raise your target in Compress to Exact KB to 38–42 KB (or bump dimensions slightly within the portal’s allowed pixel range) so the file lands cleanly above the 20 KB floor.
- Why does Windows say my photo is 49 KB while the portal rejects it as over 50 KB?
- Windows measures kilobytes in binary (1024 bytes per KB), so a 50,400-byte file displays as 49.2 KB on your PC. Many web upload validators divide by 1000 and reject anything above 50,000 bytes. Targeting 45 KB avoids this mismatch completely.
- Does DPI (200 DPI vs 300 DPI) actually matter for online exam portals?
- Almost all online portals validate pixel width × height and file size in KB, not the DPI metadata tag. DPI only controls how many pixels correspond to centimeters (for example, 3.5×4.5 cm at 200 DPI equals 276×354 pixels).
- Are my exam or passport photos uploaded to JustFixFile servers?
- No. Resizing, EXIF stripping, and JPEG binary-search compression run entirely inside your browser tab in local RAM.
Open the browser-local tools mentioned in this guide
Resize and compress exam photos to 20–50 KB with UPSC, SSC, IBPS, SBI, NEET, and JEE rules.
Hit an exact file size limit (20 KB, 50 KB, 200 KB, or custom) for strict portals.
Complete searchable reference of photo, signature, and KB specs for major exams and visas.