If you have ever tried to upload a passport photo on a government website and got an error saying "file size too large" or "invalid dimensions" — you are not alone. Almost every government portal in India has strict rules about photo size, pixel dimensions, and file format. And if your photo does not meet them exactly, your application simply gets rejected.
The good news is that compressing a passport photo is not complicated at all. In this guide, I will walk you through exactly what size your photo needs to be, what format to use, and how to compress it to the right KB in under a minute — for free, without installing any app.
🗜️ Compress Your Passport Photo Right Now
Set exact KB target — free, instant, your photo never leaves your device.
Open Image Compressor →Why Do Government Portals Reject Passport Photos?
There are three main reasons your passport photo gets rejected during an online application:
- File size too large — The photo is bigger than the allowed KB limit (usually 20KB to 50KB)
- Wrong dimensions — The pixel size does not match what the portal expects
- Wrong format — You uploaded a PNG or HEIC file when JPG was required
The frustrating part is that your phone camera takes photos at 3MB to 8MB by default. A government portal asking for 20KB is asking for something 150 times smaller than what your camera produces. That is why compression is not optional — it is necessary.
Passport Photo Requirements for Indian Government Portals
Different exams and portals have slightly different requirements. Here is a quick reference table for the most common ones:
| Portal / Exam | Photo Size (KB) | Dimensions (px) | Format |
|---|---|---|---|
| UPSC CSE | 20KB – 300KB | No strict px limit | JPG |
| SSC CGL / CHSL | 20KB – 50KB | No strict px limit | JPG |
| IBPS / Bank PO | 20KB – 50KB | No strict px limit | JPG |
| Railway RRB | 15KB – 40KB | No strict px limit | JPG |
| NEET UG | 10KB – 200KB | 3.5cm × 4.5cm | JPG |
| JEE Main | 10KB – 200KB | 3.5cm × 4.5cm | JPG |
| JPSC (Jharkhand) | 20KB – 50KB | 275 × 354 px | JPG |
| BPSC (Bihar) | 20KB – 50KB | No strict px limit | JPG |
| Passport Application | Up to 500KB | 2 inch × 2 inch | JPG |
| Visa Applications | Varies by country | 35mm × 45mm | JPG |
Step-by-Step: How to Compress a Passport Photo
Here is exactly how to get your passport photo to the right size in under 60 seconds:
Check the exact requirements first
Before doing anything, note the KB limit, pixel dimensions (if any), and required format from the official portal or notification. Screenshot it so you have it handy.
Convert to JPG if needed
If your photo is PNG, HEIC, or WebP, convert it to JPG first using CompressPic Format Converter. JPG compresses much smaller than other formats for photos.
Resize to correct dimensions (if required)
If the portal specifies pixel dimensions like 275×354px or 413×531px, resize your photo first using the Image Resizer. Select pixels as the unit, enter the exact dimensions, and download.
Compress to target KB
Open CompressPic Image Compressor, upload the resized photo, enter your target KB (e.g. 20, 50, or 100), and click Compress.
Check the result and download
CompressPic shows you the before and after size. If the target was met, click Download. Your compressed passport photo is ready to upload.
What If My Photo Still Does Not Meet the Size Limit?
This can happen if your photo has very high resolution or a complex background. Here is what to do:
- Resize first, then compress. A 4000×5000px photo will always be large. Resize it to the required dimensions before compressing. This alone usually solves the problem.
- Make sure it is JPG, not PNG. A PNG photo of the same subject is typically 3x to 5x larger than JPG. Converting to JPG and then compressing almost always hits the target.
- Crop tightly. Extra background adds file size. Crop your photo so the face fills most of the frame before compressing.
Is It Safe to Compress Passport Photos Online?
This is a fair concern. Your passport photo contains your face, which is biometric data. You should be careful about which tools you use.
With CompressPic, your photos are completely safe. All compression happens inside your browser using JavaScript. Your photo is never uploaded to any server, never stored, and never accessed by anyone. You can disconnect your internet after uploading — the tool will still work perfectly. That is how you know no data is being sent anywhere.
The Right Way to Take a Passport Photo at Home
If you want the best results, start with a good photo before compressing. Here are some tips for taking a passport-quality photo at home:
- Use a plain white or light grey background — hang a plain bedsheet if you do not have one
- Take the photo in natural daylight, not under yellow artificial light
- Face directly at the camera — no tilting or angling
- Keep a neutral expression with mouth closed
- No sunglasses, filters, or heavy editing
- Ask someone to take the photo rather than using a selfie — the angle is better
A photo taken correctly at home compresses more easily because the plain background has less visual data, which means a smaller file size at the same quality level.