How to Resize & Format a Visa or Passport Photo in 3 Steps
-
Choose your country & background preset
UK Passport & Visa (413×531 px) is already selected. The tool sets the exact pixel dimensions, 1 MB limit, and light grey background automatically — or switch countries from the dropdown.
-
Upload & frame your face inside the biometric guide
Drop a clear front-facing JPG, PNG, or WebP photo. Drag the photo or use the zoom slider and mouse wheel until your head fits between the two oval outlines and your eyes sit inside the shaded band.
-
Check size & format, then download
The live size & format panel checks your finished file for JPEG format, exact pixel dimensions, and byte size limit. Once all checks turn green, click Download to save your photo.
Why Visa Portals Reject Photos: The Technical Root Cause
Online visa applications—including the US DS-160, UK Visas & Immigration, Schengen portals, and IRCC Canada—run an automated pre-check before any officer sees your photo. That check reads the file header, aspect ratio, exact pixel dimensions, and byte size. A standard smartphone photo is rectangular (usually 4000 × 3000 px) and 3 to 8 MB, which immediately fails portals demanding a 600 × 600 px square or a 35 × 45 mm portrait under 240 KB or 500 KB.
To pass without visible compression artefacts, two things must happen together: first, the image must be cropped to the exact country aspect ratio so the head fills 64–76% of the frame height (29–34 mm of 45 mm); second, the JPEG encoder must find the highest quality level that fits under the portal’s byte ceiling. This tool performs a binary search across JPEG quality levels in your browser so your photo stays sharp while staying strictly below the limit.
Keep in mind that cropping and compression solve the digital file specifications. You still need a plain, shadow-free background, even lighting on your face, open eyes, and glasses only if you must wear them — never sunglasses or tinted lenses, and no glare — so the biometric review accepts the photo.
UK passport photo rules at a glance
- Printed size: 35 × 45 mm (413 × 531 px at 300 DPI); head 29–34 mm from crown to chin.
- Digital (HMPO online): at least 600 × 750 px, 50 KB–10 MB, taken in the last month; HMPO crops it for you.
- Background: plain cream or light grey for printed photos, plain light-coloured for digital; no shadows.
- Glasses: only if you must wear them — never sunglasses or tinted lenses, and no glare.
- Printed photos: 2 identical, professionally printed, unaltered by software, not a cut-down version of a larger picture.
Check the official rules on GOV.UK: Get a passport photo before you apply. For the full walkthrough, see our UK passport photo size guide.
Manual Method vs GridFix Browser Tool Comparison
| What you need | Manual method | GridFix browser tool |
|---|---|---|
| Multi-country pixel & mm sizes | Look up DPI conversions (e.g. 35×45 mm = 413×531 px) and set canvas dimensions manually. | One-click presets for US, UK, Schengen, Canada, India, Australia, and Custom sizes. |
| Strict KB ceiling (e.g. 240 KB) | Export repeatedly at different JPEG quality percentages until the file fits. | Binary-searches the highest JPEG quality that stays strictly under the country KB limit. |
| Head & eye biometric alignment | Measure head and eye positions by hand with a printed ruler. | Dynamic oval & eye-band overlay updates automatically for each country’s aspect ratio. |
| Background colour presets | Manually sample hex codes for white vs light-grey passport rules. | Auto-selects the country’s standard background with quick swatches and custom colour picker. |
| Identity photo privacy | Many online passport tools upload your face photo to remote servers. | 100% browser-based processing. Your photo never leaves your device. |
| Cost & watermarks | Paid visa photo apps or studio fees per digital copy. | Completely free, unlimited downloads, zero watermarks. |
Need to resize a general product or social image to arbitrary dimensions? Use the GridFix Image Resizer.
Frequently Asked Questions
What size does a UK passport photo need to be?
UK passport photos are 35 × 45 mm, which is 413 × 531 pixels at 300 DPI, in colour against a plain light grey or cream background. Selecting "UK Passport & Visa" sets the output to exactly 413 × 531 pixels and a file under the 1 MB limit.
Can I use this photo for the HMPO online application, or only for printed photos?
This preset produces the printed 35×45 mm file (413×531 px) used for paper applications and photo booths. For the HMPO online application, GOV.UK wants a digital photo at least 600×750 pixels and 50 KB–10 MB, taken in the last month — and HMPO crops it for you, so upload your original photo, not a pre-cropped one. Use this tool for the printed photos, and your original file for the online form.
What background does a UK passport photo need?
Printed photos need a plain cream or light grey background; digital photos need a plain light-coloured background. Either way there must be no shadows, patterns, or other people or objects, and your face must contrast clearly with the background. This tool defaults to light grey for the UK preset.
How big should my head be in a UK passport photo?
From the crown of your head to your chin, 29–34 mm — that is what the biometric guide ovals on this page check. Frame your head between the green and blue ovals and keep your eyes inside the shaded band. Do not wear glasses unless you must; if you do, they cannot be sunglasses or tinted, and there must be no glare or reflection.
Why was my UK passport photo rejected?
The most common HMPO rejections are shadows on the face or background, hair across the eyes, glasses glare, a head outside the 29–34 mm range, and a photo older than a month for online applications. Printed photos are also rejected if they are a cut-down version of a larger picture or have been altered by software — so take a fresh photo for each application.
Is my passport or visa photo uploaded to any server?
No. Your photo is decoded, cropped, and compressed locally by JavaScript inside your browser tab. Nothing is ever uploaded to GridFix or any external server, keeping your identity photo completely private.