Background Remover

Estimate portrait foreground transparency locally with a portrait-focused MODNet model and export PNG. Same-origin assets load on first use; no upload or quality guarantee.

  • Images
  • Remove background
  • Local processing for supported tools
  • No queue, no waiting room

Background Remover

No upload for supported tools — the file is processed by this browser Up to 20 MiB

What this tool does

Background Remover is a portrait-matting tool. It estimates which pixels belong to a person in a portrait and writes those estimates into a transparent PNG alpha channel. The bundled MODNet model is portrait-focused, and this page makes no foreground-masking claim beyond portraits. Even on a portrait, hair, veils, glass, shadows, low contrast and fine edges can be classified incorrectly. The result is an estimate to inspect, not a quality guarantee or a replacement for a manual layer editor.

On first use, the browser loads the packaged Apache-2.0 Xenova/modnet q8 model, Transformers runtime and ONNX Runtime Web assets from this same origin. The selected image bytes then move to a fresh dedicated worker and inference uses only the WebAssembly execution provider. Remote model fallback is disabled, so a missing local asset produces an error rather than sending the image to another service. The worker is terminated after success, failure, cancellation or timeout. This remains Limited / Beta; keep the untouched portrait and review the mask over contrasting backgrounds.

Preservation and limits

Inputs are limited to JPEG, PNG or WebP files up to 20 MiB, 8,192 pixels per side, 16 million source pixels and a 4:1 maximum aspect ratio. Transparent PNG output is capped at 64 MiB. Web Worker, WebAssembly, createImageBitmap and OffscreenCanvas support are required.

Model and runtime loading plus decoded pixels can use substantially more memory than the compressed file size. The new PNG does not preserve source metadata, animation or exact color-profile representation. No portrait quality level, edge accuracy or production-ready cutout is guaranteed, and an unsupported browser, unavailable same-origin asset, timeout or memory limit returns an error with no partial download.

How to Use Background Remover

Use the supported inputs and settings described below.

  1. 1Choose the input

    Choose one supported portrait and keep the original. Use a clear view of a person, staying within the byte, side, pixel and aspect-ratio limits.

  2. 2Check the settings

    Expect the same-origin model and WASM runtime to load on first use. There is no alternate online model, provider selector or manual mask control.

  3. 3Run the action

    Select Remove background. Direct image bytes are transferred to a disposable worker, which validates them and runs the q8 model with the WASM-only provider.

  4. 4Review the result

    Download the PNG only after checking face, hair, clothing and edges over light and dark backgrounds. Use a dedicated editor when the estimated alpha is unsuitable.

Background Remover questions

Answers about this specific workflow, not a promise for every file.

Is my portrait uploaded for background removal?

No. The image is transferred directly to a same-origin browser worker. Model and runtime assets are downloaded from this site on first use, but remote model loading is disabled and the portrait is not sent to an online segmentation API.

Will every portrait get a clean transparent background?

No. MODNet produces a probabilistic portrait alpha estimate. Hair, translucent materials, shadows and low-contrast edges can be wrong, and this Limited / Beta tool provides no quality or commercial-cutout guarantee.

Why is the result a PNG?

PNG can store the estimated alpha channel. JPEG cannot retain transparency. The PNG is a newly encoded delivery copy, so keep the source portrait and do not expect its original metadata or color-profile representation.

Why can portrait matting stop or fail?

The dedicated worker has a hard time limit and requires Web Worker, WebAssembly, createImageBitmap and OffscreenCanvas support. Missing same-origin assets, excessive dimensions, memory pressure or model errors stop the worker and return no partial output.

Same source format, reverse conversions and relevant alternatives.

Images

Compress JPG, PNG or WebP locally using quality, maximum width or a best-effort target size. Free, no image upload or signup. Smaller output is not guaranteed.

Compress image

Image Resizer

Images

Resize images by pixels, percentage or physical units with DPI-based calculation. Fit a target box without distortion. Free, local processing; no image upload or signup.

Resize image

Image Cropper

Images

Crop a supported image with the local selection editor and download a separate copy. Free, no signup or upload. Pixels outside the selection and source metadata are not retained.

Crop image

Re-encode supported images locally to discard source metadata in the exported copy. Free, no upload or signup. Visible pixels and filenames can still identify people or places.

Remove image metadata

Rotate images clockwise or counterclockwise in right-angle steps and flip horizontally or vertically, with a local preview and download. Free, no upload.

Rotate or flip image

Add a supported text watermark to an image locally using the offered text and placement controls. Free, no upload or signup. The exported watermark is flattened into pixels.

Add text watermark