How do I make a WebM video with a transparent background?

Two approaches: upload your video to this tool and export transparent WebM, or use FFmpeg locally. Both require that your input has alpha or needs background removal first.

Export transparent WebM here

Upload, pick Transparent WebM, download a VP9 file with yuva420p. No local FFmpeg required.

Export with this tool

15 free seconds on first sign-in. No subscription required to try a short clip.

Method 1: Using ExportAlpha

  1. Upload your video (MP4, MOV, WebM, or M4V)
  2. Select "Transparent" export option
  3. Download the resulting .webm file
  4. Verify with ffprobe to confirm yuva420p or check alpha_mode metadata

The tool processes background removal and exports with VP9 codec and yuva420p pixel format. This is the standard for web-compatible transparent WebM.

Method 2: Using FFmpeg (reference)

If you have FFmpeg installed and already have a video with alpha (e.g., ProRes 4444 MOV or image sequence), you can encode WebM locally:

ffmpeg -i input.mov -c:v libvpx-vp9 -pix_fmt yuva420p -c:a libopus output.webm

Important: This command is a reference. FFmpeg syntax and options change across versions. Check current FFmpeg and libvpx documentation for your version. This is not guaranteed to work in all environments without adjustment.

Input requirements

Your input must already have alpha or need background removal. You cannot make a video transparent by re-encoding it. Specifically:

  • Good inputs: ProRes 4444 MOV, PNG sequences, green-screen footage (for keying), or any format with an existing alpha channel
  • Won't work: H.264 MP4 that already has black or white filled in—transparency is already lost

If your video doesn't have alpha and needs background removal, that's a separate step. This tool handles background removal + WebM export in one workflow.

Verifying your WebM has alpha

Use ffprobe:

ffprobe -v error -select_streams v:0 -show_entries stream=pix_fmt -of default=noprint_wrappers=1:nokey=1 output.webm

Look for:

  • yuva420p — standard alpha WebM
  • yuva444p10le — higher quality alpha

Also test in Chrome: layer the video over a colored div using HTML/CSS. If the background color shows through, alpha is working. Don't rely on system video players—they often composite onto black, which makes correct files look broken.

Common issues

Desktop player shows black background

This doesn't mean your file is wrong. Most desktop video players composite transparent pixels onto black. Import the WebM into Chrome or an editing timeline to verify alpha.

Safari shows black

Safari doesn't composite WebM alpha. Your file is correct—Safari just doesn't support it. See why Safari shows black and use HEVC-with-alpha for Safari instead.

FFmpeg says "Conversion failed"

Your input might not have alpha, libvpx-vp9 may not be compiled in your FFmpeg build, or the pixel format isn't compatible. Check FFmpeg's capabilities with ffmpeg -encoders | grep vp9.

Frequently Asked Questions

Can I make WebM from Premiere or After Effects?

Premiere and After Effects don't natively export WebM. You can export ProRes 4444 MOV (with alpha), then convert to WebM using FFmpeg or this tool. Don't export H.264 MP4—it won't have alpha.

What's the file size difference between ProRes and WebM?

ProRes 4444 is much larger (editing quality). WebM VP9 is compressed for delivery. A 10-second 1080p ProRes clip might be 200–500 MB. The same clip as WebM might be 2–10 MB depending on bitrate and complexity.

Should I use VP8 or VP9?

Use VP9. VP8 supports alpha but VP9 is newer, more efficient, and better supported in modern browsers. Unless you need to support very old browsers (pre-2015), use VP9.

Sources

Upload and export transparent WebM in one step

No FFmpeg required. Upload your video, select transparent export, download WebM with alpha.

Export with this tool

15 free seconds on first sign-in. No subscription required to try a short clip.