What changes
The result adds an alpha mask; fine hair, glass, shadows and similar foreground/background colours can be partially removed.
Create a transparent PNG with a local portrait model. Your image never leaves the browser.
Runs locallyNo uploadYou control saved copies
Best for people and portraits. The first run loads about 20 MB of versioned model/runtime files from this website and caches them.
Fine hair, transparent objects and busy backgrounds may need manual cleanup in another editor. There is no mask-repair brush here. Device limits can downscale large outputs on desktop as well as phones.
Inference runs in a worker. Your image is never uploaded.
A self-hosted segmentation model estimates the foreground mask in a worker and writes transparency into a new PNG. No image is sent to a model API.
The result adds an alpha mask; fine hair, glass, shadows and similar foreground/background colours can be partially removed.
Place the PNG over both a light and dark background to reveal halos or missing areas. Keep the source for manual correction if needed.
The first use loads a large public model from this site. Device limits can downscale output, including on desktop. There are no manual mask-repair controls; inspect the cutout before using it.
Background removal estimates which image areas belong to a person and makes the rest transparent. This portrait model suits a clearly separated person better than glass objects or crowded scenes. It creates a new PNG without changing the original.
Completion does not prove accuracy. Hair, clothing, shadows and held objects can be removed or retained incorrectly. Inspect the cutout against contrasting backgrounds before downloading a transparent or solid-colour version.
| Your situation | Recommended approach |
|---|---|
| A person stands clearly apart from the background | Try the portrait model, then inspect the entire outline. Similar foreground and background colours can still confuse the mask. |
| You need a cutout for another design | Keep Transparent selected and download the PNG. Retain that transparent copy before flattening it onto a colour elsewhere. |
| You want a plain coloured background | After removal, choose White, Black, Soft gray or a Custom colour. These controls put colour behind the same cutout; they do not improve the model's edge decisions. |
| The image is for an application or identity document | Check the receiving authority's current rules before editing. A plain background does not establish that retouching, this crop or this image is acceptable. |
The illustrated-portrait.png sample is a synthetic 600 × 800 illustration, not a real portrait or an application-ready photo. It demonstrates the export and recolour workflow, not recognition quality on real hair or skin.
Expected result. The workflow produces a transparent PNG and a separate PNG composited over white at 600 × 800 pixels. Our sample loses some shirt detail as well as its background. That observed failure is why successful export must not be mistaken for an accurate foreground mask.
The model has assigned a low-opacity mask to material that should remain. Busy backgrounds and fine or translucent details make separation difficult.
Try this: Try a clearer original with better separation, or use an editor with manual mask correction. This page has no erase or restore brush, and changing the background colour cannot recover a missing region.
The estimated edge contains background pixels or partly transparent mixtures of the subject and its surroundings.
Try this: Inspect at full size on contrasting colours. Keep the source for manual cleanup rather than assuming a colour that hides the halo has corrected it.
The browser needs model and runtime assets from this website before local inference starts. The worker can also fail when required browser features or memory are unavailable.
Try this: Allow asset downloads, retry after a network failure, or try a smaller source in a supported browser. Local processing does not mean an uncached first run requires no network.
The viewer may display transparent areas on white, or White may have been selected before downloading.
Try this: Check the selected background and place the file over a coloured surface. Choose Transparent and download again when an actual alpha channel is needed.
Your files and form values are processed on this device. Downloaded copies remain wherever you save them. See how to check local processing and our privacy policy for site data and optional services.
Maintained by Shakti Prasad Ram. Found a mismatch? Report the tool, browser and steps without sending a sensitive document. Back to the tool