Dockera

Fix Government Form Photo Upload Error – SSC, Railway, UPSC

Photo not uploading on SSC, railway, or UPSC form? Fix "image must be less than 20kb", dimension mismatch, and invalid format errors. Step-by-step guide and free resize tool—works in your browser, no upload.

Resize image to fix upload error

Resize image to fix government form upload errors.

Target file size

Compression mode

Processed entirely in your browser. No uploads.

The problem: government form photo not uploading

You're filling an SSC, UPSC, railway, or state PSC application. You upload your photograph—and the portal rejects it. "File size exceeds limit." "Image must be less than 20KB." "Photo dimension mismatch." "Invalid image size." These errors are common. Your phone or camera saves photos at 2–5MB. Government portals typically allow 20KB to 100KB. Without resizing, the upload fails. This guide shows you exactly how to fix these errors and which tools to use.

Step-by-step: fix photo upload error

  1. 1Check the notification. Note the exact photo size limit (20KB, 50KB, 100KB) and any dimension requirements. SSC, railway, and UPSC notifications differ—always use the official advertisement.
  2. 2Resize for file size. Use the tool above or our resize to 100KB, 50KB, or 20KB tools. Aim for 95% of the limit (e.g. 95KB when 100KB) to avoid portal quirks.
  3. 3Fix dimensions if required. If the form specifies dimensions (e.g. passport 3.5×4.5 cm), use our passport photo tool first. Then resize for file size.
  4. 4Use JPEG. Most government forms accept JPEG. Our tools output JPEG. Ensure you upload the processed file—not the original.
  5. 5Try again. Clear browser cache if needed. Use a stable connection. If it still fails, try a different browser or device.

Common errors and how to fix them

  • "Image must be less than 20kb" (SSC, railway) — Resize to 18–19KB. Use our resize to 20KB tool. Upload the downloaded file.
  • "File size exceeds limit" — Resize to slightly under the limit. Portal may measure size differently. Use Smart Optimize above with the target KB.
  • "Photo dimension mismatch" / "Invalid dimensions" — Use passport photo tool for correct framing. Some railway and state forms require exact pixel dimensions.
  • "Invalid image size" / "Invalid format" — Use JPEG. Ensure you're under the size limit. Some portals reject PNG—convert to JPEG if needed.
  • Upload timeout or page freeze — Use a smaller file. Try Chrome or Firefox. Check internet. Disable extensions that might block uploads.

Exam-specific guides

For detailed requirements and tool embeds, see our resize image for SSC form, resize image for UPSC form, and railway photo size limit pages. For state PSC exams like Bihar, see Bihar PSC photo size. Same resize logic applies across exams—reduce file size, use correct format, meet dimensions.

Tips to avoid upload errors

  • Always resize to 95–98% of the stated limit. Some portals are strict.
  • Use a recent, clear photo with neutral expression and plain background.
  • Keep the original high-res photo for admit card and document verification.
  • For signature uploads, use signature extractor if needed, then resize.
  • Processing happens in your browser—your photo is never sent to our servers.

FAQs

Why is my government form photo not uploading?

Common causes: file size over limit (resize to slightly under the stated limit), wrong format (use JPEG), or wrong dimensions. Use our resize tool to reduce file size. For dimension issues, use our passport photo tool first.

How do I fix 'image must be less than 20kb' SSC error?

Resize your photo to 18–19KB using our resize to 20KB tool. Upload the processed file—not the original. Use JPEG format. If the limit is 50KB or 100KB, aim for 95% of that limit to avoid portal quirks.

What does 'photo dimension mismatch' mean on railway form?

The portal expects specific dimensions (e.g. passport-style 3.5cm x 4.5cm). Use our passport photo tool to frame correctly, then resize for file size. Ensure aspect ratio and pixel dimensions match the notification.

Invalid image size government form—what to do?

Resize to under the limit (e.g. 95KB when limit is 100KB), use JPEG, and ensure dimensions if specified. Some portals measure size differently—a small buffer helps. Use our Smart Image Optimizer tool above.

Is it safe to use this tool for government form photos?

Yes. All processing happens in your browser. Your photo is never uploaded to our servers. Safe for SSC, UPSC, railway, and state PSC application photos.

UPSC form image upload error—same fix as SSC?

Yes. The same logic applies: resize to under the limit, use JPEG, correct dimensions if specified. For UPSC-specific guidance, see our resize image for UPSC form page. For SSC, see resize image for SSC form.