Image Background Remover
Cut a subject out of a photo on your device, refine the edge, choose a replacement background and export a PNG.
Image & refinement
no imageJPEG, PNG or WebP up to the browser's canvas limit. No photo is uploaded.
Estimate uses border color similarity: reliable for plain studio backgrounds, not semantic hair-level matting. No model download.
Cutout preview
waiting for imageChoose an image to create a cutout
Examples
White studio product shot
White backdrop, threshold 30, TransparentProduct on alpha 0 backgroundBorder pixels match the white estimate and are removed while the darker product stays opaque.
Marketplace listing
Solid color #f3f4f6Product on a neutral gray cardThe replacement layer is composited beneath the subject, not painted over it.
Jagged edge cleanup
Feather 0 → 5Wider partial-alpha bandFeather spreads the transition so a noisy border does not leave a stair-step outline.
About this tool
The Image Background Remover cuts a subject out of a photo on your own device. It estimates the background color from the image border, builds an alpha mask from per-pixel color distance, and lets you tune that mask with threshold, feather and edge shrink/grow controls. The result is a transparent PNG, or you can composite the cutout over a solid color, a subtle gradient or a blurred copy of the original.
This is a deliberately local, model-free approach: there is no WASM bundle or multi-megabyte model to download and no upload endpoint. It is a good fit for ecommerce photos and slides against a plain backdrop, where the border color is a reliable signal. It is not semantic segmentation: fine hair, glass, shadows and busy backgrounds can leave artifacts, and the tool says so rather than overselling a hair-perfect cutout.
Refinements update the mask from the untouched source pixels, so repeated slider changes never compound. Auto-crop trims fully removed margins to the subject bounds. All images stay in browser memory for the lifetime of the tab and are discarded when you close it.
What this tool does not do
- No semantic segmentation model: complex scenes and fine hair are not reliably separated.
- Background estimate assumes the image border is representative of the background.
- The PNG export uses browser canvas limits; extremely large images may need downscaling elsewhere.
- No brush touch-up or undo of individual mask strokes in this version.
How to use this tool
Choose an image
Pick a JPEG, PNG or WebP with the file control. The tool reads canvas pixels locally; nothing is sent anywhere.
Tune the mask
Raise Threshold when background remnants remain, lower it when the subject is being eaten; use Feather to soften a hard edge and shrink/grow for small adjustments.
Pick a background
Choose Transparent for an alpha PNG, or Solid color, Gradient or Blur original to place the cutout over a new backdrop.
Optional auto-crop
Tick Auto-crop to trim fully transparent borders down to the subject's bounding box.
Download
Download PNG writes the current composite as a local file with '-cutout' appended to the source filename.
Use cases
Ecommerce listings
Produce transparent product shots or consistent colored cards without uploading suppressed SKU photos.
Profile pictures
Cut a portrait out of a plain wall and place it over a brand color in a slide or avatar.
Quick thumbnails
Replace a busy background with a blurred version of itself so text overlays stay readable.
Replacement modes
| Mode | Result |
|---|---|
| Transparent | Removed pixels get alpha 0; subject keeps its original alpha |
| Solid color | Removed pixels are composited over the selected hex color |
| Gradient | Horizontal gradient from 60% to 100% of the chosen color |
| Blur original | A box-blurred copy of the source fills the removed area |
Threshold is a 0–100 color distance; feather multiplies a 0–10 slider by four to set the soft transition width. Export is PNG so alpha survives.
Frequently asked questions
Is my photo uploaded?
No. The image is decoded and processed with browser canvas APIs inside your tab. There is no network request carrying the photo, no model endpoint and no server storage. Closing the tab discards the image and the mask.
How good is the cutout on hair?
Fine hair and semi-transparent edges are the weak spot. This tool uses border-color similarity rather than a trained segmentation model, so strands that differ only slightly from the background may be removed. Raise feather for a softer edge, or choose a solid background that matches the subject's tones.
Is there a model to download?
No. The cutout uses a deterministic color-distance algorithm implemented in plain JavaScript, so the first cutout is as fast as later ones and there is no 80 MB WASM model. The trade-off is that it works best on plain, high-contrast backgrounds.
Can I refine the edges?
Yes. Threshold decides how close a pixel must be to the estimated border color before it is removed; Feather widens the soft transition; Edge shrink/grow erodes or dilates the mask by up to two pixels. Every change recomputes from the original pixels rather than stacking effects.
Does it work on products or only people?
Both, provided the background is comparatively uniform. Product shots on white or gray studio backdrops are the strongest case; a busy scene with many colors near the border is the weakest. Try threshold values between 20 and 50 first.
What does the PNG contain?
In Transparent mode the removed region has alpha 0 and the subject keeps its original alpha. In the other modes the background is replaced with opaque pixels. Auto-crop trims empty margins. The export is always PNG so transparency is not lost to JPEG compression.
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
Batch Image Resizer
Resize multiple images with width, height, percentage or max-dimension rules and renaming, privately.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns