DEV Community

Cover image for Resize a Photo to 20KB or 50KB for SSC UPSC Sarkari Forms (Free, No Upload)
Pixelandpdf
Pixelandpdf

Posted on

Resize a Photo to 20KB or 50KB for SSC UPSC Sarkari Forms (Free, No Upload)

Every Sarkari job application — SSC CGL, UPSC, IBPS, Railway RRB, state PSC — rejects your form for the same silly reason: the photo is 2 MB and the portal wants 20KB. Here is how to resize a photo to 20KB or 50KB in seconds, for free, without uploading your documents to a random server.

Why sarkari form photo limits are so strict

Government portals run on modest infrastructure and store millions of applications, so they cap uploads hard:

  • SSC photo size: usually 20KB–50KB JPEG, 3.5cm x 4.5cm
  • SSC signature: 10KB–20KB JPEG
  • UPSC signature 20KB and photo 20KB–300KB depending on the exam notification
  • IBPS / RRB: photo 20KB–50KB, signature 10KB–20KB
  • Common dimensions: photo 200x230 px, signature 140x60 px

Always read the exact notification PDF — the numbers change per exam year.

Resize photo to 20KB without uploading it anywhere

Most "free image compressor" sites upload your passport photo and ID scans to their servers. For a job application containing your face and signature, that is a bad trade.

Use PixelAndPDF instead. It runs entirely in your browser using WebAssembly (WASM): your files never leave your device, there is no account to create, no watermark, and no upload queue. Open the page, drop the photo, pick your target size, download. It works offline once loaded, and it works fine on a low-end phone in a cyber cafe.

Step by step

  1. Open https://pixelandpdf.com/ in any modern browser.
  2. Drop your photo into the image compress / resize tool.
  3. Set the target file size — type 20 KB for SSC/UPSC photo, or 50 KB where the form allows more.
  4. If the form also demands pixel dimensions, crop/resize to e.g. 200x230 px first, then compress.
  5. Download the JPEG and check the size in your file manager before uploading.

Steps to resize a photo to 20KB for SSC and UPSC forms with PixelAndPDF

Resize image to 50KB while keeping the face readable

Compressing a portrait to 20KB can smear the face if you do it wrong. Two rules:

  • Reduce dimensions before quality. A 4000px selfie squeezed to 20KB looks like mud. Bring it to ~200x230 px first; then even quality 80 lands near 20KB and stays sharp.
  • Crop tight, head and shoulders, plain light background. Fewer details means fewer bytes, which means the compressor can spend its budget on your face.

For signatures, scan or photograph on white paper, convert to a tight crop around the strokes, and you will hit the UPSC signature 20KB limit easily — usually well under it.

Compress JPEG without upload: privacy matters here

Your application photo, signature, Aadhaar copy and marksheets are identity documents. Client-side tools mean:

  • No server ever receives the file
  • Nothing to leak in a future data breach
  • No "we may use your uploads to improve our services" clause
  • Works on public/shared Wi-Fi safely

PixelAndPDF is open source — you can read exactly what it does at github.com/acharyya72-rgb/pixelandpdf.com.

HEIC to JPG: the iPhone problem

Photographed your documents on an iPhone? The file is likely .HEIC, and almost every government portal rejects it — the upload just silently fails. Convert HEIC to JPG first (PixelAndPDF does this in-browser too), then compress to 20KB or 50KB.

JPG to PDF for multi-page document uploads

Many forms ask for certificates or category proofs as a single PDF under a size cap. Rather than mailing images to yourself and fighting with Word, use JPG to PDF to merge your scans into one file, then keep it under the portal limit. Same rule applies: shrink images before merging, not after.

Quick checklist before you hit upload

  • [ ] Format is JPEG (not HEIC, not PNG, unless the form says otherwise)
  • [ ] File size within the stated KB range — under, not over
  • [ ] Pixel dimensions match the notification
  • [ ] Face clearly visible, recent photo, plain background
  • [ ] Signature in black/blue ink on white, cropped tight
  • [ ] Filenames without spaces or special characters

Bottom line

You do not need paid software or a sketchy upload site to resize a photo to 20KB for a sarkari form. Open PixelAndPDF, compress locally in your browser, and submit with confidence that your documents never left your laptop.

Top comments (0)