Skip to main content
Irreva logo
Explore Irreva
ImageJune 16, 2026· 6 min read

Best Background Remover for Passport Photos

Hasanur Rahman

Written by Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

Passport and visa photos have strict background requirements: most countries specify a plain white or off-white background with no shadows, patterns, or objects. If your photo has the wrong background, it gets rejected at the post office or during online application submission. Getting the background right used to mean a professional photo booth. Today you can do it in your browser in under a minute.

Official background requirements for passport photos

The United States, United Kingdom, Canada, and most other countries specify a plain light-colored background — typically white or off-white — with no texture, pattern, or colored backdrop. Shadows on the background are explicitly prohibited.

Online passport photo services and government application portals often include automated rejection for backgrounds that do not meet the spec. A bright white background with no gradation is the safest choice across the widest range of countries.

Some countries specify slightly different tones. The UK specifies a plain cream or light gray background as acceptable. India accepts white. The US requires white or off-white. When in doubt, pure white works almost everywhere.

  • US passport — plain white or off-white background
  • UK passport — plain cream or light gray background
  • Canadian passport — plain white background
  • Schengen visa — plain white background
  • Indian passport — plain white background

Why the Portrait engine works better for passport photos

A general-purpose segmentation model handles most subjects well. For passport photos — close-up headshots where hair edges, ear contours, and shirt collars matter precisely — a portrait-specific model produces noticeably cleaner results.

The Irreva Background Remover includes a Portrait engine (U2Net Human Seg) trained specifically on human subjects. It is more accurate around hair flyaways, glasses frames, and collar edges than a general model.

For passport photos, always select the Portrait engine. The initial model download is larger (~176 MB) but it only happens once and caches in your browser for all future uses.

Step-by-step: passport photo background removal

Take your photo in front of a plain wall — ideally light-colored to make the AI's job easier. Good lighting is more important than a perfect backdrop: even a slightly off-white wall will be removed cleanly if the lighting is even.

Open the Irreva Background Remover. Select the Portrait engine from the engine selector. Upload your headshot.

Once processed, download as JPG. JPG fills the removed background with white automatically — exactly what most passport applications require. If you need transparency instead (for a photo editing app), download as PNG.

Check the result carefully around hairline edges, ears, and shirt collar. Those are the areas most likely to need minor clean-up for formal document submission.

If the output will be used for a printed passport photo, ensure the dimensions and DPI meet the country-specific requirements before printing. Most countries require 35×45mm at 300 DPI.

Common passport photo rejection reasons

Background not plain white: shadows from the subject falling onto the backdrop are the most common cause. Avoid photographing close to a wall — step the subject at least one meter away from any background surface to prevent shadow bleed.

Hair merging with background: when hair color is similar to the background, the AI may not detect the full hairline cleanly. Use a background color that contrasts with the subject's hair. For dark hair, a white wall works well. For very light or blonde hair, a soft blue or gray can create enough contrast.

Colored clothing blending into edges: if a shirt is white and the background is white, the collar edge becomes ambiguous. Wearing a clearly contrasting top helps both the AI and human reviewers identify the boundary.

Low image resolution: passport photo portals often check minimum resolution. Start with a full-resolution phone photo, not a compressed social media export.

  • Stand away from any wall to eliminate background shadows
  • Wear clothing that contrasts with the background
  • Use even lighting — avoid harsh direct flash
  • Keep the face centered and filling 70—80% of the frame

Free vs paid passport photo tools

Paid online passport photo services charge per download and typically upload your image to their servers before processing. For a government ID photo, that raises reasonable privacy questions.

Browser-based AI tools like the Irreva Background Remover run entirely on your device. The model weights download once; your photo pixels never leave your browser. There is no per-photo charge.

The main limitation of free browser tools compared to paid services is the absence of automated compliance checking — the paid tools will flag if your photo fails specific country rules. For the background requirement specifically, downloading as JPG handles the white fill automatically. For full compliance verification including dimensions and face positioning, check the official requirements manually or use a dedicated passport photo compliance checker.

Frequently Asked Questions

Which engine should I use for a passport photo?

Always use the Portrait engine. It is trained specifically on human subjects and produces more accurate edges around hair, ears, and collars compared to the general-purpose engine.

Do I download as PNG or JPG for a passport photo?

Download as JPG. JPG fills the removed background with white automatically, which meets the white background requirement for most countries without any extra steps.

Will the background look exactly white or off-white?

Downloading as JPG via the Background Remover fills transparent areas with white (#ffffff). That meets the pure white requirement for the US, Canada, India, and most Schengen applications.

Can I use this for a visa photo too?

Yes. Visa photo background requirements are typically identical to passport requirements — plain white or off-white with no shadows. The same workflow applies.

Is my passport photo uploaded to Irreva's servers?

No. The AI model runs in your browser. Your photo never leaves your device, which is important for sensitive ID documents.

Hasanur Rahman

About the author

Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

Hasanur Rahman is the founder of Irreva and a full-stack developer based in Rangpur, Bangladesh. He builds all of Irreva's tools with a focus on privacy-first, browser-based processing.