ID Photo Background Changer – Recolour ID Photo Backgrounds Online
Change ID photo backgrounds online for free: white to blue, red, grey or any custom colour, cropped to 9 country specs. AI background removal, fully local — photos never uploaded.
Runs on your device — nothing is uploaded
Drop an ID photo here
or click to choose a file · JPG, PNG, WebP, HEIC · stays on your device
Up to 20 photos at once
Original
Result
Your result will appear here
Solid background detected — done instantly, no download.
Background is not a flat color. Click “Optimize with AI” for a better cutout.
Loading image…
Could not read this image. Try JPG, PNG, WebP or HEIC.
Downloading the AI model — it only has to happen once.
Separating the subject…
AI cutout applied. Fine-tune the edge below if needed.
The AI model could not run here. Staying on the instant solid-color result.
photos
ID photo sizes reference
The two sizes people ask about most are the 1 inch photo (25×35 mm, 295×413 px) and the 2 inch photo (35×49 mm, 413×579 px). For passports and visas, the most widely accepted specification is 35×45 mm (413×531 px); the United States requires 2×2 inches (51×51 mm, 600×600 px).
Every size this tool supports, in millimetres and in pixels at 300 dpi. Sizes commonly used in your region are listed first and marked below.
| Name | Size | Pixels (300 dpi) | Note |
|---|---|---|---|
| US 2×2 in | 51×51 mm | 600×600 | |
| Small 2 inch / passport | 35×45 mm | 413×531 | |
| 1 inch | 25×35 mm | 295×413 | |
| 2 inch | 35×49 mm | 413×579 | |
| Large 1 inch / visa | 33×48 mm | 390×567 | |
| Small 1 inch | 22×32 mm | 260×378 | |
| Japan 45×35 mm | 45×35 mm | 531×413 | |
| 3×4 cm | 30×40 mm | 354×472 | |
| Turkey biometric | 50×60 mm | 591×709 |
Pixel figures are calculated from the physical size at 300 dpi for printing. Requirements differ by country and by authority — always check the official specification for your application before you print.
The two most frequent reasons an ID photo gets sent back: the wrong background colour (white required, blue submitted) and the wrong size (one-inch handed in as two-inch). Reshoots mean time off work, queuing and paying again — while both problems are, at the pixel level, purely deterministic transforms.
This tool actually replaces the background of an ID photo in the browser: an AI model cuts out the portrait mask, separates it completely from the old background, and recomposites it onto a solid new one — white, blue, red, grey, light blue or a custom colour — while cropping to the target spec. The photo never leaves your device, which matters most for identity documents.
Background-change steps
Drop in the ID photos
Drag in or pick files; multiple photos can be batched. The segmentation model runs locally with the page — downloaded once on first use (about 4.4MB), served from cache afterwards.
Pick a spec
Choose from a dropdown of nine common specs: the one-inch / two-inch Chinese sizes, Schengen 35×35, US 2×2 inch, Japan 45×35, Turkey biometric photo and others (full table in the next section). All pixel values are converted at 300dpi print density — directly usable.
Pick a background colour
Five presets — white, blue, red, grey, light blue — or any colour via the colour picker. The background change is a recomposite, not a colour-filter tweak — every patch and shadow of the old background is left behind.
Fine-tune the edges and download
If the hair edges carry a residual halo of the old background colour, two parameters fix it: edge softening makes the transition natural, and colour-edge removal contracts the mask inward, cutting off the leftover old colour. Download one by one or batch into a ZIP.
The nine specs: how millimetres and pixels convert
The specs are authoritative in millimetres (every country's rules are given in mm/inches), and pixels convert as px = mm ÷ 25.4 × 300 — 25.4 being millimetres per inch, 300 the standard print density:
| Spec | Millimetres | Pixels (300dpi) | Common use |
|---|---|---|---|
| One-inch (CN) | 25×35 | 295×413 | Chinese CVs, application forms |
| Small one-inch | 22×32 | 260×378 | Driving licence, some exams |
| Large one-inch | 33×48 | 390×567 | Some government documents |
| Two-inch (CN) | 35×49 | 413×579 | Visas, some documents |
| Small two-inch | 35×45 | 413×531 | Schengen visa, passport |
| US 2×2 inch | 51×51 | 600×600 | US visa, passport |
| Japan 45×35 | 45×35 | 531×413 | Japanese CVs, certificate photos |
| 3×4 | 30×40 | 354×472 | Brazil, Indonesia and others |
| Turkey biometric | 50×60 | 591×709 | Turkish documents |
Why the conversion matters: when an application system says "no less than 295×413 pixels", it refers to 300dpi print density — the pixel values in this table satisfy it directly. Small images blur when enlarged: if the source photo's resolution falls below the target pixels, first check whether it is really enough rather than stretching it.
Every country has its own rules on background colour, head-height ratio and expression — changing the background and cropping solve only two of them. The full pre-submission checklist is in the ID photo size guide.
Frequently asked questions
White to blue — will there be a white fringe at the edges?
The method cuts out the portrait's alpha mask and composites it onto the new background; the old background takes no part in the output — so in theory there is no white fringe. Where problems actually appear is soft edges like hair strands, and the two parameters exist for exactly that: colour-edge removal contracts the mask inward and cuts off residual old colour, edge softening keeps the transition from looking hard. The recommended order: contract first, then soften.
Does changing the background degrade photo quality?
The portrait area is preserved at original resolution, not resampled; edge feathering affects only the transition band. Output is JPEG at 92% quality — the usual delivery format for ID photos, hard to tell from the original at normal viewing. If the upload system imposes a hard file-size limit, use the photo compressor afterwards rather than fiddling around at the background-change step.
What photos work best for background changes?
Photos where subject and background contrast clearly: studio-shot ID photos, selfies against a plain wall. When the old background is busy patterned or in the same colour family as the portrait, the small model's mask will slip — in that case it is more reliable to fix the mask with the brush tool of the online background remover first, then come back and composite.
Can I switch to a gradient or picture background?
This tool is built for ID photos and outputs solid backgrounds — country regulations only accept solid colours anyway. To composite onto arbitrary backgrounds, use the online background remover to get a transparent PNG, then composite freely in a design tool.
In batch mode, can each photo use a different spec?
The spec is a session-level setting, applied uniformly to the whole batch. Run different-spec batches in two rounds — your settings and preferences (favourite spec, background colour) are remembered, so switching for the next round is quick.
Will my ID photos be uploaded?
No. The segmentation model, compositing and export all run on the page, verifiable in the network panel. Identity documents are exactly what this local processing is made for.
Guides
Longer write-ups on the things these tools deal with: file formats, size limits, and the algorithms behind them.