OfflaneAI

Remove video background —
no green screen, nothing uploaded

Drop a talking-head clip, vlog or product video. The matting model finds the person in every frame and renders a new background — a solid colour, a soft blur of the original, an image you choose, or flat green for your editor. The video never leaves your computer.

  • 🎬 Any length — written straight to disk
  • 🖼️ Colour, blur, image or chroma green
  • 🔒 Video stays on your device
  • 💸 Free, no watermark

Loading the tool… (JavaScript required)

How does it remove the background without a green screen?

Two open-source models run in your browser: ISNet (Apache 2.0, 176 MB) segments the whole person — hair, hands, legs — and also products or pets; MODNet (26 MB) is a faster portrait model for head-and-shoulders clips. The mask is computed on every second or third frame (and on every frame during fast motion), smoothed between frames and composited over the new background with WebCodecs. Nothing is sent to a server.

How long does it take and what is the quality?

With the full-body model, roughly 4–10 minutes per minute of video on a laptop graphics card and 1–2 on a gaming card (the tool shows an estimate for your computer before you start); the fast model takes 1–2 minutes on a graphics card and several times longer on a CPU — a progress bar shows the time left. Edges are clean on an evenly lit person; very fine hair, strong backlight or a busy background can still show small imperfections.

What do I get and how do I use the green option?

An MP4 (H.264, original audio copied over) at the original size or 1080p/720p. Choose “Chroma green” to get a flat #00FF00 background and key it out in CapCut, Premiere, DaVinci Resolve or OBS — the most compatible way to put your own video behind yourself. Large results are written to your browser's private storage, so even hour-long clips are not limited by memory.

How to replace a video background

  1. Add the clip. Drop an MP4, MOV or WebM file with a person in the frame. A line above the options shows its resolution, length and frame rate.
  2. Choose “New background”. The list has four entries: Blur the original background, Solid colour, Your own image and Chroma green (for editors).
  3. Set the detail for that mode. Pick a colour, move the “Blur strength” slider, or choose a JPG or PNG under “Background image”.
  4. Pick the “Model”. Full body — ISNet keeps the whole person. Fast — MODNet is for head-and-shoulders shots.
  5. Check “Output size”. A smaller frame renders faster.
  6. Read the estimate. After a few seconds the page shows “About N min on this computer”.
  7. Press “Remove background”. A progress bar shows the time left. “Stop” cancels the job.
  8. Download the MP4. The button shows the file size before you save.

What happens to each frame

The browser decodes the video frame by frame. For a frame, the model draws a mask: white where the subject is, black where the background is, grey on soft edges such as hair. The frame is cut out with that mask, drawn over the new background and encoded into an H.264 MP4.

Why the model skips frames

The model is the slow part, so it runs on every 3rd frame. Masks for the frames in between are blended from their two neighbours. When the picture changes noticeably the tool computes a mask sooner, and during fast motion it computes one for every frame. A calm talking head needs the model on about a third of the frames, a lively clip on about two thirds. The line under the result reports both numbers.

Why edges do not shimmer

Each new mask is mixed with the previous one. Pixels that changed a little are averaged, which removes the frame-to-frame flicker along hair and shoulders. Pixels that changed sharply follow the new frame at once, so a moving hand does not leave a trail.

The four backgrounds

Blur the original background

Your own room stays behind you, out of focus, like the blur in a video call but rendered into the file. “Blur strength” goes from 6 to 60 px and starts at 24. Low values soften clutter; high values turn the room into patches of colour.

Solid colour

One flat colour from the picker; it starts as white. White suits product clips, a dark tone suits a talking head.

Your own image

The JPG or PNG is scaled until it fills the frame and is centred, so a picture with a different shape loses its edges. To control what is cut, prepare it at the shape of the video first, for example 1920×1080 for landscape, with the image resizer. The start button stays inactive until an image is chosen.

Chroma green (for editors)

A flat #00FF00 background. This is the route to a moving background: remove the green with the chroma-key effect of your editor and put any footage underneath.

Full body or Fast: the two models

Full body — ISNetFast — MODNet
KeepsWhole person: hair, hands, legs. Also products and petsHead and shoulders. Loses legs and hands
Mask resolution1024×1024Up to 512 px on the long side
Download88 MB on a graphics card, 176 MB on the CPU26 MB
On a graphics cardAbout 4–10 minutes per minute of video on a laptop, 1–2 on a gaming card1–2 minutes per minute of video
On the CPUHours for a long clipSeveral times longer than on a graphics card
LicenceApache 2.0Apache 2.0

On a desktop or laptop with WebGPU the page starts with Full body on the graphics card. On phones, and on computers without WebGPU, it starts with Fast on the CPU. “Advanced” holds the “Compute” switch if you want to change that.

Output size and what is inside the file

  • Sizes. Original, 1080p, 720p and 480p; only sizes smaller than the source are offered. A 4K source is set to 1080p by default, so choose Original to keep 4K.
  • Edge detail. The mask is computed at the model resolution and scaled up to the frame. A 4K export takes longer to render but its edges are not sharper than at 1080p.
  • Video. MP4 with H.264. The frame rate follows the source, between 10 and 60 fps. The bitrate follows the source too, with a floor of about 5.6 Mbit/s at 1080p and a ceiling of 40 Mbit/s.
  • Audio. The original track is copied untouched when its codec fits MP4. Otherwise it is re-encoded to AAC at 160 kbit/s.
  • File name. The original name plus -new-background or -greenscreen.

How long it takes

Before you start, the tool runs the model on 4 frames of your clip and multiplies the result by the length. The estimate is measured again when you change the model, the output size or the compute device.

On a mid-range laptop GPU the full-body model needs roughly 4–10 minutes per minute of video, about 9 on lively footage. A gaming card needs 1–2.

Ways to shorten the wait

  • Cut the clip to the part you need with the video cutter before you start.
  • Use Fast for a head-and-shoulders shot where the hands stay out of frame.
  • Lower “Output size” to 720p for social media drafts.
  • Keep the tab open until the job ends.

The one-hour cap

Clips longer than one hour are refused with a message. Split the recording and process the parts separately.

Footage that cuts out cleanly, and footage that does not

FootageWhat to expect
Evenly lit person against a plain wallThe cleanest edges
Person in a busy roomGood; small errors where clothes match the background
Window or lamp behind the personFlicker along the outline
Loose, very fine hairSmall imperfections around the head
Dancing, waving, fast camera movesSlower, because the model runs on every frame
Product on a table, a petWorks with Full body only
Empty room at the start, person walks in laterThe first mask fails the check; see Troubleshooting

ISNet cuts out the main subject as a whole. A chair back or a microphone that touches you may stay in the picture.

Keying the green file in an editor

EditorEffect to use
Premiere ProUltra Key
DaVinci Resolve3D Keyer
Final Cut ProKeyer
CapCutChroma key
OBS StudioChroma Key filter on the media source

Set the key colour to #00FF00. The green here is perfectly flat, so a low tolerance is enough. If you wear green, the editor will remove your clothes as well: export with “Solid colour” in pure blue instead and key that colour.

What this tool does not do

  • No video as a background inside the tool. Export green and combine the layers in an editor.
  • No transparent file. MP4 cannot store transparency.
  • No manual correction. There is no brush to fix a mask and no way to pick which person or object to keep.
  • No clips over one hour.
  • Photos are a different job. For a still picture use the background remover.

How it runs on your device

The model file is downloaded once and kept in the browser cache; later runs skip the download. Decoding and encoding use WebCodecs, which needs Chrome, Edge, Opera or Safari 17+. The video itself is read from your disk and never sent anywhere, which matters for client footage and unreleased material. Large results are written to the private storage of the browser instead of memory.

The first mask from the graphics card is checked. If it is broken, the tool retries the full-body model at full precision, then falls back to the fast model, then to the CPU, and a notice says which path was taken. The line under the result names the device, the model, the frame count and the seconds spent.

Troubleshooting

The estimate says an hour or more

The full-body model is running on the CPU or on weak graphics. Switch to Fast, lower the output size or shorten the clip.

The tool switched to the fast model by itself

Either the graphics card could not run ISNet, or the first frame had no clear subject. Trim the empty lead-in so the clip starts with the person in view, then run it again.

Hands or legs are missing

That is the Fast model: it is trained on portraits. Choose Full body — ISNet.

The outline flickers around hair

Backlight and busy backgrounds cause it. Reshoot with light on the face and a plain wall, or choose the blur background, where small mask errors are hard to see.

The video cannot be decoded

The browser has no decoder for that codec. Export the clip again as MP4 with H.264 from your phone or editor, or open the page in Chrome or Edge.

The file is too large to send

The result is encoded at a high bitrate. Shrink it with the video compressor.