Skip to content

Webcam background remover: what is actually possible in a browser

“Remove the background” means three different things to three different people, and only two of them work in live video. Here is which is which, so you do not spend an afternoon on the one that cannot work.

Open the studio

Blur and replacement, live, on your device.

Three things people mean by it

  • Hide it

    Blur the room behind you until nothing in it is legible. The most forgiving option, and the one that survives imperfect lighting best.

  • Swap it

    Put something else there — a backdrop or your own image. Your real room is gone from the picture entirely.

  • Cut it out

    Produce video with a transparent background you can composite over something else later. This is the one live browser recording cannot give you.

This app does the first two, in real time, and records the result. It does not do the third, and neither does any other web page — so if that is what you came for, skip to why transparency is off the table and what to do instead.

Why a browser cannot hand you transparency

A recording in the browser is produced by MediaRecorder, which takes a stream and writes it into a container using whichever codecs the browser ships. Between the codec profiles those browsers expose and the way MediaRecorder configures them, none of the available combinations carries an alpha channel — the mask exists inside the page, and is used to decide what each output pixel looks like, but it is not preserved alongside the video.

That is not a limitation of the segmentation, and it is not something a better tool works around. The mask is genuinely there and genuinely accurate; it is the file format at the end of the pipeline that has nowhere to put it. Anything claiming to produce transparent webcam video from a browser tab is either exporting an image sequence, doing the work on a server after an upload, or not doing it at all.

The practical consequence: decide what goes behind you before you record. That is the trade this app makes — you lose the ability to change your mind in post, and you gain a finished file with no export step and no upload.

If a real cut-out is the requirement

Record against a plain, evenly lit wall and key it out afterwards in an editor. This sounds like more work than a one-click tool and usually is not: keying a controlled shot takes minutes and gives you a proper alpha channel, a chance to fix the frames where it went wrong, and no dependence on a service staying free.

A physical green screen helps, but an evenly lit wall of any single colour that is not your clothing or your hair will get you most of the way. What ruins a key is uneven lighting and shadows falling on the backdrop — not the absence of green. The lighting guide covers the same ground, since the two problems have the same solution.

What this does instead

The segmentation model runs on every frame and produces a confidence map, which is then snapped to the edges visible in the camera frame rather than simply stretched. Your room is replaced by the backdrop or by a blurred copy of itself, the rim around you picks up a little of the new background's colour so the join reads as lighting rather than a cut, and the recorder is handed exactly those pixels.

Because the recorder is fed the composited canvas and not the camera, there is no path by which an unprocessed frame could reach the file — the preview and the recording cannot disagree. The background changer page describes the pipeline in more detail.

Frequently asked questions

Can I get a webcam video with a transparent background?
Not from a browser recording. The formats a browser can record — WebM with VP8 or VP9, MP4 with H.264 — are written by MediaRecorder without an alpha channel, so the file that comes out is opaque no matter how good the mask was. There is nothing to configure here; the capability is simply not exposed to web pages.
So what do I do if I genuinely need a cut-out?
Record against a physically plain, evenly lit wall — a real green screen if you have one — and key it out in a video editor afterwards. That path gives you a proper alpha channel, frame-accurate control and a chance to fix mistakes, which is worth more than doing it live. If the cut-out was only ever a means to putting yourself on a different background, replacing the background while you record skips the whole step.
Is the background removed, or just covered up?
Covered up, and the distinction matters. Every frame is composited: the model decides which pixels are you, and the rest of the frame is drawn from the new background instead. Your real room is not in the output — but it was never separated into its own layer either. There is no version of the file with a hole in it.
Does it need a green screen?
No. Segmentation is based on recognising a person, not on a colour key, so an ordinary room works. A plain wall gives a better edge than a busy one, which is a lighting matter rather than a colour one.
Can it remove other people from the frame?
No. The model looks for people in general, not for one specific person, so anyone who walks behind you is likely to be kept rather than removed. It is a selfie segmentation model: one subject, front and centre, is what it is built for.
Can I remove the background from a video file I already have?
Not with this. It works on a live camera stream and records the result — there is no import. Removing a background from existing footage is a job for a video editor, or for one of the cloud services built around that workflow, with the usual trade-off that the footage has to be uploaded.

Related

Blur or replace, live

If hiding the room is the actual goal, this does it while you record and hands you the file.

Open the studio