EraseBG

How the in-browser background remover works

EraseBG is a complete background remover that runs inside the browser tab. The model is downloaded once, cached, and executed on your own GPU or CPU. There is no server in the loop, so there is nothing to upload, nothing to wait in a queue for, and nothing to pay for.

0 uploadsImages are decoded in memory and never leave the tab.
Under a secondTypical run on a laptop GPU. A few seconds on a phone.
Full resolutionThe mask is applied to your original pixels on export.

The pipeline

01

Decode

Your file is decoded by the browser. Very large photos are scaled to a working size of about 2500 px (1600 px on phones) for editing; the original stays on disk for export.

02

Segment

A segmentation network looks at the whole picture at 1024 px and predicts a soft alpha value for every pixel. Soft means hair and glass get partial transparency, not a hard cut.

03

Composite

The alpha is resized onto the image, you touch it up if needed, and on download it is applied to the untouched original pixels along with your background choice.

What runs where

SettingDownloadRuns onBest for
Fast44–88 MBGPU or CPU, any devicePhones, older laptops, everyday portraits and product shots.
Quality219 MBGPU (WebGPU)Hair, fur, thin straps, busy backgrounds. Default on desktops with WebGPU.
Upscale5 MBGPU or CPUOptional 2× or 4× super-resolution on export, loaded the first time you use it.

All three are cached by the browser after the first download, so later visits work offline.

The editor

Compare

Drag anywhere on the image to move the divider between before and after. Scroll, pinch, or use the zoom controls to get close to hair, fur and glass edges, and press 0 to fit again.

Erase and Restore

Erase makes pixels transparent; Restore brings the original pixels back. Size sets the brush diameter in image pixels, so it scales with your zoom. Softness feathers the edge of the stroke, which is what you want along hair, and zero softness is what you want along a straight product edge. Undo and redo are kept per image, and Reset returns to the model's result.

Background

Transparent keeps a PNG alpha channel. You can also fill with a preset or custom colour, use a blurred copy of the original for a portrait look, or upload your own image, which is scaled to cover the frame. The choice is shown in the preview and applied on download. JPG has no transparency, so a transparent choice becomes white.

Upscale

Off by default. 2× or 4× runs a small super-resolution model in tiles, then applies the mask, so edges stay clean. Preview shows the standard result on the left and the upscaled one on the right of the divider, zoomed in so the added detail is visible. Very large outputs are capped to what the browser can hold in memory; the download button always shows the exact size.

Export

PNG for transparency, WebP for a smaller file with transparency, JPG for the smallest file with a solid background. Original keeps your photo's full pixel count; the presets scale the long edge down. Trim removes empty transparent borders. With several images loaded, Download all packs every result into a ZIP with the same settings.

Shortcuts

C E RCompare, Erase, Restore
[ ]Smaller and larger brush
Space + dragPan. Middle or right mouse button also pans.
0 1 + Fit, 100%, zoom in, zoom out
Ctrl Z / Ctrl Shift ZUndo, redo
Ctrl SDownload
Ctrl VPaste an image from the clipboard

Settings

Model

Fast runs well everywhere, including phones, and is the default where WebGPU is missing. Quality is noticeably better on hair, fur and thin edges and is the default on desktops with WebGPU. Switching takes effect immediately; images already processed keep their result until you add them again.

Compute

Auto uses the GPU through WebGPU when the browser supports it and falls back to the CPU otherwise. CPU only forces the fallback. It is slower but works on any hardware, so use it if the GPU path misbehaves on an older device.

Appearance

System, light or dark. The choice is remembered on this device only.

Questions

Which browsers work best?

Chrome, Edge, Safari 26 and current Firefox have WebGPU and are fastest, on desktop and on iOS and Android. Older browsers run on the CPU and take a few seconds per image.

Loading takes long the first time

The first visit downloads the model. On a slow connection choose Fast in Settings for the smaller download. Later visits load from the browser cache.

Edges look rough

Switch to Quality, then fix what is left with the Restore brush at low softness. Zoom in first; the brush scales with the view.

The tab crashed or froze

Large batches of large photos can run a phone out of memory. Process a few at a time, or switch Compute to CPU only.

Which formats can I open?

JPG, PNG, WebP, GIF and AVIF everywhere. HEIC opens in Safari; other browsers cannot decode it yet.

How do I start over?

Click the logo to clear all images. Settings and the cached models are kept.

Open the app See samples