How to convert a video to MP4
- Choose a file. Select or drop a video. The input limit is 2 GB, or 500 MB when the video has to be re-encoded.
- Wait for local processing. The first conversion downloads the video engine. The tool then reads which codecs the file uses. If they fit MP4, the streams are copied in seconds. If not, the tool re-encodes them to H.264 video and AAC audio and tells you so, because that can take a while.
- Download the MP4. Save the file when processing completes. Play it in your target app before deleting the original.
Copy or re-encode: what happens to your file
MP4 is a container: it holds a video stream and an audio stream that were compressed with some codec. When the codecs inside your file are ones that MP4 players handle everywhere, namely H.264 or HEVC video with AAC or MP3 audio, the tool copies them into a new MP4 without touching the picture or sound. That is fast and lossless.
Everything else is re-encoded. Video becomes H.264 (x264 preset "ultrafast", CRF 23, 8-bit 4:2:0) and audio becomes AAC at 160 kbps. When only the audio needs work, such as H.264 with uncompressed PCM sound from a camera, the picture is still copied and only the audio is re-encoded, which stays quick. Re-encoding is lossy: the MP4 is a new copy, not a bit-for-bit one, so keep your original.
MP4 files can technically hold VP9, AV1 or Opus as well, but QuickTime, iMovie and many editors and TVs won't play them, so the tool converts those to H.264 and AAC instead of copying them.
Formats this page accepts
| Format | Extension | What usually happens |
|---|---|---|
| QuickTime | .mov | Copied (iPhone and most cameras use H.264 or HEVC with AAC) |
| MPEG-4 | .mp4, .m4v | Copied, or re-encoded if the codecs are unusual |
| Matroska | .mkv | Copied when H.264/HEVC with AAC; otherwise re-encoded |
| WebM | .webm | Re-encoded (VP8 or VP9 video; AV1 is not supported) |
| AVI | .avi | Usually re-encoded (Xvid, DivX or MJPEG video) |
| Windows Media | .wmv | Re-encoded (WMV or VC-1 video, WMA audio) |
| Flash Video | .flv | Copied when H.264/AAC; older Sorenson or VP6 files re-encoded |
| 3GPP | .3gp | H.264 copied; H.263 video or AMR audio re-encoded |
| MPEG program stream | .mpg, .mpeg | Re-encoded (MPEG-1 or MPEG-2 video) |
Convert MOV to MP4 (iPhone and Mac video)
MOV is Apple's QuickTime container, used by iPhones, iPads, Macs and many cameras. An iPhone records HEVC video when the camera is set to "High Efficiency" and H.264 when set to "Most Compatible", with AAC audio either way, so its MOV files are usually copied into MP4 without re-encoding. HEVC is copied as it is: if an older player or Windows PC can't play HEVC, this tool won't change that, and a desktop app that re-encodes to H.264 is the better choice.
Convert MKV to MP4
Matroska (MKV) is a flexible container popular with OBS recordings and video archives. Many MKV files hold H.264 or HEVC video with AAC audio and are copied quickly. Files with VP9, DTS, FLAC, Opus or Vorbis streams have those streams re-encoded. Subtitle tracks and extra audio languages are not carried over to the MP4.
Convert AVI to MP4
AVI is Microsoft's older container from the 1990s. Most AVI files from that era use MPEG-4 Part 2 video (Xvid or DivX) or Motion JPEG from cameras, often with MP3 or PCM audio. Browsers and phones don't play those video codecs, so AVI files are normally re-encoded to H.264. An AVI that already contains H.264 video is copied.
Convert WMV to MP4
WMV files use Microsoft's Windows Media Video codecs (WMV7–9 or VC-1) with Windows Media Audio. MP4 can't carry those codecs, so a WMV file is always re-encoded to H.264 and AAC. Depending on the resolution and your device, encoding can take longer than the video's own running time, and the file must be under the 500 MB re-encode limit.
Convert FLV to MP4
FLV is the Flash Video container. Later FLV files, such as old YouTube downloads or stream recordings, usually contain H.264 and AAC and are copied into MP4 without loss. Early FLV files use Sorenson Spark or On2 VP6 video with MP3 or Nellymoser audio; those are re-encoded.
Privacy and limits
The selected file is processed by WebAssembly inside your browser. It is not uploaded to our servers. The conversion engine itself must be fetched on first use, so you need a connection at least for that step. Copying works up to 2 GB; re-encoding video is limited to 500 MB, because it runs on a single CPU core in the tab and long encodes can take a very long time or run out of memory. Keep your original until you have played the converted file and confirmed that picture and sound are present.
Frequently asked questions
- Does my video get uploaded?
- No. Video processing runs in your browser. The conversion engine is downloaded when you choose a file, but the file itself is not sent to our server.
- Which files can I convert?
- MOV, MP4, M4V, WebM, MKV, AVI, WMV, FLV, 3GP, MPG and MPEG files up to 2 GB. If ffmpeg can read the video and audio inside, the tool can turn it into an MP4.
- Will the quality change?
- Not when the streams are copied: H.264 or HEVC video with AAC or MP3 audio goes into the MP4 untouched. Other codecs are re-encoded to H.264 and AAC, which is a lossy step. The tool uses CRF 23, x264's default quality level.
- Why is my file taking so long?
- It is being re-encoded. Encoding video inside a browser tab is many times slower than copying, so a few minutes of HD video can take a long while. A desktop computer is faster than a phone. Copy-only conversions usually finish in seconds.
- What is the file size limit?
- Files up to 2 GB can be copied into MP4. Files that need video re-encoding are limited to 500 MB, because longer encodes in a browser tab tend to run for a very long time or run out of memory. For bigger files, use a desktop app such as HandBrake.
- Are subtitles and extra audio tracks kept?
- No. The MP4 gets the first video track and the first audio track. Subtitle tracks and additional audio languages are left out.
- Does it work on a phone?
- Usually for small files on a recent phone, especially when the streams can be copied. Re-encoding is slow on phones and large files can exceed their memory; a desktop browser is more reliable.
Related tools
- WebM to MP4 converter for browser and screen recordings.
- MP4 to MP3 converter to keep only the sound of a video file, as MP3 or WAV.
- Need a file from a public video link instead? Use the video downloader.