Background remover

AI portrait cutout or solid-colour background removal. Choose portrait AI for people. For products on a plain backdrop, use solid-colour removal and click the background. Inspect edges before exporting; hair, glass and similar foreground/background colours can be difficult.

PNG, JPEG and WebP · up to 20 MB and 24 megapixels. Large images are reduced to a 4096px longest edge for editing. Keep your original file.

Enable JavaScript to edit your image.

SVG editor

How this workspace works

1. Remove background

Choose portrait AI for people. For products on a plain backdrop, use solid-colour removal and click the background. Inspect edges before exporting; hair, glass and similar foreground/background colours can be difficult.

2. Resize

Enter dimensions in pixels. Lock proportions to avoid stretching. Centre-crop fills the target size and may trim the edges; contain fits the whole image inside it.

3. Compress & download

PNG keeps transparency without a quality slider. WebP supports transparency with adjustable quality. JPEG replaces transparency with the selected background colour. A smaller quality value does not guarantee a smaller file than your original.

Plain-background removal: check what disappeared

The geometric examples use our demonstration graphic; the separate photo cases use credited public photographs. These are controlled tests, not customer experiences. Download the exact input and outputs to inspect the result yourself.

800 by 600 input: blue bottle-shaped object and yellow circle on a pale background.
Original input: 800 × 600 · 16,779 bytes

Open the 800 × 600 input below. Select solid-colour removal, click the pale backdrop and use tolerance 35. Set 400 × 300 and export PNG. Compare the blue shape and yellow circle against the original before downloading.

The colour method removes matching pixels throughout the image, including disconnected regions. It does not understand which object you intended to keep. A white label or pale highlight can disappear with a white backdrop. Restore the original before changing tolerance if important details are missing.

This geometric sample validates solid-colour removal only. It does not demonstrate portrait-AI quality. Use portrait AI for people, and inspect hair and edges against both light and dark backgrounds. Glass, product shadows and similar foreground/background colours need extra care.

Transparent PNG · 400 × 300
Transparent PNG · 400 × 300 · 6,343 bytes
Download this result
White JPEG · 400 × 300
White JPEG · 400 × 300 · 5,440 bytes
Download this result

Portrait AI on a public photograph: inspect the edges

We opened the NASA portrait of Eileen Collins below in this site’s existing tool, ran portrait AI, and exported transparent PNG at the original 512 × 512 size. The input is 791,555 bytes; the actual browser export is 361,936 bytes. No resize was applied. This is one reproducible test, not a customer endorsement or a promised result for every photo.

Original NASA portrait
Original NASA portrait · 512 × 512
Download this portrait file
Actual AI cutout on a dark preview background
Actual AI cutout on a dark preview background · 512 × 512
Download this portrait file

The person and held helmet remain, while most of the backdrop is transparent. A pale fringe is still visible around the hair and outer edges on the dark preview. Inspect the downloaded file against the background you intend to use; keep the original if that edge is unsuitable. The geometric colour-removal example above uses a different method.

Reproduce: download the original, open it, select “Remove portrait background (AI)”, then choose PNG and a transparent background without changing the dimensions. First use downloads model/runtime files; speed and edge quality vary by device and image.

Credit: NASA · Eileen Collins, via scikit-image public-domain image documentation. Used for an editorial processing test; no affiliation or endorsement is implied. Source and usage notes · Export record

From a saved AI cutout to a reusable profile banner

Start with the saved 512 × 512 AI cutout from the credited NASA portrait case. We reopened that exact 361,936-byte file in this workspace, unlocked proportions and selected 400 × 300 with Contain. This follow-up test changes the layout and export format; the original AI edge limitations still apply.

The scale is min(400/512,300/512)=0.5859375. The portrait canvas becomes 300 × 300 inside a 400 × 300 output, leaving 50px on each side. The subject is not stretched to 4:3. With Centre-crop instead, the square would scale to 400 × 400 and lose 50px above and below; that can cut off the head or held object.

PNG · transparent · 400 × 300
PNG · transparent · 400 × 300 · 132,565 bytes
Download the actual export
WebP 85 · transparent · 400 × 300
WebP 85 · transparent · 400 × 300 · 21,436 bytes
Download the actual export
JPEG 85 · white background · 400 × 300
JPEG 85 · white background · 400 × 300 · 18,277 bytes
Download the actual export

Suppose an upload requires transparency and a maximum of 100 KB (100,000 bytes). PNG is over that limit here; the 21,436-byte WebP meets both conditions if the destination accepts WebP. The 18,277-byte JPEG is smaller but its white rectangle will cover a coloured page background. If the destination accepts only transparent PNG, keep that requirement and adjust dimensions or use another preparation method; changing to JPEG does not satisfy it.

These browser downloads use the same 400 × 300 pixels. Size changes from the 512 × 512 input include resizing as well as encoding. WebP/JPEG are lossy; inspect hair and helmet edges against your intended background. Credit: NASA · Eileen Collins. Source and usage notes · Settings, bytes and transparency record

Geometric fixture export date: 17 November 2026; photograph exports: 19 November 2026. Explanation reviewed: 19 November 2026. Layout values are rounded; re-encoding in another browser may produce different bytes.

Your image is processed on this device. Portrait AI downloads a model from Hugging Face; image pixels are not sent there. Site analytics and advertising may make separate network requests.

MODNet / Xenova (Apache-2.0) · License