Passport Photo Size in Pixels - Resize Online
Passport and visa forms ask for exact pixel sizes, and the print size is not the same as the online upload size. Here are the verified numbers for Pakistan and the US, and how to resize a photo to match them.
The sizes that matter most: a Pakistan passport photo print is 35x45 mm, which is 413x531 pixels at 300 DPI (or 827x1063 at 600 DPI). But the DGIP e-Services online upload asks for something different: 350x467 pixels, JPEG, maximum 3 MB. Do not mix the two up, because a print-size file is not what the portal asks for.
For a US visa photo, the print size is 2x2 inches (51x51 mm). The digital upload must be a square JPEG from 600x600 to 1200x1200 pixels, no larger than 240 KB, with the head taking 50 to 69 percent of the image height. Always check the exact form you are submitting to, because portals update their requirements.
To resize, upload the photo and enter the exact pixels for your case: 413 x 531 for a print, 350 x 467 for a DGIP online upload, or 600 x 600 for a US visa photo (any square size up to 1200x1200 works for the US upload). The aspect lock stays off, since a normal phone photo is not shaped 35:45. Forcing exact pixels stretches the photo slightly, so start with a photo that is already framed close to the right shape.
Resizing changes pixel size only. It does not fix background color, lighting, head size or framing rules. A passport photo still needs a plain white background, a centered face, no glasses for US photos, and no shadows, so check the official photo rules before you submit. Everything runs in your browser, so the photo is never uploaded to a server, which matters for an ID photo.
How it works
- 1Upload your photo. Drop a JPG, PNG or WebP photo into the box.
- 2Enter the exact pixels. 413 x 531 for a print, 350 x 467 for a DGIP online upload, or 600 x 600 for a US visa photo.
- 3Download the result. Your photo downloads at exactly the pixel size you entered.
Frequently asked questions
What size is a Pakistan passport photo in pixels?
For a print: 35x45 mm, which is 413x531 pixels at 300 DPI (827x1063 at 600 DPI). For the DGIP e-Services online upload: 350x467 pixels, JPEG, maximum 3 MB. These are different numbers, so use the one your form asks for.
What about NADRA Pak-ID uploads?
Pak-ID asks for around 354x472 pixels, under 300 KB. That is close to, but not the same as, the DGIP 350x467 size, so follow the exact spec shown on the portal you are using.
What size is a US visa photo in pixels?
Print: 2x2 inches (51x51 mm). Digital upload: a square JPEG from 600x600 to 1200x1200 pixels, no larger than 240 KB, with the head taking 50 to 69 percent of the image height. Glasses are not allowed in US visa photos.
Does resizing fix the background or framing?
No. It only changes the pixel size. Background color, lighting and head position still need to meet the official photo rules.
Does DPI matter for uploads?
For online forms, the pixel size is what matters. DPI only controls how large the image prints: at 300 DPI, 413x531 pixels print at exactly 35x45 mm.