Skip to content
Moxisync

Pakistan passport photo, under 20 KB

Framed to the DGIP 35×45 mm spec on white, then saved under 20 KB so the online portal accepts it.

Runs on your device

Works offline

Size35×45 mmFile413×531 pxHead64–76%BackgroundwhiteFile size≤ 20 KBOfficial rules
  • Stand 1–2 m from a plain, light wall.
  • Face the camera, neutral expression, mouth closed.
  • Even light on your face; no shadows behind you.
  • No sunglasses or tinted lenses; no frames or glare over the eyes.
  • Plain white background.

Or upload a photo

Drop it here, paste with Ctrl+V, or

A JPEG or PNG photo. It never leaves this device.

The DGIP online passport portal wants a 35×45 mm photo with a white background, and the file must not exceed 20 KB. That limit is the hard part: a normal phone photo is 2 to 5 MB.

The tool frames your head to 29 to 34 mm, whitens the background on your device, and then searches for the highest JPEG quality that still fits under 20 KB. If needed it lowers the pixel size a little. The result card shows the exact size of the file you got.

The official requirements

Size35×45 mm
File we make413×531 px
Head (chin to crown)29–34 mm (64%–76%)
Backgroundwhite
File size≤ 20 KB
FormatJPEG or PNG

“should be 45 millimeters (mm) high by 35mm wide”
Photograph requirements, DGIP e-Services portal

“The digital file size of the photograph should not exceed 20KB.”
Photograph requirements, DGIP e-Services portal

Last checked 3 November 2026. Rules change: open the official page before you apply.

Things the tool can't check for you

  • No sunglasses or tinted lenses; no frames or glare over the eyes.
  • Plain white background.
  • Taken in the last 6 months.

How to do it

  1. Take or upload a photo against a plain wall.
  2. Check the framing and the background.
  3. Download the photo. It is saved at 20 KB or less.
  4. Upload it on the DGIP portal (onlinemrp.dgip.gov.pk).

Private by design

Face detection and background removal run on your device with Google's open MediaPipe models. Your photo is never uploaded, stored or used for anything else. The download is free, full size and has no watermark.

Only need a file under a KB limit, with no face framing? Try Resize photo to 20 KB, which sets the KB, pixels and DPI for any photo, scan or signature.

Does the application want a certificate, ID proof or the signed form as a PDF too? Compress the PDF to a set KB, without uploading it.

Questions people ask

What is the photo size for a Pakistan passport online?

45 mm high by 35 mm wide, with the head between 29 and 34 mm, on a plain white background. The file must be 20 KB or less, in JPG or PNG.

How do I get my photo under 20 KB?

Download it from this page. The tool lowers the JPEG quality step by step and, if needed, the pixel size, until the file fits, and tells you the final size.

Can I wear glasses?

No sunglasses or tinted lenses, and no frames or glare over the eyes. Taking them off is safest.

Is this for the NADRA CNIC or NICOP too?

Not yet. NADRA captures photos live in the Pak-ID app or at a centre, and we have not been able to confirm an upload spec.

Is my photo uploaded?

No. It is processed in your browser.

All images tools