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 smart crop.
Video Watermark →
Add text or image watermarks — position, opacity, size, font controls.
All Video Tools →
Browse the full Video Suite — 12+ tools, all in-browser.

Why Do This in Your Browser?

Background removal used to mean a cloud GPU and a per-minute bill. The cloud workflow uploads your video, queues against shared infrastructure, runs segmentation on a server, and streams the result back — typically tens of MB up and tens of MB down for a single clip. For a 90-second product demo or a talking-head intro, that round trip is the whole job.

MediaPipe's Selfie Segmentation model is small enough (about 1.5MB) and fast enough (60–120ms per frame on a recent laptop) to run frame-by-frame in your browser. The tool reads each video frame to a canvas, runs MediaPipe locally to get a person-vs-background mask, composites the chosen replacement, then re-encodes with FFmpeg.wasm. Nothing leaves the device.

How It Works

Drop a video. The tool extracts frames via a HTMLVideoElement decoded at original framerate, feeds each one through MediaPipe Selfie Segmentation, and composites the segmentation mask against your chosen replacement background. Solid color exports as standard MP4. Image background scales to match the video aspect ratio. Transparent output writes a VP9 WebM with an alpha channel — playable in Chrome, Firefox, and most modern editors.

Segmentation quality is best on talking-head footage with the subject clearly separated from the background. Cluttered scenes, very fast motion, and subjects partially out of frame produce mask flicker. The tool exposes a 'mask smoothing' slider that temporally averages masks across 3–5 adjacent frames to reduce shimmer.

Tip: If your source clip needs trimming before background removal, run it through the Video Trimmer first — segmentation cost scales linearly with duration. For face-tracked vertical reframes, the Video Face Auto-Crop tool pairs naturally with this one.

Common Use Cases

Talking-Head Clips
Replace the messy home-office wall with a brand-colored background for product demos and webinars.
Transparent Asset Export
Export a person as a transparent WebM for compositing into After Effects, DaVinci, or browser canvas overlays.
Course & Tutorial Inserts
Drop your face into a corner of a screencast without a green screen — Selfie Segmentation handles the cutout.
TikTok / Reels Backgrounds
Swap the kitchen for a static photo or solid gradient to match the visual identity of a content series.
Privacy-First Recordings
Anonymize the room behind you before sending a video message to a client or recruiter.
Composited Reactions
Stack two cutouts in a video editor for reaction-style content — both subjects on a single backdrop.

How We Compare

Honest read on free, paid, and self-hosted options for this kind of job:

UDT Video Background Remover (this tool): Free, browser-based, MediaPipe Selfie Segmentation runs locally. Transparent WebM with alpha export. No upload, no watermark, no signup. Limitation: best on talking-head footage; fast motion produces mask flicker that needs temporal smoothing.
Runway ML: Cloud Green Screen tool produces excellent masks but uses a paid credit system ($15/mo for 625 credits). Videos upload to Runway's servers; commercial use requires a paid plan.
Unscreen: Free preview limited to 5 seconds at 720p with watermark; paid plans $9–$99/mo. Cloud-based.
Veed.io: Web-based but cloud — paid plans from $12/mo for HD background removal without watermark.
Adobe Premiere Pro / After Effects: Rotobrush and Auto Reframe handle this professionally; Creative Cloud $20+/mo and a steep learning curve.
OBS Studio (live): Free, supports MediaPipe-based background removal as a plugin — but it's a live-only tool. For post-production work on existing clips, a frame-by-frame processor like this one is the right pattern.

Frequently Asked Questions

Is this video background remover really free?+
Yes — completely free, no watermark, no time limits, no signup. The site is supported by ads elsewhere; the tool is unrestricted.
How does MediaPipe Selfie Segmentation work?+
It's a small (~1.5MB) on-device model that classifies each pixel of a frame as person or background. The model is Apache 2.0 licensed and shipped via Google's @mediapipe/tasks-vision package. Inference runs in 60–120ms per frame on a recent laptop CPU; with WebGPU acceleration enabled in Chrome 113+, it's even faster.
Are my videos uploaded anywhere?+
No. MediaPipe and FFmpeg.wasm both run entirely in your browser. The MediaPipe model (~1.5MB) and the FFmpeg engine (~32MB) download once and cache locally. After that, the tool works fully offline. Your video never touches a server.
Can I export with a transparent background?+
Yes. Pick 'Transparent (alpha)' and the tool outputs a VP9 WebM with an alpha channel. WebM with alpha plays in Chrome, Firefox, Edge, and most modern video editors (After Effects, DaVinci Resolve, Final Cut Pro). Safari requires a HEVC alpha workaround that's on the roadmap.
Why does the mask flicker on some frames?+
Segmentation runs frame-by-frame, so small per-frame mask differences appear as flicker. Enable 'Mask smoothing' to temporally average masks across 3–5 adjacent frames — this trades a tiny bit of edge sharpness for visibly steadier cutouts.
What's the maximum video length?+
Limited by your browser's available memory. Most laptops handle 5–10 minutes of 1080p comfortably; phones cap around 1–2 minutes at the same resolution. For longer clips, trim into segments first using the Video Trimmer.
Does it work with complex backgrounds?+
Selfie Segmentation is optimized for the person-vs-background case typical of webcam and phone-shot talking-head footage. It struggles with crowds, partial subjects, and clips where the person fills less than 20% of the frame. For those scenarios, traditional chromakey (green screen) still wins.
What's the underlying engine and license?+
MediaPipe Tasks Vision (Apache 2.0) for segmentation; FFmpeg.wasm (MIT wrapper, LGPL core) for re-encoding. Both serve from public CDNs unmodified. The tool's UI is the only proprietary layer.