The listing needs a white background by Friday

The marketplace rejects the photo with a form letter: backgrounds must be pure white, 85 percent of the frame minimum, subject centered. The product shot is good — the shoe is lit beautifully — but it was photographed on a wooden table because wooden tables photograph beautifully. Reshooting against white means booking the studio again, for a rule, for a deadline that is Friday.

The standard escape hatch is a cloud background remover, and the standard experience follows: upload, wait for a queue, receive a preview at reduced resolution, and discover that the full-resolution file — the one the marketplace actually needs — sits behind a credit subscription. The photo you needed in five minutes becomes a purchasing decision. Multiply by the forty remaining products and the reshoot starts looking cheap.

This tool takes the other route: the neural network runs on your machine, in your browser, through the same WebAssembly machinery that makes modern web apps fast. Drop the photo in, get a transparent PNG at full resolution, refine the edges with a brush if needed, download. No upload, no queue, no preview tier — and no image ever leaving your device, which for unreleased product photography is worth as much as the subscription you are not paying.

Removing a background in five steps

  1. Drop in the photo

    JPG, PNG, or WebP at any resolution. The first run of a session fetches the model file — several megabytes, cached afterward — and then inference is local from that point on.

  2. Let the model find the subject

    Automatic segmentation runs in a worker so the page stays responsive. A few seconds on typical hardware, longer for the first inference while the runtime warms up. The result is a soft alpha mask, not a hard cut.

  3. Refine with the brush

    Paint to restore areas the model missed or erase bits it kept — the brush edits the alpha channel directly, at adjustable size, with instant feedback on the transparent-background preview.

  4. Tune the edges

    Feathering softens the cut line by a few pixels, which reads as natural on hair and fabric. Edge offset shifts the mask in or out for the too-much-background or too-little-subject cases.

  5. Download the transparent PNG

    Full resolution, alpha channel intact, no watermark. Composite it onto white for the marketplace, onto brand colors for the campaign, or into layouts directly.

The neural network under the hood

The model is U²-Net, published in 2020 by Xuebin Qin and colleagues for salient object detection — the task of finding the single most visually prominent thing in an image and drawing a soft mask around it. The architecture is a nested U-structure: encoder blocks that compress the image into progressively more abstract features, decoder blocks that expand it back to a per-pixel mask, with residual connections that let a modest model reason about both fine detail and whole-image context. It was designed from the start to run well on limited hardware, which is precisely what makes it deployable in a browser tab.

The pipeline around the model is standard inference plumbing, worth knowing because it explains both the strengths and the artifacts. Your photo is letterboxed into the model's 320×320 input — resized to fit, padded to square — and normalized so pixel values sit in the range the network was trained on. Inference produces a 320×320 saliency map: one number per pixel, zero for certain background, one for certain subject, fractions in between. That tiny map is scaled back up to your original resolution, and the fraction at each position becomes the alpha value of the output PNG. This is why hair comes out with translucent strands rather than a jagged binary edge — the mask was always soft — and also why very fine detail can blur: the mask fundamentally has 320 pixels of resolution, interpolated upward.

Execution happens through onnxruntime-web, a WebAssembly build of a mainstream inference runtime, with WebGPU acceleration where the browser offers it. The model weights — the distilled memory of the DUTS training dataset — download once and cache, a few megabytes for the compact variant, roughly 170 for the full-resolution model. After that first load, the tool works offline: inference is just arithmetic on your CPU or GPU, and no part of it requires, or performs, any network activity with your image attached.

One architectural honesty note: salient object detection is not instance segmentation. The model has no concept of 'person' or 'shoe' — it finds prominence, the visual center of gravity of the frame. This is a feature for general photos (it cuts out statues, dogs, furniture, and pastries without being told what they are) and a limitation for specific ones (it will not give you every person in a crowd, and 'remove everything except the lamp' is not a question it understands). The brush exists for the gap between what prominence finds and what you meant.

A cutout, end to end

Trace one image through the whole pipeline — the wooden-table shoe shot, 2400×1800, a 620 KB JPG:

StageWhat happensNumbers
Input decodeJPG decoded to RGBA in memory2400×1800 = 4.32 million pixels
LetterboxResize to fit 320×320, pad to squareScale 0.1333 → 320×240, 40 px padding top and bottom
NormalizePixel values scaled to the model's range(value ÷ 255 − 0.5) ÷ 0.5, per channel
InferenceU²-Net forward pass, local320×320 saliency map out
Upscale maskBilinear interpolation to original size320×320 → 2400×1800, soft edges preserved
ComposeAlpha channel = mask; RGB = originalTransparent PNG, ≈ 3.4 MB
RefineBrush corrections on alphaTypical product shot: under a minute of touch-up
Seven stages, all local — the image crosses no network boundary at any point
From table to marketplace-ready

Input

Shoe on wooden table, 2400×1800 JPG, marketplace requires pure white background

Output

Transparent PNG from this tool, composited onto #FFFFFF with the White Background Adder — a listing-compliant image whose subject pixels are the original ones, untouched except at the boundary

The file size in that table is its own small lesson: transparent PNGs of photographs run large — 4.32 million pixels, each now carrying alpha, without JPG's compression. Keep the PNG as the master; deliver compressed derivatives per destination, via the format the platform prefers. The Instagram Profile Picture Resizer covers the circular-crop social case, and the Circle Image Cropper the general avatar one.

Hair, glass, and the halo problem

Every background remover — cloud, desktop, or this one — inherits the same physics, and the honest tool names the failures before you find them:

  • Edge halos. Where subject met background, the camera recorded blended pixels: part skin, part wall. A perfect mask removes the background's light but not its color already mixed into those pixels, so a fringe of the old scene can survive around the cutout. Feathering hides it; unmixing-style refinement reduces it; retaking the photo against a contrasting background avoids it.
  • Hair and fur. The soft alpha handles flowing hair against contrast remarkably well, and melts down on frizz against similar tones. The rule of thumb: if you can see individual strands in the original, the tool will keep some of them; if hair and background merge into one gray mass, budget brush time.
  • Glass and transparency. Wine glasses, eyewear, and sheer fabric are philosophically hard — the subject itself is semi-transparent, and the model's notion of 'the background behind the glass' is a guess. Expect usable-but-imperfect masks and plan on manual finishing.
  • Shadows. A contact shadow under a shoe is background to the model but depth cue to a human. Removing it flattens the product onto the white; keeping it violates strict marketplace white. Choose per platform, and the brush is how you choose.
  • Low subject-background contrast. The gray-cat-gray-couch regime. The model finds prominence through contrast; without it, masks drift. Recompose the shot rather than fighting the tool — or embrace the brush.
  • Multiple subjects of similar prominence. Salient detection picks one winner. For 'both people,' use the restore brush on the second figure; for crowds, honestly, use a different class of tool entirely.

Alpha matting versus chroma key: two heritages, one edge

Chroma key is the older trick, and everyone has watched it work on the evening weather forecast. The mechanism is a color test: pick a hue the subject never wears, light a backdrop in that hue, and the software replaces every pixel close enough to the key. The decision is binary — keyed or not — which is why keyed edges look razor-sharp on hard silhouettes and ragged on hair, where strands thin enough to read as mostly backdrop color get keyed away entirely. Green spill onto rim-lit shoulders is the signature artifact, and a subject who arrives wearing the key color is a reshoot, not an edit.

Alpha matting answers a subtler question: not 'is this pixel background?' but 'what fraction of this pixel is subject?' A boundary pixel that is forty percent hair and sixty percent wall was recorded by the sensor as a blend of the two, and matting solves for that fraction — the alpha value — so hair can stay semi-transparent instead of being judged all-or-nothing. The classical formulation needs a trimap: regions marked as certain subject, certain background, and an unknown strip along the boundary where the solver estimates alpha pixel by pixel. It is patient, precise work, which is why it priced itself out of casual use and spent decades in film compositing instead.

One boundary pixel, unmixed

Input

Observed edge pixel (166, 155, 143) — 40% dark-brown hair (62, 43, 28) blended with 60% pale wall (235, 230, 220)

Output

The compositing equation C = αF + (1−α)B checks out: 0.4 × 62 + 0.6 × 235 = 166, 0.4 × 43 + 0.6 × 230 = 155, 0.4 × 28 + 0.6 × 220 = 143 — so a matte that recovers α = 0.4 also recovers the hair's true color instead of judging the pixel all wall or all hair
TechniqueWhat it requiresHow edges resolveTypical failure
Chroma keyUniform saturated backdrop, controlled lighting, decided at capture timeBinary color test — sharp on silhouettes, keyed-out strands on hairSubject contains the key hue; spill tint on rims
Trimap alpha mattingA hand-marked map: certain subject, certain background, unknown stripFractional alpha solved per boundary pixel; hair resolves into strandsMinutes of marking per image; ambiguous low-contrast boundaries
Learned matting (this tool's family)Just the photo — the model supplies the soft alphaSemi-transparent strands in seconds, refinable by brushFrizz against similar tones; several subjects of equal prominence
Manual clipping pathA patient hand and a vector editorVector-precise hard edges, strand by strandTime and cost — the reason it survives only where contracts demand it
Four ways down the same edge. The fractional-alpha rows are the reason hair survives automation at all.

The tool on this page belongs to the matting family by inheritance, not by trimap. U²-Net's saliency map is a learned approximation of that fractional alpha — soft edges, translucent strands, no backdrop required — which is exactly what photos that already exist need. Chroma key's precondition of a uniformly colored, evenly lit backdrop is a decision made at capture time, which is why studios still hang green cloth: the cheapest background removal happens in the shooting, not in the editing. For the shoe on the wooden table, the matting route was the only one ever on the table.

Who cuts backgrounds out all day

Background removal is a top-tier image task globally, and the workload distribution shows it:

  • Marketplace sellers — Amazon, eBay, and Shopify-adjacent listings with strict white-background rules, in volume
  • Product photographers — delivering both the original and a cutout version as standard practice
  • Social media managers — profile pictures, story stickers, and text-behind-subject layouts
  • Designers and ad builders — compositing subjects into campaigns without studio reshoots
  • Real estate agents — lifting furniture and fixtures into clean listing layouts
  • Recruiters and team admins — consistent headshot sets from wildly inconsistent source photos
  • Print shops — preparing artwork for stickers, apparel, and die-cut merch where backgrounds must go

The volume cases are where the local model changes the economics most. A catalog refresh of three hundred product photos, at cloud-remover credit pricing, is a budget line; on-device, it is an afternoon of tab-switching while the machine works. The quality is not uniformly better than paid cloud services — dedicated matting models can win on hard hair — but for the median product-and-portrait workload, the results are equivalent and the marginal cost is zero.

On-device AI versus the alternatives

Four routes to a transparent background, compared without mercy:

RouteCostResolution limitsPrivacyEdge quality
This tool (on-device U²-Net)Free, unlimitedYour hardwareTotal — nothing uploadsSoft alpha, brush-refined
Cloud remover (credit-based)Per image or subscriptionHD behind paywallImages uploaded and processed remotelyOften excellent, model-dependent
Chroma key (green screen)Studio setupNoneLocal, if your editor isClean edges, uniform-background shots only
Manual clipping pathTime, or a service's ratesNoneDepends on the editorThe gold standard, at gold-standard hours
The four economies of background removal — price, quality, and privacy trade differently in each

Chroma key deserves its row for historical honesty: for controlled studio work it remains the highest-quality automated method, because a uniform background gives the algorithm an unambiguous signal that photography-on-location can never match. Its weakness is the precondition. AI cutout is the technique for images that already exist — the shoe on the table, the headshot from the conference, the photo the client sent at 11 p.m. And manual clipping remains the benchmark where hair-level fidelity is contractual — fashion campaigns still ship with hand-drawn paths, and no honest automation discussion should pretend otherwise.

Against the cloud removers, the trade is specific: this tool's model is a general-purpose salient detector, not a portrait-specialized matting network, so the hardest hair cases can favor the paid services. For everything else — products, objects, clear portrait separation — the outputs are interchangeable, and the differences that remain are about price, resolution caps, and who holds a copy of the image. The White Background Adder for Photos completes the local pipeline where the destination demands solid white.

The image that never leaves the room

This is the tool where the local-processing model is the headline rather than a footnote. Background removal, by its nature, receives exactly the images with the most reasons to stay private: unreleased product lines, family photographs, medical and ID imagery, client work under embargo. Cloud pipelines handle that with retention policies and trust. This tool handles it by physics — there is no upload endpoint, so the image cannot be transmitted, retained, or breached anywhere but the machine in front of you.

The one network event in the whole lifecycle is the model download on first use, cached by the browser thereafter — a static file fetch, the same as any site loading its fonts. Run it once on office wifi and it works thereafter on a plane, in a secure facility, on the workshop laptop with the broken wireless card. Inference speed scales with your hardware, and a five-year-old machine will be noticeably slower than this year's — the honest cost of computing locally, paid in seconds instead of subscriptions and copies of your photos.

Background removal, answered

How can background removal work without uploading my image?

The neural network runs on your device. The model file downloads to your browser once — like any static asset — and inference executes locally via WebAssembly, with GPU acceleration where the browser supports it. Your image pixels never leave the machine: the segmentation mask is computed in the same tab that displays the preview. That is the whole difference from cloud-based removers, and it is why there is no queue, no account, and no limit.

What kinds of photos give the best cutouts?

Clear subject separation: a person or product that occupies a solid portion of the frame against a background that differs in color, tone, or focus. Studio shots, plain walls, blurred interiors, and outdoor scenes where the subject is close all work well. Flat lighting on a flat background of similar color — a gray cat on a gray couch — is the hard case, and no automated tool, cloud or local, fully solves it.

Why do I see a faint halo around the edges of my cutout?

Edge pixels in the original photo are blends of subject and background — the camera saw both where they meet. Removing the background removes the background's contribution but cannot unmix the color already baked into those boundary pixels, so a light fringe of the old background can survive. The refinement brush and edge-feathering controls exist for exactly this, and matte-style unmixing reduces it further.

Can it handle hair and fur?

Partially, and honestly so. The model produces soft alpha values rather than a binary cut, so flowing hair against a contrasting background comes out surprisingly well — individual strands survive as semi-transparent pixels. Very fine or frizzy hair against a similarly toned background is where the soft alpha turns to mush, and the brush becomes the finishing tool. For portrait work at scale, budget a minute per image for edge cleanup.

What happens if my photo has several people or objects?

The underlying model performs salient object detection — it finds the single most visually prominent subject, not every subject. A group photo returns the group if the group reads as one dominant subject; a person plus a prominent statue may return either or both depending on prominence. The keep-and-remove brush lets you carve the result to taste after the automatic pass.

Is the full resolution really free, with no signup?

Yes. Because the computation happens on your device, there is no per-image server cost to meter, which is the economic reason cloud removers paywall high resolution and this tool cannot. The same model, the same quality, a 6000-pixel file or a 600-pixel one — the limit is your hardware, not a pricing tier.

Can I put the subject on a white background afterward?

That is the natural next step, and the companion White Background Adder composites your transparent PNG onto pure white or any color — the format marketplaces and passport systems expect. Cut out here, composite there: two local steps, and the file travels between them without ever being uploaded.

What is alpha matting, and how is it different from a green screen?

Alpha matting estimates a fractional opacity for every boundary pixel — solving what share of each pixel belongs to the subject — so hair and fabric can stay semi-transparent. Chroma key instead replaces every pixel close to one keyed color, which demands a uniform backdrop at shooting time and judges each pixel all-or-nothing. This tool descends from the matting side: the model outputs soft alpha values, no green screen required, and the brush stands in for the classical trimap when the automatic pass needs a second opinion.

The cutout pipeline's other stations

Background removal opens a small production line, and these are its stations:

The sequence sellers run daily: remove the background, add white, resize to the marketplace's dimensions. Three tools, all local, none of them metered — the pipeline that used to justify a software line item, running in three browser tabs for free.

Sources and further reading

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.