Skip to content
Private by design — every tool runs on your device · No upload · No watermark · No account
P pixelshift.
November 28, 2026 · background removal· transparency· privacy

Remove image backgrounds in your browser, cleanly

A field guide to browser-based background removal: source selection, Fast and Quality model choices, alpha-edge inspection and transparent PNG export.

Background removal is no longer a process that requires sending a photo to somebody else’s server. A local model can cut out a subject inside the browser, which is good for privacy but changes the workflow: the first run loads a model, processing uses your device, and the quality still depends heavily on the source image. A clean cutout starts before the model ever runs.

Pick images the model can understand

Cutout models separate a subject by recognising shape, colour and depth cues. A portrait against a plain wall is straightforward. A product on a clean sweep is straightforward. A busy scene with several overlapping objects of similar colour is not.

Look at the boundary between subject and background before you upload anything. If the edge is sharp and the subject is clearly the largest thing in the frame, results are usually predictable. If the subject touches the frame edge, expect the cutout to be clipped there. If the background continues through holes in the subject — a chair with open gaps, a fence, a glass bottle — the model has to decide which pixels belong to which layer.

Lighting matters as much as composition. A subject lit in the same tone as the wall behind it loses separation. A slight colour or brightness difference gives the model a better boundary to follow.

Decide how much preparation is worth doing

Do not spend ten minutes retouching an image before a first cutout attempt. Run a test and look at the result. If the subject is small in a large canvas, crop closer and run again; the model then spends its resolution on the thing you care about. If the image is enormous, a moderate downscale can also make the run faster without affecting a social-sized output. Use the image resizer when dimensions need to change.

Avoid preprocessing that destroys natural edges. Heavy sharpening creates halos, and aggressive contrast can merge subtle hair strands into the background. Smooth, well-exposed pixels are more useful than a stylised version of the photo.

Keep the original file. A poor first cutout is easier to retry from the source than to repair pixel by pixel.

Choose Fast or Quality on purpose

PixelShift offers two local models. Fast downloads about 40 MB on first use and is a good choice for product photos, simple shapes and quick previews. Quality downloads about 80 MB and is worth using for portraits, hair, fur and softer edges where fine detail matters.

The first download is cached by the browser. After that, switching back and forth is much quicker, although processing still happens on your device. If you are working offline, load the model you need while you still have a connection.

Bigger is not automatically better. The Quality model can take longer on a phone or older laptop, and it may still struggle if the source has no clear subject boundary. Start with Fast for a batch of similar product shots; move to Quality only when the edges show a problem you can point to.

PixelShift background removal console showing a cutout preview and transparent checkerboard
The background removal preview uses a checkerboard so transparent edges can be inspected before export.

Inspect the alpha edge, not the preview thumbnail

A transparent PNG can look perfect on a white page and terrible on a dark one. That is usually an alpha-edge problem: pixels around the subject are partly opaque, carrying some of the original background with them. Toggle between the original and the cutout, then view the result over a checkerboard.

Look closely at four areas:

  • hair, flyaway strands and fuzzy fabric
  • the point where the subject meets a similarly coloured background
  • glass, water and other semi-transparent objects
  • narrow gaps between arms, legs or handles

A good edge fades naturally into transparency. A bad edge leaves a pale outline, a jagged staircase or a thin strip of the old background. Zoom in before deciding; many edges look clean at fit-to-screen size and rough at 100%.

If the subject has hard geometric edges, check the corners first. Rounding that should not be there is a common sign that the model treated a shadow as part of the background.

Export PNG when transparency is the point

JPEG cannot store an alpha channel. Even if the preview shows a checkerboard, exporting a JPG flattens the transparent area into a solid colour. Choose PNG when the cutout will be placed over another design, a coloured page or a different photograph.

PNG files can be larger than JPEGs, especially at high resolution. If delivery size matters, export the transparent PNG first, then compress it with a lossless PNG optimiser or consider WebP when the destination supports it. Do not compress before you are happy with the edge; another encoding step will not fix a dirty mask.

Check the exported file in the place it will actually be used. Drop it onto a dark slide, a product card or the site background. A transparent edge that looked fine in the editor may reveal a fringe against a new colour.

Fix failures by changing the input

A local run can be interrupted, and a bad result does not have to be kept. Cancel when a run is clearly taking the wrong path, then retry with a different model rather than trying to clean a broken mask by hand.

Use this order when troubleshooting:

  1. Crop to the subject and remove unrelated objects.
  2. Retry with Fast if Quality was slow or over-processed detail.
  3. Retry with Quality if hair, fur or fine edges were lost.
  4. Improve the source lighting or choose a clearer photo.
  5. Use a manual selection for objects the model consistently misunderstands.

For a batch, run one representative image first. If that result is clean, apply the same model choice to the rest. If it fails, changing settings for twenty files at once only spreads the same mistake.

Composite, caption and publish

Once the cutout is clean, the rest is ordinary layout work. You can place it on a new background, scale it for a listing, or add a short label with the add text editor. Adding text after the cutout keeps the caption crisp and avoids asking the model to interpret lettering as part of the subject.

Keep a named copy of the transparent PNG in your asset library. Re-cutting the same photo months later wastes time, and a good cutout is worth reusing. When you need adjacent edits — resizing for marketplaces, compressing for a page, or preparing other assets — the PixelShift guides cover the full local workflow.

Run the cutout on the remove background page. The image never leaves your browser, the model is downloaded once and cached, and the result exports as a PNG that keeps transparency.