Image

Background Remover

The Background Remover cuts the background out of a photo using an ONNX segmentation model that runs locally through WebAssembly. The model downloads once and is cached, so your image is processed on your own device and never uploaded.

Last updated · Free, no signup

Loading interactive Background Remover…

How does local background removal work?

Background removal uses an image-segmentation model to estimate which pixels belong to the foreground subject and outputs an image with the predicted background made transparent. It works best when the subject has clear visual separation and can struggle with hair, glass, shadows, fine edges, or similar foreground and background colors.

The @imgly/background-removal ONNX model runs through WebAssembly on the device after a 40–80 MB model download that can be cached. JPEG and PNG inputs are processed without uploading the image. First use may be slow, and output should be inspected at full size before production use.