How to Convert WebM to MP4 on Mac When QuickTime Won't Open It
QuickTime can't open WebM. Convert WebM to MP4 on your Mac with HandBrake, one ffmpeg command or Zumkor, plus fixes for transparency and seeking.
Convert your videos with Zumkor on your iPhone, iPad, or Mac — 5 files a day free, or $19.99 once.
Needs iOS 26.0 or later on iPhone and iPad, or macOS 14.0 or later on an Apple silicon Mac (Apple M1 or later).
No app that comes with your Mac can convert WebM, because none of them can open it: QuickTime Player, iMovie and Photos don’t read the format. Safari plays a WebM, but it can’t save it as anything else. So converting WebM to MP4 on a Mac takes one of three tools:
- HandBrake (free app): open the WebM, keep the MP4 format, start. Best free option if you’d rather not use Terminal.
- ffmpeg (free, Terminal):
ffmpeg -i input.webm -c:v libx264 -crf 20 -c:a aac output.mp4. - Zumkor (for folders): drag them in, choose Universal MP4, convert.
Unlike MKV, a WebM always needs a real re-encode, so expect it to take minutes rather than seconds. And if you only want to watch the file, skip converting entirely: IINA and VLC play WebM as is.
In this guide 13 sections
Pick your route
| Your situation | Route | What to know |
|---|---|---|
| You only want to watch it | IINA, VLC, or drag it into Safari or Chrome | No conversion at all |
| One file, you prefer an app | HandBrake | Free; re-encodes to H.264 MP4 |
| One file, Terminal is fine | ffmpeg | Free; one command |
| Recorded in a browser, can’t seek or shows no length | ffmpeg or HandBrake | The conversion writes a real duration |
| Transparent WebM (stickers, overlays) | ffmpeg to a MOV with alpha | MP4 has no transparency |
| A folder, no Terminal | Zumkor, Universal MP4 | Hardware encoder, offline |
| You only want the sound | Extract the audio instead | Smaller job; no video re-encode |
Why your Mac won’t open WebM
WebM is Google’s video container for royalty-free video in a browser. Inside, the video is VP8, VP9 or AV1 and the audio is Opus or Vorbis. Browsers took to it: Chrome, Firefox, Edge and Safari (since macOS Big Sur 11.3) play WebM on web pages, and it’s what a lot of saved web video, Discord and Slack uploads, and browser screen recordings come down as.
Apple’s own media apps took a different road. QuickTime Player, iMovie and Photos sit on AVFoundation, which works in H.264 and HEVC inside MOV and MP4, and doesn’t read the WebM container. AV1 doesn’t change that: Macs with M3 or later have AV1 hardware decoding, but QuickTime still won’t open the WebM box it arrives in.
That’s also why there’s no lossless shortcut. An MKV usually holds H.264, so it can be repackaged into MP4 in seconds. A WebM holds VP8, VP9 or AV1, which Apple’s apps won’t play in any container, so the video must be re-encoded to H.264 (the codec everything plays) and the audio converted to AAC.
Method 1: HandBrake (free app)
HandBrake is the free, open-source encoder most Mac users already know, and it reads WebM.
- Open HandBrake and choose the .webm as the source (Open Source, or drag it onto the window).
- Leave the Format as MP4. The default Fast 1080p30 preset produces H.264 video and AAC audio.
- On the Video tab, set Video Encoder to H.264 (VideoToolbox) to use the Mac’s hardware encoder, which is much faster than the default software encoder.
- Choose where to save and click Start.
Two settings matter. Fast 1080p30 caps the output at 1080p and 30 frames per second, so for a 4K source or a 60 fps screen recording, pick a preset that matches the source or set Framerate to Same as source. And for a folder, open the folder as the source and add all of its files to the queue. Free, capable, and a lot of panels to understand before your first encode.
Method 2: ffmpeg (free, Terminal)
With Homebrew installed, brew install ffmpeg, then:
ffmpeg -i input.webm -c:v libx264 -crf 20 -preset medium -c:a aac -b:a 192k output.mp4
-c:v libx264 re-encodes the video to H.264, -crf 20 sets the quality (lower is better; 18 to 23 is the sensible range), and -c:a aac turns the Opus or Vorbis audio into AAC. The result plays in QuickTime, imports into iMovie and AirDrops to an iPhone.
libx264 runs on the CPU, so a long video takes a while. The hardware encoder is far faster but wants a bitrate rather than a quality level:
ffmpeg -i input.webm -c:v h264_videotoolbox -b:v 8M -c:a aac -b:a 192k output.mp4
A whole folder:
cd ~/Downloads/webm-files
for f in ./*.webm; do
[ -e "$f" ] || continue
ffmpeg -n -i "$f" -c:v libx264 -crf 20 -c:a aac -b:a 192k "${f%.*}.mp4"
done
-n skips files that already have an MP4 rather than overwriting them.
Browser recordings that won’t seek
WebM files recorded in a browser (screen-recorder extensions, web-based meeting and interview tools) often have no duration in the file header. Players show no length, the scrubber doesn’t work, and some apps refuse the file. Nothing is lost: converting with ffmpeg or HandBrake writes a normal MP4 with a real duration and a working scrubber.
These recordings are also usually variable frame rate. That plays fine, but if the MP4 is headed into an editor and the audio drifts out of sync over a long clip, convert again at a fixed frame rate:
ffmpeg -i recording.webm -c:v libx264 -crf 20 -fps_mode cfr -r 30 -c:a aac recording.mp4
Transparent WebM: don’t make an MP4
WebM can carry an alpha channel. Telegram’s video stickers, animated overlays and many web animations are VP9 WebM with a transparent background. H.264 MP4 has no transparency, so any MP4 conversion (ffmpeg, HandBrake or Zumkor) fills the background with black.
If the transparency matters, convert to a MOV that keeps it. Two details are easy to miss: tell ffmpeg to decode with libvpx-vp9, because its built-in VP9 decoder drops the alpha, and pick an output codec that stores alpha.
For editing (Final Cut Pro, Premiere, Motion), ProRes 4444:
ffmpeg -c:v libvpx-vp9 -i sticker.webm -c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le sticker.mov
For a much smaller file that keeps its transparency in Safari and Final Cut Pro, HEVC with alpha:
ffmpeg -c:v libvpx-vp9 -i sticker.webm -c:v hevc_videotoolbox -alpha_quality 0.75 -tag:v hvc1 sticker.mov
Method 3: Zumkor (drag the folder, done)
If WebM files keep landing on your Mac (reference clips, footage pulled from Discord or Slack, screen captures from browser tools, stock sites that deliver WebM), Zumkor turns the chore into one drag. It runs on any Apple silicon Mac (M1 or later) with macOS 14 or later, and on iPhone and iPad with iOS 26 or later (iPhone and iPad steps below). On the Mac:
- Open Zumkor and drag in the .webm files, or the whole folder.
- Choose MP4 with the “Universal MP4” preset, which makes play-anywhere H.264. If the sources are oversized, “iPhone-compatible 1080p” or “720p” bring everything to a standard size. Every row shows the exact filename it will produce.
- Click Convert and choose where the MP4s go. The WebMs stay where they are.
Every file is re-encoded on the Mac’s hardware encoder, with no bitrates or flags to choose. That includes AV1 WebMs, which Zumkor has converted reliably since version 1.4. The queue takes up to 2,000 files, the list is still there next time you open the app, and nothing is uploaded: the Mac app itself isn’t allowed online, so converting works with Wi-Fi off.
On a Mac, everything is free for 7 days; after that, 5 files a day (25 a week) stay free, with a small Zumkor mark on free videos, and the row tells you before you convert. The Full Version is a one-time $19.99 purchase, shared with your family, with no subscription.
The honest trade-off: for one file, HandBrake and ffmpeg are free and do the same re-encode. Zumkor earns its place when there are twelve files rather than one, when you don’t want to learn encoder panels or flags, or when the same afternoon brings a MOV that has to be MP4, WebP images that won’t open and a video too big to email. One caveat from the sections above: Zumkor’s MP4s, like every H.264 MP4, can’t keep a WebM’s transparency.
On iPhone or iPad
Nothing built into iPhone or iPad turns a WebM into an MP4; there’s no setting to hunt for. If you only need to watch it, VLC is free on the App Store and its listing says it plays “most formats directly without conversion”.
For an MP4 you can keep in Photos, send or edit, Zumkor (iOS 26 or later) converts on the device. The iPhone and iPad listing puts it plainly: “MKV, WebM, AVI, WMV and FLV become an MP4 too.”
- Pick the .webm in Files. Files downloaded from email or the web are under Downloads in the sidebar (Apple’s Files basics).
- Choose MP4.
- Tap Convert, then save to Photos, save to Files or share it.
Two other jobs from this guide work on the phone too. For a talk or a set, save just the sound: at full quality, as an MP3 that plays anywhere, or as a smaller MP3 for voices. For a reaction clip, a short, silent GIF loop is small enough for Slack or Discord and never gets a watermark. Transparency is still the one thing the MP4 won’t carry over. Nothing is uploaded.
Converting is free on iPhone and iPad for 5 files a day (25 a week), with a small Zumkor mark on free videos; one $19.99 purchase unlocks iPhone, iPad and Mac.
Getting the conversion right
- Use H.264 unless you know otherwise. H.264 with AAC in an MP4 plays on every device, editor and upload form. HEVC is smaller at the same quality, but older Windows PCs and some portals still reject it.
- Don’t max out the quality. The WebM was already compressed once; re-encoding can’t add detail back. CRF 18 to 23 in ffmpeg or HandBrake is visually transparent for normal footage, and anything higher only inflates the file.
- Don’t upscale. A 720p WebM converted “to 4K” is the same picture in a bigger file. Match the source, or go smaller if the file is headed for chat or email.
- Expect a wait on long files. Every WebM needs a full re-encode, so an hour-long recording takes real minutes even on the hardware encoder.
Two jobs that don’t need an MP4
You only want the sound. A lot of saved WebM files are a talk, a set or an interview with a picture attached. Extract the audio instead: in Zumkor, choose “Just the audio (MP3)” rather than MP4; in ffmpeg, ffmpeg -i input.webm -vn -c:a libmp3lame -q:a 2 output.mp3. The MP4 to MP3 guide covers the details.
You want it to loop in chat. A reaction or a short screen capture for Discord or Slack often works better as an animated GIF, which plays inline without a tap. Zumkor’s GIF presets include “Discord — plays by itself (256 KB)” for a couple of seconds of footage; how to convert MP4 to GIF on Mac has the full workflow. If the clip has to stay a video and fit Discord’s upload limit, see compressing a video for Discord.
The same fix works for its cousins
WebM is one of a family of formats that browsers or old PCs play and QuickTime won’t. .mkv, .avi, .wmv and .flv hit the same wall and leave the same way: re-wrap or re-encode to MP4. Zumkor reads all of them and writes MP4, MOV, M4V or MKV in the same pass; see the full list of formats it reads and writes.
Bottom line
- Just want to watch it: IINA, VLC or Safari. No conversion.
- One file, free, an app: HandBrake, MP4 format, H.264 (VideoToolbox) encoder.
- One file, free, Terminal:
ffmpeg -i input.webm -c:v libx264 -crf 20 -c:a aac output.mp4. - Transparent WebM: convert to ProRes 4444 or HEVC-with-alpha MOV, never MP4.
- A folder, no flags: Zumkor. Drag it in, choose Universal MP4, and every file converts offline on the hardware encoder, for a one-time $19.99.
Whichever you choose, do it on the Mac. Uploading a 400 MB video to a converter site and downloading it back, to fix a format your own machine converts in minutes, is the one bad option on the list.
FAQ
Why won’t a WebM file open in QuickTime on my Mac?
QuickTime Player, iMovie and Photos are built on Apple’s AVFoundation, which doesn’t read the WebM container or its usual VP8 and VP9 video. The file isn’t damaged. Play it in IINA, VLC or Safari, or convert it to an H.264 MP4, which opens everywhere on the Mac.
Is there a free WebM to MP4 converter for Mac?
Yes, two good ones. HandBrake is a free, open-source app: open the WebM, keep the MP4 format, and start the encode. ffmpeg is free in Terminal: ffmpeg -i input.webm -c:v libx264 -crf 20 -c:a aac output.mp4. Both run offline, with nothing uploaded.
Can I convert WebM to MP4 without losing quality?
Not bit for bit. The VP8, VP9 or AV1 video in a WebM isn’t something Apple’s apps play in any container, so it has to be re-encoded to H.264. At a sensible quality setting (CRF 18 to 23 in ffmpeg or HandBrake) the result looks the same as the source. Just don’t convert the same file repeatedly.
Why did my transparent WebM get a black background as MP4?
WebM can carry an alpha channel (Telegram video stickers and animated overlays use it), and H.264 MP4 can’t. Convert to a MOV that keeps transparency instead, ProRes 4444 or HEVC with alpha, using ffmpeg’s libvpx-vp9 decoder so the alpha survives.
How do I batch convert a folder of WebM files to MP4 on a Mac?
In HandBrake, open the folder as the source and add every title to the queue. In Terminal, loop ffmpeg over *.webm. Or drag the folder into Zumkor and choose Universal MP4: every file is re-encoded to H.264 on the Mac’s hardware encoder, up to 2,000 at a time, offline.