Skip to content
ToolsOnDuty - free online tools
Image Tools

Passport Photo Background Changer

Change a passport or ID photo background to white, blue, red, green or black in your browser.

Free browser toolRuns in your browserNo sign-up

ID photo preparation

Prepare a clean background variant

Separate the subject locally, compare the cut-out and choose a standard or custom background colour.

Browser processingNo source upload
Drop an image here, or click to choose
PNG, JPG, WebP, GIF and more. Nothing is uploaded.

The subject is separated from its background by an AI model that runs entirely in your browser. The first time you use it, a one-off model (about 40 MB) is downloaded and then cached, so your photo is never sent to a server.

Important: This tool does not certify passport or visa compliance. Confirm official dimensions, head size, expression, clothing and background rules for your destination.

About the Passport Photo Background Changer

Prepare a background-colour variant for a passport or ID photo. Pick white, blue, red, green or black, or choose a custom shade after checking the official requirement for your destination.

The subject is separated from its original background by an AI model that runs entirely in your browser. Your photo is processed on your own device and is never uploaded. The first time you use it, a one-off model (about 40 MB) is downloaded and then cached for next time.

It works best on photos with a clearly visible person and even lighting. Background replacement alone does not make a photo compliant with passport, visa or identity-document rules.

Key features

  • White, blue, red, green and black presets
  • Custom background colour picker
  • 35:45, square and 3:4 aspect-ratio presets
  • Custom output width and height up to 4000px
  • AI subject cut-out runs in your browser, no uploads
  • Download as JPG or PNG
  • Free, no sign-up and no watermark

How to use

  1. 1Drop or choose a clear, front-facing photo.
  2. 2Select Change background and wait a few seconds.
  3. 3Pick a background colour and choose neutral output dimensions.
  4. 4Check that centred cropping keeps the full head, hair and required shoulder area visible.
  5. 5Confirm official document rules, then download as JPG or PNG.

Examples

Prepare a white-background ID-photo variant
Input: Front-facing portrait, white background and 35:45 aspect ratio
Output: JPG or PNG with centred crop

This only prepares a variant; verify official dimensions, DPI, head position and acceptance rules independently.

Frequently asked questions

Is my photo uploaded to a server?
No. The AI model runs locally in your browser, so your photo never leaves your device. Only the model files are downloaded, once, from a public CDN.
Which background colours can I use?
White, blue, red, green and black are one click away, and a custom colour picker lets you match any specific shade a form requires.
Which photo works best?
A sharp, front-facing photo with even lighting and a clear gap between the person and the background gives the cleanest cut-out, just like standard passport guidance.
Does it set the passport size or crop the photo?
It can create common aspect ratios or custom pixel dimensions with a centred cover crop. These are convenience presets, not country-specific compliance presets, so verify the official physical size, DPI and head-position rules.
Does the tool guarantee passport or visa acceptance?
No. Requirements vary by country and document type. Verify current official rules for dimensions, head size, expression, clothing, shadows, background shade, print quality and digital file limits.

Open a related tool to prepare your files or refine the finished result.