Remove background
Drop a photo. The photo stays in this tab. Signed out: 3 a UTC day at 1024 px. Signed in: 3 local HD a UTC day, then 1024 px. Pro: unlimited local HD and batch. Default model: ormbg (Apache-2.0), downloaded only when you run.
Guides: remove.bg is shutting down · remove.bg alternative · When to use WASM for local background removal · ID and passport photo background · Product photo, transparent background · Shopify listing PNG.
Related tools: HEIC to JPG · Remove watermark · Compress to KB.
or click to choose · PNG, JPEG, WebP
Free, no account · 3 of 3 left today · 1024px Longest side up to 1024px, in this browser. Resets at 00:00 UTC. Sign in for HD · Pro
Steps
- Drop a PNG, JPEG, or WebP. HEIC is refused. Convert it on HEIC to JPG first. Remove background stays disabled until a file is chosen. Choosing a file does not download the model.
- Read the line under the button. It says whether this browser has a WebGPU adapter or will use WASM/CPU. Both paths stay in the tab. The same check, without a photo, is on Capability.
- Press Remove background. An entitled session then fetches ormbg q8 (44,315,205 bytes) through
/api/models. Signed out, you get 3 removals a day in this browser, longest side up to 1024 px, resetting at 00:00 UTC. A free account gets 3 full-size removals a day, resetting at 00:00 UTC. - Download the PNG. The name ends in
-nobg.png. It is transparent. This page does not paint a white plate and does not crop to a passport size. Passport photo still does not size the file. - Check hair, glasses, thin type, and glass at 100%. If the destination needs a flat color, composite that locally. Do not send the PNG through Compress to KB while you still need the transparency. Scene notes: ID photo, product photo, logo.
How it works
Model hosting: weights are streamed from private R2 through /api/models (allowlisted ormbg/ keys) for entitled sessions. An Apache-2.0 copy also exists on Hugging Face outside LocalPix; production does not auto-fetch it. The libraries we use are listed on the open-source page.
The drop zone takes PNG, JPEG, and WebP. HEIC is not decoded here; convert on HEIC to JPG first. When you press Remove background, an entitled session (a signed-out model download in this browser, a signed-in account, or Pro) streams ormbg q8, 44,315,205 bytes, through /api/models. The download overlay shows that file as 44.3 MB. The status line shows ~42.3 MB, because that line divides by 1024×1024. Transformers.js loads from jsDelivr. ONNX Runtime runs the graph in the tab, on WebGPU when an adapter exists and on WASM otherwise. The photo is not in those requests. The model file is downloaded once from LocalPix on the first run and then comes from the browser cache.
The model input is scaled toward 1024×1024. Signed out, the download is limited to a 1024 px long side, 3 a day in this browser, resetting at 00:00 UTC. A signed-in run after today’s 3 full-size credits is then limited to a 1024 px long side. HD and Pro keep the full-size PNG. The free HD count resets at 00:00 UTC. Pro batch still runs one file after another in this tab.
What the status line says
The line with role="status" under the previews is #status. It stays on the Ready sentence while a single photo runs. The card over the tool is a different element. The sentence under the button is #gpu-hint, also different. The quota chip is a second live region. None of these lines means the photo was posted.
- Before a file. “Waiting for an image. No model download until you press Remove background.” Remove background stays disabled.
- A file the page will not treat as an image. “Please choose an image file (PNG, JPEG, WebP).” That is the line when
file.typedoes not start withimage/. A PDF lands here. A HEIC that arrives with an empty type lands here too. A HEIC typed asimage/heicgets the Ready line instead. This page does not load libheif either way, so convert on HEIC to JPG first. An SVG isimage/svg+xml, so it also gets the Ready line, and this page does not trace it. - After a single image. “Ready: {name} ({size}). First run downloads ormbg q8 (~42.3 MB) from LocalPix (/api/models) — then caches in this browser.” {size} divides the file’s byte count by 1024. Under 1024 bytes it stays in bytes. Otherwise it is one decimal of KB or MB, with 1024 bytes in a KB. A file of 200,000 bytes reads 195.3 KB in that spot. ~42.3 MB is 44,315,205 ÷ (1024×1024). The button enables. The weights are still not requested. Choosing the file does not start them.
- The line under the button. Before a run it is one of: “Checking WebGPU adapter… Model ~42.3 MB (q8) on first run.”, “WebGPU adapter ready — preferred; WASM/CPU auto-fallback. Model ~42.3 MB (q8) on first run.”, “No WebGPU adapter — will use WASM/CPU. Model ~42.3 MB (q8) on first run.”, or “WebGPU not detected — will use WASM/CPU. Model ~42.3 MB (q8) on first run.” After a finished cutout it becomes “Backend: WebGPU. Model ~42.3 MB (q8).” or “Backend: WASM/CPU. Model ~42.3 MB (q8).” That line is not the result.
- While the first run fetches the weights. The overlay can read “Preparing…”, then “Downloading model {got} / 44.3 MB…”, then “Preparing the model…”, then “Removing background…”. 44.3 MB is the decimal size of the same 44,315,205-byte file. The first-run note on that card is “First run downloads the ormbg model once (44.3 MB, 44,315,205 bytes). It stays in this browser's cache after that, so the next photo skips the download. The file is the model, not your picture.” A cached copy skips the download line and shows “Preparing the model…”. If a timed stage runs long, the card adds “Taking a little longer than usual…”. Cancel is on screen only during the weight fetch. Cancel then sets #status to “Cancelled. The photo was not uploaded.”
- After one successful cutout. “Done on WebGPU. Full size. Transparent PNG is ready to download.” or “Done on WASM/CPU.” with the same rest. A basic file says “Basic size, longest side up to {n}px” in the middle: 1024 when signed out, and 1024 when signed in after today’s HD credits. A signed-out success adds how many free removals are left today in this browser, or “ That was today's last free removal in this browser; it resets at 00:00 UTC.” A signed-in run that stayed at basic size adds “ Today's full-size allowance is used, so this one stayed at basic size.” The download name is the original name with
-nobg.png. The sentence says a PNG was built. It does not say the hair, the glass, or the logo strokes are clean. - Shrinking to the basic size failed. The middle clause stays “Full size” and the file is the model output. Open the PNG and read the pixel size before you trust the word Full.
- The press stopped before a run. “This browser has used today's 3 free removals. They reset at 00:00 UTC. Sign in for 3 full-size HD removals a day.” A signed-in day that is already spent still runs, and the line first reads “Today's 3 free full-size removals are used. This run stays at basic size; resets 00:00 UTC.” A check that could not be completed reads “Could not check the HD allowance. This run stays at basic size.” or “Full-size permission is not available on this deployment yet. This run stays at basic size.”
- The weight request was refused. A 402 reads “Free model try used. Sign in for 3 full-size HD removals a day.” Another refusal of that gate reads “Sign in to download the model weights for this tool.” A mismatched permission reads “The model permission expired or did not match this account. Retry after it refreshes, or sign in.” A deployment that is not serving weights reads “Model download is not authorized on this deployment yet. Try again later.”
- The library or the weights did not load. “Could not load the inference library (Transformers.js). Check your network or content blockers, then retry.” That URL is
cdn.jsdelivr.net, not the photo. A failed weight load reads “Could not load ormbg (~42.3 MB from /api/models). {detail} Sign in if asked, try a desktop browser with more memory, allow cdn.jsdelivr.net, or retry.” An empty mask reads “Model returned an empty result.” - More than one file, on a session that can batch. The Ready line is replaced by “Batch: {n} images ready. Run to process them one by one in this tab.” During the run the status can read “{done} of {total} done” or “{done} of {total} done, {failed} failed”. The overlay stage for each file is “Removing background… ({i} of {n})”. The finish line is “Batch done: {n} images.” One failure reads “Batch finished with 1 error.” Two or more read “Batch finished with {n} errores.” — the page appends the letters es. Each download link is still
-nobg.png, in this tab.
Limits
- Hair, glasses, earrings, and thin logo strokes are the edges to check at 100%. ormbg is a photo cutout. Outlined type can fringe. A logo walkthrough is remove the background from a logo.
- Bitmap PNG, not an SVG. No white ID plate is painted for you. Composite that locally. ID photo explains the cutout. Passport photo does not crop to an official size yet.
- First load needs the weights plus runtime memory. Older iOS Safari often fails on a large photo. Try a smaller file or a desktop browser.
- RMBG, BiRefNet, and BEN2 are not in this release. The default is ormbg, Apache-2.0.
- Signed out: 3 a day in this browser, longest side up to 1024 px, stored as a per-day count in that browser. Clearing site data resets that count. It does not reset the 3 HD removals on an account. After those 3 HD credits, signed-in basic runs stay at 1024 px.
- Compress throws the transparency away. If the site can take a PNG, do not send the cutout through Compress to KB.
FAQ
Do I need an account?
Convert and compress never need an account. Signed out, you get 3 background removals a day in this browser, longest side up to 1024px, resetting at 00:00 UTC. Clearing this site's data, or using another browser, starts that daily count over. We do not identify you across browsers. A free account then gets 3 full-size removals a day. After those 3, signed-in basic runs stay at 1024px.
Do you upload my photo?
No. The photo stays in this tab and is not uploaded. You may still see model/runtime, quota/capability, sign-in, and analytics requests — not photo bytes.
Why ormbg?
Commercially clear Apache-2.0 default. See licenses. RMBG, BiRefNet, and BEN2 are not used.
Known limits
Large images are resized to 1024×1024 for the model. First load needs the 44,315,205-byte ormbg q8 file plus runtime memory; low-memory phones (especially older iOS Safari) may fail — try a smaller photo or a desktop browser. WebGPU support varies by OS/browser.
Can I use this for an ID or product photo?
Yes for the cutout: output is a transparent PNG from ormbg only. White ID backdrops and marketplace plates are composited by you. ID photo · Product photo · Logo · Website headshot. Passport photo does not size the file yet.
Why is my download limited to 1024px?
A signed-in run after today's 3 full-size credits are used is resized so the longest side is 1024px. Signed out, the cap is 1024px on the long side, 3 a day in this browser, resetting at 00:00 UTC. Reserving an HD credit, or Pro, keeps the full-size PNG. The free HD count resets at 00:00 UTC. Pro batch is full size too.
What is batch, and who gets it?
Pro can pick more than one image and process them one after another in this tab. Free accounts stay on a single image. The photos are not uploaded.
Does clearing site data restore the signed-out count?
Clearing this site's data resets the signed-out daily count in that browser. It does not reset the 3 HD removals on an account. That counter follows the account and the UTC day.
Why did the model ask me to sign in?
The lp_anon_model cookie records that this browser already downloaded the free copy of the model. After that download, a signed-in run needs an account. Signed-out removals themselves are 3 a day in this browser. A short-lived permission is issued when you reserve HD or when Pro refreshes. If it expires, run again.
Which files can I drop?
PNG, JPEG, and WebP. HEIC is not decoded here. Convert to JPG first. The model stays unloaded until you press Remove background.
What is the PNG called?
The original file name with -nobg.png on the end. Signed out, the long side is up to 1024 px. A signed-in run after today’s 3 full-size credits is 1024 px on the long side. The file is transparent. This page does not add a background color.
Sources
- onnx-community/ormbg-ONNX — the Apache-2.0 ONNX weights. Production serves an entitled session from
/api/models, not by auto-fetching this repo. - Apache License 2.0 — the license on ormbg. RMBG is not used.
- Transformers.js — the browser pipeline that runs the ONNX graph in the tab. The script is loaded from jsDelivr.
- ONNX Runtime Web — WASM and WebGPU execution. WebGPU runs only when this browser exposes an adapter.
- WebGPU API on MDN — what an adapter is. No adapter means the same ormbg model on WASM.