Skip to content

Convert WebM to MP4 in your browser

Turn WebM screen recordings and web videos into MP4 files that play everywhere.

One-click sharing presets: Discord / Gmail / WhatsApp / Outlook and Yahoo Mail / Telegram / Slack / iMessage / X (Twitter)

Video compression workspace

Drop a video or browse

MP4, MOV, AVI, WebM, MKV & more

Files stay on your device
Settings
CRFLower = higher quality
26
23–26 recommended · 0 = lossless · 51 = smallest
Speed presetFaster = larger file
Resize1.000 = original size
Audio bitrateAAC codec
Compression
Progress0%

Buy Me a Coffee

To convert WebM to MP4, select the WebM file and click Compress. Localsquash decodes VP8/VP9 video locally and exports an H.264/AAC MP4 with no upload, account, or watermark.

How to convert WebM to MP4

  1. Select your WebM file.
  2. Optionally trim, crop, or lower the resolution.
  3. Keep CRF 23–26 for a balance of size and quality, or lower it for more detail.
  4. Click Compress to export an H.264 MP4 and download it.

Why convert WebM to MP4?

Compatibility

Many editors, older iPhones, and messaging apps prefer MP4. H.264 MP4 imports into most editing tools.

Screen recordings

Browser and OBS recordings are often WebM. Keep CRF 18–23 and the original resolution so small text stays readable.

Audio

Opus or Vorbis audio is converted to AAC for MP4 compatibility.

Technical specifications

Localsquash video processing specifications
EngineFFmpeg compiled to WebAssembly (ffmpeg.wasm core 0.12.10, single-threaded), running in your browser tab
InputsMP4, MOV, WebM, MKV, AVI (decodable by the bundled FFmpeg build)
Video outputH.264 (libx264, yuv420p) in MP4 with faststart
Audio outputAAC; can be removed in target-size mode
Quality controlCRF 0–51 with x264 presets from ultrafast to veryslow
Size controlTwo-pass target size in MB (1,000,000 bytes) or MiB (1,048,576 bytes); inputs below 2,000 MB
Not supportedHDR tone mapping, subtitle tracks, batch queues
MemoryLimited by the browser and device; phones fail sooner on large files
NetworkAbout 32 MB of engine files downloaded from cdn.jsdelivr.net when you select a file; your media is never sent

How to verify nothing is uploaded

  1. Open your browser’s developer tools and select the Network tab.
  2. Select a file and wait until the engine status shows Ready.
  3. Optionally switch the device offline, then start compression. It still completes because encoding runs locally.
  4. Review the requests: page assets, analytics, and ffmpeg-core files appear, but no request contains your media.

WebM to MP4 FAQ

Will WebM to MP4 lose quality?

Re-encoding is lossy, but a CRF of 18–23 is visually close to the source for most content. Lower CRF keeps more detail at a larger size.

Which codecs does the MP4 use?

H.264 (libx264, yuv420p) video and AAC audio with the moov atom moved to the start (faststart), which plays in browsers, phones, TVs, and editors. Choose Trim only to cut without re-encoding; that keeps the original container instead of MP4.

Is my WebM file uploaded?

No. The WebM file is decoded and re-encoded by FFmpeg WebAssembly inside your browser tab. Nothing is sent to a server, and there is no account or watermark.