← Back to all 12 guides
2026-10-01 · 5 min read

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.

Real-world comparison: same 4.2 MB phone portrait compressed for a 20–50 KB portal
ApproachOutput pixelsEXIF headerFinal sizeVisual result
Compress only (no resize)4000×3000 pxKept (~24 KB)49 KB @ Q10Severe macro-blocks; rejected by manual review
Resize only (keep EXIF)200×230 pxKept (~24 KB)53 KB @ Q85Sharp face, but 3 KB over the 50 KB cap
Resize + Strip EXIF + Binary-search Q200×230 pxStripped (0 KB)31 KB @ Q88Crisp 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.

Quick reference for major Indian exam & recruitment forms
Exam / PortalPhoto pixels / cmPhoto KB rangeSignature KB rangeFormat
SSC CGL / CHSL / GD3.5×4.5 cm (276×354 px)20 KB – 50 KB10 KB – 20 KB (4×2 cm)JPG / JPEG
IBPS / SBI PO & Clerk200×230 px (4.5×3.5 cm)20 KB – 50 KB10 KB – 20 KB (140×60 px)JPG / JPEG
UPSC CSE / CDS / NDA350×350 to 1000×1000 px20 KB – 300 KB20 KB – 300 KB (min 350 px)JPG / JPEG
NEET UG / JEE Main200×230 px (80% face)10 KB – 200 KB4 KB – 30 KBJPG / JPEG
RRB NTPC / Group D35×45 mm (320×240+ px)20 KB – 50 KB10 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).

  1. 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.
  2. 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).
  3. 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.
  4. 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.

Upload rejection symptom → real cause → fix
Portal error / symptomWhat actually went wrongExact fix
"File size exceeds 50 KB" on a 49.8 KB fileDecimal (1000 B) vs binary (1024 B) KB roundingTarget 45 KB instead of 49 KB
"Invalid file format" on a .jpg fileFile is actually WebP, HEIC, or PNG renamed to .jpgRe-encode cleanly via HEIC to JPG or Compress to Exact KB
"Minimum file size 20 KB" rejectionBlank white wall + tiny dimensions compressed to 12 KBSet target KB to 35 KB so JPEG quality stays near 92%
Black borders appear around the photoYou uploaded a phone screenshot of your photoAlways start from the original camera JPG, never a screenshot
"Invalid filename" errorSpaces, parentheses like photo (1).jpg, or double dotsRename 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