How to convert a video to MP4
- Choose one or more videos: MOV, MKV, WebM, M4V, 3GP or TS. Each shows its codecs and whether it will be rewrapped or re-encoded.
- Keep Plays everywhere for H.264 and AAC, or choose Fastest to keep the original codecs whenever MP4 can hold them.
- Press Convert to MP4 and download each file.
Rewrap or re-encode?
MOV, MKV and MP4 are containers: boxes holding a picture track and a sound track. When the tracks inside are H.264 and AAC, converting to MP4 only moves them into a new box, which is fast and lossless. VP8, VP9 and AV1 (common in WebM) and H.265 are re-encoded to H.264 with your browser's encoder, at about the original's bits per pixel, so the picture looks the same; sound that isn't AAC or MP3 is re-encoded to AAC at 160 kbit/s.
Example
A 720p WebM screen recording with a VP9 picture at 2 Mbit/s and Opus sound: VP9 is more efficient than H.264, so the MP4's picture gets 1.4 × 2 = 2.8 Mbit/s to look the same, and the sound becomes AAC. A 10-minute 1080p MKV from OBS with H.264 and AAC is rewrapped into an MP4 without re-encoding.
By format
- MOV (iPhone, cameras): usually H.264 or H.265 with AAC; H.264 is rewrapped.
- MKV (OBS, downloads): often H.264 and AAC, rewrapped; Dolby Digital sound is kept or re-encoded where the browser can decode it.
- WebM (browsers, screen recorders): VP8 or VP9 with Opus, re-encoded to H.264 and AAC.
To convert to WebM, MOV or MKV instead, use the Video converter. To make the file smaller, use Compress video.
Video files are read and written with Mediabunny 1.61.3 (Mozilla Public License 2.0), loaded unmodified as a separate file, and coded by your browser's own video and audio encoders (WebCodecs). Licence and source code.