Skip to main content
easyPhoto
All articles

· 6 min read

How to Compress a Photo to 50 KB — Exam & Government Portal Guide

Jaspal Kumar
Jaspal Kumar

easyPhoto developer & document-spec researcher

Every Indian exam portal — UPSC, SSC, IBPS, SBI, NTA, RRB — and most government document forms set a photo file-size limit between 10 KB and 50 KB. Uploading a 2 MB phone photo gets rejected instantly, but aggressively compressing it to 20 KB can introduce visible JPEG noise. Here is the right way to compress a photo to a specific KB target without unnecessary quality loss.

Quick answer

  • Use: easyPhoto Resize by KB — type your target (e.g., 45 KB) and it adjusts JPEG quality automatically. On-device, nothing uploaded.
  • Start with a high-res original — a phone photo or scan; not a previously compressed thumbnail.
  • Check both limits — most portals have a minimum AND a maximum. 50 KB max with a 10 KB minimum means you need to land in between.

Why do portals have a specific KB limit?

Government portal databases often pre-allocate fixed record sizes for each application. An NSDL PAN card application database slot budgets 50 KB for the photo — files larger than this cause the form to reject with a “file size exceeds limit” error. Files too small (below the minimum, typically 10–20 KB) are rejected because the portal suspects the photo is too low resolution to be useful.

Person filling out an online form on a laptop — government portal photo upload file size limit
PortalPhoto size limitSignature limit
NSDL / Protean (PAN card)20–50 KB10–20 KB
UTIITSL (PAN card)≤30 KB≤20 KB
NVSP / ECI (Voter ID)10–200 KB
Sarathi (Driving Licence)≤40 KB≤20 KB
UPSC CSE / IES / CMS10–40 KB4–30 KB
SSC exams10–100 KB4–30 KB
IBPS / SBI bank exams20–50 KB10–20 KB
NTA (JEE / NEET / CUET)10–100 KB4–30 KB
RRB exams15–100 KB10–40 KB

How much quality loss happens at 50 KB?

A standard passport photo at 35×45 mm and 300 DPI is 413×531 pixels. At JPEG quality 80 (out of 100), this encodes to roughly 30–50 KB depending on image complexity — skin tones and plain backgrounds compress better than complex textures. Quality 60 gives roughly 15–25 KB. The visual difference between quality 80 and quality 60 is subtle for a face photo on a plain background, but noticeable on hair edges and sharp contrast.

JPEG quality vs file size for a 413×531 px passport photoQuality 95 gives about 180 KB. Quality 80 gives about 45 KB — the ideal for most 50 KB portals. Quality 70 gives 30 KB, quality 60 gives 20 KB, quality 50 gives 15 KB. Source: easyPhoto internal testing, 2025.Q95 (max)uncompressed export~180 KBQ80ideal — sweet spot~45 KBQ70good for 40 KB portals~30 KBQ60NSDL minimum range~20 KBQ50visible artefacts~15 KBSource: easyPhoto internal testing on a plain-background face photo at 413×531 px (2025)

Step-by-step: compress a photo to a specific KB

  1. Start with a high-resolution original: use the photo directly from your phone camera (3–10 MP) or a flatbed scan at 300 DPI. Do NOT start with a previously downloaded or compressed image — that has already lost quality that you cannot recover.
  2. Open the tool: easyPhoto Resize by KB. Upload the photo. The tool runs in your browser — the image stays on your device.
  3. Enter the target KB: type the maximum size from your portal. For a 50 KB limit, set the target to 45–48 KB to leave a safety margin. The tool adjusts JPEG quality automatically to hit that target.
  4. Download and verify: right-click the downloaded file → Get Info (Mac) or Properties (Windows) → check the file size in KB. Verify it is below the portal's maximum and above the minimum.
  5. Upload to the portal: if the portal still rejects, check the pixel dimension requirement. Some portals reject on pixel count before checking file size.
Mobile phone showing a government exam registration form — photo upload and compression

Common reasons a compressed photo still gets rejected

Rejection messageWhat to check
"File size exceeds limit"Compress further — target 5 KB below the maximum, not right at it
"File size too small"You compressed below the minimum — raise the target KB value
"Invalid file format"Most portals require JPEG (.jpg) — check the output format; some tools output PNG by default
"Image dimensions not acceptable"The pixel width or height is outside the portal's range — resize to the required dimensions first, then compress
"DPI too low"Usually only NSDL — change DPI to 200 using the DPI converter before resizing
"Invalid image"The file may have been re-saved multiple times — start fresh from the original photo

For portal-specific workflows where you need to hit both a pixel dimension and a KB target in one step, the PAN card resizer, Voter ID resizer, and Driving Licence resizer handle both automatically — you upload the photo and get a compliant output without tweaking any settings. For generic exam portals, the resize-by-KB tool lets you set any target size.

Frequently asked questions

How do I compress a photo to under 50 KB without losing quality?

Use easyPhoto's resize-by-KB tool: set the target to 45–50 KB and the tool adjusts JPEG quality automatically to hit that size. The compression is done on-device — nothing is uploaded. For most photos the quality loss at 50 KB is barely visible unless the source image is very large.

Why do exam portals have a 50 KB or 20 KB photo limit?

Government portal databases often store photos in older systems with fixed record sizes. The per-file limit keeps database storage manageable across millions of applications. Modern image formats can store a face photo clearly at 20–50 KB, so the limit is reasonable for this purpose.

What is the minimum KB for a passport photo upload?

Most portals have both a minimum and maximum: NVSP (Voter ID) requires 10–200 KB; NSDL (PAN card) requires 20–50 KB; Sarathi (Driving Licence) requires the photo to be under 40 KB. UPSC and SSC typically require 10–40 KB. Check your specific portal before compressing.

Will compressing a photo to 50 KB get my application rejected?

No — provided the photo meets the portal's minimum size requirement and the dimensions are correct. Portal software checks the JPEG file size, not visual sharpness. A 50 KB face photo at the right dimensions is perfectly acceptable. Rejection happens when the file is too large, too small, or in the wrong format.

Can I compress a photo without making it blurry?

Starting with a high-resolution original (at least 1 MP) and compressing to 50 KB will look clean. Starting with an already-small image (e.g. 150×200 px) and then compressing forces JPEG artefacts. Use a phone photo or a scanned image as the source, not a previously downloaded thumbnail.

Ready to make yours? Compliant size & background, checked before you download — free, in your browser.

Compress photo to exact KB — free, no upload

Keep reading