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:

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 CSE20KB – 300KBNo strict px limitJPG
SSC CGL / CHSL20KB – 50KBNo strict px limitJPG
IBPS / Bank PO20KB – 50KBNo strict px limitJPG
Railway RRB15KB – 40KBNo strict px limitJPG
NEET UG10KB – 200KB3.5cm × 4.5cmJPG
JEE Main10KB – 200KB3.5cm × 4.5cmJPG
JPSC (Jharkhand)20KB – 50KB275 × 354 pxJPG
BPSC (Bihar)20KB – 50KBNo strict px limitJPG
Passport ApplicationUp to 500KB2 inch × 2 inchJPG
Visa ApplicationsVaries by country35mm × 45mmJPG
💡 Always check the official notification. Requirements can change every year. The table above is for general guidance — your specific form may have different limits.

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:

1

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.

2

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.

3

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.

4

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.

5

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:

⚠️ Do not over-compress. If you compress a passport photo too aggressively — for example, pushing a full portrait photo to under 10KB — the face can become blurry and unrecognisable. This can cause your application to get rejected on quality grounds. Always aim for the upper end of the allowed KB range, not the minimum.

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:

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.

Frequently Asked Questions

Most Indian government portals require passport photos between 10KB and 50KB in JPG format. Some like UPSC allow up to 300KB. Always check the official notification for the exact limit before uploading.
Standard passport size is 35mm × 45mm. For online forms this is approximately 413 × 531 pixels at 300 DPI or 275 × 354 pixels at 200 DPI. JPSC specifically requires 275 × 354px.
Upload your photo on CompressPic, set the target to 20 and select KB, then click Compress. If the photo is still too large, resize it to the required pixel dimensions first, then compress.
Always use JPG for passport photos. JPG files are much smaller than PNG for photos, making it easier to meet the KB limits of government portals. Convert PNG to JPG first if needed.
Mild compression keeps the photo looking clear and acceptable for forms. Avoid compressing too aggressively — aim for the upper half of the allowed KB range. CompressPic uses smart compression to keep quality as high as possible.