NEW · MediaPipe · 100% Browser-Based

Video Background Remover

Remove or replace video backgrounds in your browser — MediaPipe Selfie Segmentation runs locally. Solid color, image, or transparent WebM output. No upload, no signup, no watermark.

🎬
Drop a video file
MP4 · MOV · WebM · MKV · AVI · GIF
Files stay on your device · Never uploaded

Related Tools on UDT

Video Face Auto Crop →
Face-tracked auto-crop for landscape → vertical. MediaPipe runs locally.
Video Resizer →
Resize to 9:16 vertical, 1:1 square, or any aspect ratio with positioned crop, letterbox or blur fill.
Video Watermark →
Add text or image watermarks — position, opacity, size, font controls.
All Video Tools →
Browse the full Video Suite: 18 tools, all in-browser.

Why Do This in Your Browser?

Most background removers upload your video to a server. Here the whole job runs in your browser tab: Google's MediaPipe selfie segmenter (a 250 KB model) finds the person in each frame, and FFmpeg.wasm encodes the result. Your video never leaves the device.

The cost is time. Every frame is segmented and composited on your device: on our deliberately weak one-core test machine, a 3-second 640×360 clip (75 frames) took about 45 seconds. A recent laptop is faster, and shorter, smaller clips are quickest.

How It Works

The tool steps through the video frame by frame at its own frame rate. For each frame, the segmenter returns a confidence map: how likely each pixel is to be part of a person. That map becomes the frame's transparency, so edges stay soft rather than cut out. With Mask smoothing on, each frame's map is averaged with the previous two or four frames to calm flicker, at the cost of a slight lag on fast movement.

The person is then laid over your choice: a solid color, an image (scaled to cover the frame and centred, without stretching), or nothing at all. Solid color and image backgrounds are encoded as H.264 MP4 with AAC audio. Transparent output is a VP8 WebM with an alpha channel and Vorbis audio. The original audio track is kept in every mode. Frames are encoded in batches of 90 so long clips do not fill your memory.

It works best on talking-head and webcam-style footage with one person clearly in front of the background. Several people, people far from the camera, fast motion or a person only partly in frame give rougher masks. Clips are limited to 2 minutes.

Common Use Cases

Talking-Head Clips
Replace a messy wall with a brand color or image for demos and webinars.
Transparent Overlays
Export a person on a transparent background as a WebM, for web pages and editors that read WebM alpha.
Course & Tutorial Inserts
Put your cutout in the corner of a screencast without a green screen.
Social Video Backgrounds
Swap the room for a photo or color that matches a series' look.
Hide the Room
Remove what is behind you before sending a recorded message.
Reaction Videos
Cut out two speakers and place them on the same backdrop in your editor.

Other Ways to Do It

Cloud services such as Runway, Unscreen and Veed remove video backgrounds with larger models, but they upload your footage and most limit free use. Editors such as Adobe Premiere Pro and After Effects (Roto Brush) and DaVinci Resolve (Magic Mask) give finer, hand-correctable masks. For live video, OBS Studio has background-removal plugins.

This page is the quick, private option: no upload, no account, no watermark, for clips where an automatic person mask is good enough.

Frequently Asked Questions

Is this video background remover really free?+
Yes — completely free, no watermark, no time limits, no signup.
How does the background removal work?+
Google's MediaPipe selfie segmenter, a model of about 250 KB, gives every pixel of a frame a confidence that it belongs to a person. The tool uses that confidence as the pixel's transparency, then lays the frame over your background. It runs through Google's @mediapipe/tasks-vision package (Apache 2.0) using the GPU through WebGL where the browser allows; see Google's MediaPipe model card for the model's terms and intended use.
Are my videos uploaded anywhere?+
No. MediaPipe and FFmpeg.wasm both run in your browser. The model (about 250 KB), the MediaPipe runtime and the FFmpeg engine (about 32 MB) download from public CDNs the first time and your browser usually caches them. Your video is never sent anywhere.
Can I export with a transparent background?+
Yes. Pick Transparent and the tool writes a VP8 WebM with an alpha channel and Vorbis audio. We checked that Chromium plays it with real transparency (background pixels come back fully transparent). Support elsewhere varies: Safari does not play WebM alpha, and many desktop editors need a plugin or a different format, so test it in the app you plan to use. (VP9 would be the usual choice, but this browser build of FFmpeg cannot encode it.)
Why does the mask flicker on some frames?+
Each frame is segmented on its own, so the edge can shift slightly from frame to frame. Mask smoothing averages each frame's mask with the previous two (Light) or four (Strong) frames, which steadies the edge but makes it lag a little behind fast movement.
What's the maximum video length?+
2 minutes. Every frame is segmented and composited on your device, so time grows with length and resolution: our one-core test machine took about 45 seconds for 3 seconds of 640×360 video. Trim longer clips first with the Video Trimmer.
Does it work with complex backgrounds?+
It is built for one person in front of the camera, as in webcam and phone talking-head footage. Crowds, people far from the camera, fast motion and a person only partly in frame give rougher masks; for those, a green screen and the Chroma Key approach, or a desktop editor's masking tools, will do better.
What's the underlying engine and license?+
MediaPipe Tasks Vision (Apache 2.0) for segmentation; FFmpeg.wasm (MIT wrapper; the core build includes x264, so it is GPL) for re-encoding. Both serve from public CDNs unmodified. The tool's UI is the only proprietary layer.