Video converter

Convert videos between MP4, WebM, MOV, MKV and AVI, with quality and size presets.

loading Video converter
About this tool

How do I convert a video to another format?

Converting a video means writing it again in a different container or codec so that it opens where the original does not: an old AVI on a modern phone, an MKV on a TV that wants MP4, an iPhone MOV in a web form, a clip in WebM for a site. This converter handles MP4, WebM, MOV, MKV and AVI, with quality and size presets, and runs entirely in your browser.

It also reads less common inputs: besides those five it accepts 3GP, FLV, WMV, MPG, MPEG and TS files. FFmpeg compiled to WebAssembly does the conversion in a worker. The engine is about 32 MB, downloads from this site the first time and stays in your cache. Nothing is uploaded: no server, no account, no watermark, no limit set by a service. The limit is your device memory.

Container and codec

A video file has two layers. The container (MP4, MKV, MOV, WebM, AVI) is the box that holds the tracks; the codec (H.264, VP8, MPEG-4) is how the picture inside is compressed. Often only the box has to change. When the picture already suits the new container, the option Copy the picture as it is when the new format allows it skips re-encoding: it takes seconds and loses nothing. The tool does this for H.264 into MP4, MOV or MKV, for VP8 or VP9 into WebM or MKV, and for MPEG-4 into AVI or MKV, as long as you do not ask for a smaller height. Otherwise it re-encodes, and the result says "re-encoded" or "picture copied as it is".

Which format to choose

FormatPicture and soundChoose it for
MP4H.264 and AACPhones, TVs, browsers, messaging apps. The safe choice
WebMVP8 and OpusWeb pages and open-content sites; smaller support elsewhere
MOVH.264 and AACApple devices and video editors
MKVH.264 and AACPlayers and archives; flexible, less supported by phones
AVIMPEG-4 Part 2 and MP3Only old players or devices that demand AVI

AVI uses an older, less efficient codec, so an AVI is usually larger than an MP4 of the same quality. Pick it only if you must.

How to convert a video

  1. Drop one or more videos on the page or pick them with the button. An example clip is already loaded.
  2. In Convert to, choose MP4, WEBM, MOV, MKV or AVI. The line below explains the codecs of the one you picked.
  3. Choose the Quality: High quality, Balanced (default) or Smaller file. It sets the encoder level: for H.264 the CRF is 20, 24 or 30.
  4. Choose the Size: Keep the size or a maximum height of 2160p, 1080p, 720p, 480p or 360p. The tool only reduces, never enlarges.
  5. Leave the Copy the picture as it is option ticked to save time when possible. Untick it to force a new encode.
  6. Click Convert to MP4 (or the format you picked). The first time, the engine downloads before the work begins.
  7. Download each result or Download all as ZIP. The note on each file says "re-encoded" or "picture copied as it is".

Audio goes to AAC at 160 kbit/s (96 at Smaller file), or to Opus for WebM and MP3 for AVI. MP4 and MOV are written with the index at the start so they play before fully downloading. Only the first video track and first audio track are kept; extra audio tracks and subtitles are dropped.

Examples

MKV to MP4 for a TV

film.mkv, 1080p, H.264. The TV accepts MP4 only. Pick MP4 with Copy the picture as it is ticked: the H.264 picture goes into the MP4 untouched and the audio is rewritten as AAC. It takes seconds, not the length of the film.

Old AVI to MP4

holiday.avi, 640 × 480, MPEG-4. Phones and browsers do not play MPEG-4 Part 2 inside an MP4, so the picture must be re-encoded: choose MP4, Balanced. The result is H.264 and plays on a phone.

A 4K file that is too heavy

drone.mov, 3840 × 2160. Convert to MP4, Balanced, Size 1080p. With a quarter of the pixels, the file is far smaller and plays on more devices. For a finer approach use Compress video.

Several files to WebM

Three short .mp4 clips for a web page. Pick WEBM, Balanced, convert once and take the ZIP. Keep the MP4s too, as a fallback source for browsers that cannot play WebM.

Common errors and how to fix them

  • "... has no video track. To convert sound only, use the audio converter." The file contains only audio. Use Extract audio from video for audio work.
  • "These files are large (...). The browser holds them in memory a few times while converting." Files over about 300 MB trigger this warning; over about 1 GB the page says the browser will probably run out of memory. Close other tabs or convert one at a time.
  • "The browser ran out of memory." Convert a shorter file, reduce the height or close other tabs.
  • "The media engine could not process this file." The file may be damaged or in a rare codec. If it plays in a media player, try again with the copy option unticked.
  • "is not a supported file for this tool." The extension is not a video format the tool reads.
  • The result has no subtitles or second audio track. Only the first audio and video tracks are kept.
  • The engine download fails. Click Try again; what already arrived is kept.

Frequently asked questions

What is the best video format?

For sharing, MP4 with H.264 and AAC, because it plays almost everywhere. Choose WebM for the open web and MKV for personal archives.

Does converting lose quality?

Not when the picture is copied. When it is re-encoded, a small loss happens; at High quality it is hard to see.

How long does converting take?

Copying takes seconds. Re-encoding on one browser thread takes roughly real time for each minute of HD video, and more for 4K; the bar shows the time left.

Does it work on a phone?

Yes, in current browsers, but phones have little memory: convert short clips, one at a time.

Is there a page for one specific conversion?

Yes: see MOV to MP4, MP4 to WebM and WebM to MP4.

Report a problem