add white background to photo
Swap whatever is behind your subject for plain white — for application photos, CVs, catalogues, or to fill in a transparent PNG.
Clean edges removes faint leftover background around the outline; soften edges blurs the cut so it blends in.
When you need plain white
Many applications, school forms and staff directories ask for a photo on a white or off-white background, and catalogues and print layouts look tidier with white behind every item. This page starts with the fast people model and a white backdrop; for objects, switch the model to “any object”.
If you only need to fill the transparent areas of a PNG with white (no AI needed), the image converter does that: convert PNG to JPG and pick white.
Step by step
- Drop your photo (iPhone HEIC works too).
- Pick the model: people for portraits, any object for products and things.
- Press remove background. White is already selected; pick off-white or light grey if your form asks for it.
- Download JPG.
Tips for a better result
- Even lighting on the face avoids dark shadows that look odd against pure white.
- Government ID photos often have rules on size, head position and background shade — check the official guidance and use the passport photo maker for sizing.
- Light-coloured hair and white clothes can blend into white: try light grey (#f2f2f2) for a visible edge.
How it works
Your photo is shrunk to about 1,024 pixels on its longest side and given to an AI segmentation model running in your browser (through Transformers.js and ONNX Runtime, the people model on the CPU, the any-object model on your graphics chip via WebGPU). The model returns a mask — how much each pixel belongs to the subject — which is scaled back up and applied to your full-resolution photo, then combined with the background you choose. Nothing is uploaded: the model files come from Hugging Face once, your browser caches them, and every image stays on your device.
people & portraits (fast)
MODNet — made for people — fast on phones, not for products or objects.
Download: ~25 MB, once. Works on any device.
MODNet by Zhanghan Ke et al. (City University of Hong Kong / SenseTime). Licence: Apache-2.0. Model card.
any object (best quality)
BiRefNet lite — products, pets, logos, people — bigger download, slower on phones.
Download: ~110 MB, once. Needs a computer whose graphics chip supports WebGPU with half-precision (fp16).
BiRefNet by Peng Zheng et al. (Nankai University). Licence: MIT. Model card.
Honest limits
- Hair and fur come out soft but not strand-perfect; very fine flyaways against a busy background may be lost.
- Glass, water, smoke and shiny metal show the old background through or in them — no mask can fix that.
- Low contrast (a white mug on a white table, dark hair on a dark wall) confuses every model; a photo with more contrast works best.
- Very large photos are processed at up to 16 megapixels so they fit in browser memory on phones.
- On phones the any-object model is slow and memory-hungry; the people model is quick everywhere.
Frequently asked questions
Will this be accepted for a passport?
We can't promise that. Passport offices check size, lighting, expression and sometimes reject edited photos. Use this to clean up the background, then check the official rules.
Can I get off-white instead of pure white?
Yes — use the colour picker or the light grey swatch.
Is my photo uploaded?
No. The AI runs in your browser and the photo stays on your device.
How is this different from the main background remover?
It's the same on-device tool with different starting settings and tips for this job. You can change the model and background at any time.