Photo upload rules for 24 exam, visa and passport forms, compared (2026)
I build Drible, a set of browser-based file tools, so read this with that in mind. This post is mostly not about the tools: it is about the rules, which I collected from official notices and government pages. Almost eve
I build Drible, a set of browser-based file tools, so read this with that in mind. This post is mostly not about the tools: it is about the rules, which I collected from official notices and government pages.
Almost every online application asks for a photo, and every one of them has its own idea of the right file. I put the upload rules of 24 forms side by side: 13 Indian exams and government forms, and 11 visa and passport applications. Every figure below comes from the official bulletin, notice or government page, checked between October and November 2026.
The short answer
- The largest photo one form allows is 500 times the largest another allows. The PAN card application takes a photo of up to 20 KB. The UK passport and the US online passport renewal take up to 10 MB.
- 17 of the 24 forms set a minimum file size, not only a maximum. A file that is too small is refused just like one that is too big. New Zealand passports want at least 250 KB.
- Photo size is given in five different ways: pixels, centimetres, centimetres at a stated DPI, inches, or just "passport size, 80% face".
- Nearly everything is JPG. The exceptions are the US passport renewal (JPG, PNG or HEIC), the US I-765 (JPG or PNG), and PAN card documents (PDF/A).
- One form has no photo upload at all. The SSC Constable (GD) 2026 form takes a live photo with your camera inside the application.
Indian exams and government forms
| Form | Photo | Signature |
|---|---|---|
| IBPS bank exams | 20 to 50 KB, 200 x 230 px preferred | 10 to 20 KB, 140 x 60 px preferred |
| SBI | 20 to 50 KB, 200 x 230 px preferred | 10 to 20 KB, 140 x 60 px preferred |
| UPSC (one-time registration) | 20 to 300 KB, 550 x 550 to 1000 x 1000 px | 20 to 300 KB, 350 x 350 to 500 x 500 px |
| UPPSC | under 50 KB, 5 x 6 cm at 200 DPI | under 30 KB, 6 x 3 cm at 200 DPI |
| SSC (exam notices) | see the notice | 10 to 20 KB, about 6 x 2 cm |
| SSC Constable (GD) | no upload, live camera photo | 10 to 20 KB, about 6 x 2 cm |
| RRB | see the notice | 30 to 49 KB, at least 140 x 60 px |
| JEE Main, NEET UG | 10 to 200 KB, passport size, 80% face | 10 to 100 KB |
| CUET UG | 10 to 200 KB, passport size, 80% face | 10 to 50 KB |
| CTET | 10 to 100 KB, 3.5 x 4.5 cm | 3 to 30 KB, 3.5 x 1.5 cm |
| GATE | 5 to 600 KB, 200 x 260 to 530 x 690 px | 3 to 300 KB, 250 x 80 to 580 x 180 px |
| PAN card (Protean) | up to 20 KB, 2.5 x 3.5 cm at 200 DPI | up to 10 KB, 4.5 x 2 cm at 200 DPI |
All JPG or JPEG. Many forms also ask for a left thumb impression, a declaration or certificates, each with its own limit.
Visa and passport photos
| Application | Photo file | Size in pixels |
|---|---|---|
| Indian e-Visa | 10 KB to 1 MB | square |
| US visa (DS-160) | 240 KB or less | 600 x 600 to 1200 x 1200, square |
| US DV Lottery | 240 KB or less | 600 x 600, square |
| US passport, online renewal | 54 KB to 10 MB | cropped in the application |
| US OPT / STEM OPT (I-765) | under 6 MB | 2 x 2 inch square, head 1 to 1 3/8 inch |
| UK passport | 50 KB to 10 MB | at least 600 x 750 |
| Canada PR card | 4 MB or less | 715 x 1000 to 2000 x 2800 |
| Canada passport, online renewal | 200 KB to 5 MB | 1200 x 1800 to 3000 x 4500 |
| Ireland passport online | up to 9 MB | at least 715 x 951 |
| New Zealand passport | 250 KB to 5 MB | 900 to 4500 wide, 1200 to 6000 tall |
| Australian citizenship | 70 KB to 3.5 MB | 1200 x 1600 preferred |
Four things that surprised me
1. The minimum is the rule people break. Most advice says "make it smaller". But IBPS, SBI and UPSC want at least 20 KB, the UK at least 50 KB, Australia 70 KB, Canada's passport renewal 200 KB and New Zealand 250 KB. A photo squeezed to 15 KB "to be safe" fails all of them.
2. The DS-160 has a hidden minimum. The State Department page gives a 240 KB maximum and a compression ratio of 20:1 or less. An uncompressed 600 x 600 colour image is about 1,080,000 bytes, and a twentieth of that is about 54 KB. So a 600 x 600 visa photo should land between roughly 54 and 240 KB, even though no minimum is written on the page.
3. Centimetres only mean something with a DPI. "3.5 x 4.5 cm" says nothing about pixels on its own. Where a DPI is given, you can work it out: the PAN photo, 2.5 x 3.5 cm at 200 DPI, is about 197 x 276 pixels; the UPPSC photo, 5 x 6 cm at 200 DPI, is about 394 x 472 pixels.
4. Copied numbers go stale. Many sites still list a 4 to 30 KB CUET UG signature. The 2026 information bulletin says 10 to 50 KB. And Canada's online passport renewal does not let you fix the file at all: no cropping, no resizing, and the photo must come from a commercial photographer.
If you build upload forms
A few things this exercise taught me from the other side of the form:
- Write both limits in one place, pixels and file size, with an example ("200 x 230 px, 20 to 50 KB, like a phone photo cropped to the face").
- Say what "KB" means. Some validators count 1,000 bytes, some 1,024. A file of 50,500 bytes passes one and fails the other. If you write the rule, tell people to aim a little under it.
- Explain a refusal. "Invalid file" sends people to a search engine. "Your photo is 312 KB; the limit is 50 KB" does not.
- If you compress for the user, check the minimum too. A target-size compressor that only respects the maximum will happily produce a 9 KB file for a form that wants 20 KB or more.
The usual way to hit a file size in the browser is a binary search on JPEG quality. A minimal version, with both checks:
// Find the highest JPEG quality whose file fits under maxKB, then check minKB.
async function fitToSize(file, maxKB, minKB = 0) {
const bitmap = await createImageBitmap(file);
const canvas = new OffscreenCanvas(bitmap.width, bitmap.height);
canvas.getContext('2d').drawImage(bitmap, 0, 0);
let low = 0.05, high = 0.95, best = null;
for (let i = 0; i < 8; i++) {
const quality = (low + high) / 2;
const blob = await canvas.convertToBlob({ type: 'image/jpeg', quality });
if (blob.size <= maxKB * 1000) { best = blob; low = quality; }
else { high = quality; }
}
if (!best) throw new Error('Still too big at low quality: resize the image first.');
if (best.size < minKB * 1024) throw new Error('Under the minimum: start from a larger original.');
return best;
}
It uses 1,000 bytes per KB for the maximum and 1,024 for the minimum, so the result is safe under either reading. Resize to the required pixels before you call it: quality alone cannot rescue a 4000 x 3000 photo for a 20 KB limit.
Limits
These are the rules as the official pages stated them on the dates I checked; notices change every cycle, so check the current one before you apply. Rows that say "see the notice" change per recruitment. This is not legal or immigration advice.
The full chart, with the source and check date for every row and a guide for each form: https://drible.co/guides/photo-signature-size-chart
If a notice has changed since, tell me and I will update the row.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.