Illustration of two people converting a video file into the MP4 format, surrounded by film strips

Best Video Formats: MP4, MOV, WebM and Which to Use

For most people the best video format is MP4 with H.264 video and AAC audio: it plays on virtually every phone, browser, TV and social platform, and it is what YouTube recommends for uploads. Use MOV (often with ProRes) for editing and high-quality masters, WebM for extra-small files on your own website with an MP4 fallback, and MKV for recordings and archives. Older formats such as AVI, WMV and FLV are best avoided for new videos.

A lot goes into making a great video, from planning and scripting to animation and sound. One thing that is easy to overlook until the last minute is the video format. Pick the wrong one and a finished film may refuse to upload, play badly on phones or be far bigger than it needs to be. Below we explain what a video format actually is, compare the seven formats you are most likely to meet, and show which one to use for each job. For the step that usually comes next, see our guide to video compression.

Thinking of getting your own video?

Schedule a call with our team.

Schedule a call

Best video format for each use at a glance

Where the video is goingBest formatCodec inside
YouTubeMP4H.264 video, AAC audio
Instagram, TikTok, LinkedIn, X and FacebookMP4H.264 video, AAC audio
Your own websiteMP4 (plus WebM if you want smaller files)H.264 / AAC; VP9 or AV1 / Opus for WebM
Email and sales outreachA thumbnail or GIF linking to an MP4H.264 / AAC
Editing and mastersMOVProRes or H.264
Recording and archivingMKV or MOVAny, often lossless
Old Windows software onlyAVI or WMVLegacy codecs

What is a video format?

A video format is really two things working together: a container and a codec. The container is the file type you see in the extension, such as .mp4 or .mov. It wraps the video track, one or more audio tracks and extras like subtitles, chapter markers and metadata (frame rate, creation date, even the camera used). The codec (short for coder-decoder) is the method used to compress the picture and sound inside that container, such as H.264, HEVC or AV1.

That is why two .mp4 files can look and behave very differently: the container is the same, but the codec, resolution and bitrate inside may not be. When a platform lists the formats it accepts, it usually means both: a container it can open and a codec it can decode.

ContainerCodec
What it isThe file wrapperThe compression method
ExamplesMP4, MOV, WebM, MKV, AVIH.264, HEVC, VP9, AV1, ProRes
What it decidesWhich apps and platforms can open the fileQuality, file size and playback support

Video formats matter because they decide where your video can go. X (formerly Twitter), for example, accepts MP4 and MOV uploads; send it something else and the upload simply fails. Choosing a compatible format before you export saves you a nasty surprise after the hard work is done.

The 7 most common video formats compared

FormatMade byStrengthsWatch out for
MP4ISO / MPEG standardPlays almost everywhere, small files, good qualityQuality depends on the codec and bitrate you export
MOVApple (QuickTime)Editing-friendly, holds ProRes mastersLarge files; limited browser playback
WebMGoogle-backed WebM ProjectOpen, royalty-free, very small files for the webNot accepted everywhere; keep an MP4 fallback
MKVMatroska projectOpen, holds many audio and subtitle tracksNot supported by most social platforms
AVIMicrosoft (1992)Simple and widely readable by older softwareBig files, few modern features
WMVMicrosoftSmall files for Windows Media PlayerWeak support on Mac and mobile
FLVAdobe (Flash)Historically used for web streamingObsolete since Flash Player was retired in 2020

1. MP4

MP4 (MPEG-4 Part 14) is the most widely supported video format in the world. It is an international standard, it stores video, audio, subtitles and still images, and with the H.264 codec it keeps file sizes low while holding good quality. Every major browser, phone and smart TV plays it, and it is the format YouTube recommends for uploads. If you only make one version of a video, make it an MP4.

2. MOV

The MOV format was developed by Apple for QuickTime, and MP4 was later based on it, so the two are closely related. MOV is popular in editing because it can hold high-quality codecs such as Apple ProRes, which makes it a natural choice for masters you will edit, grade or hand to another studio. The downside is size: a ProRes MOV is far bigger than an MP4 of the same film, so it is not ideal for sharing. MOV files play on both Mac and Windows, but many browsers will not play them directly on a web page.

3. WebM

WebM was introduced in 2010 specifically for video on the web. It is open and royalty-free, uses the VP8, VP9 or AV1 video codecs with Vorbis or Opus audio, and produces very small files that load quickly and are light on phone and laptop batteries. All modern browsers play WebM, but some apps and platforms still do not accept it, so on your own site it is best offered alongside an MP4 fallback.

4. MKV

MKV (Matroska) is an open-source container that can hold almost any codec plus multiple audio, subtitle and chapter tracks in one file. It is now an IETF standard (RFC 9559), and it is a favourite for screen recording and archiving because a recording can be recovered even if the software crashes. It is less useful for sharing: most social platforms and many editing apps do not accept MKV, so convert to MP4 before you publish.

5. AVI

AVI is one of the old guard, created by Microsoft in 1992. Because of its age, almost any desktop software can read it on Windows, macOS or Linux. It can hold high-quality video, but files are large and the format lacks modern features such as good streaming support, so it is best kept for older workflows rather than new uploads.

6. WMV

WMV was created by Microsoft for Windows Media Player. It compresses well, but unlike MOV it has never had good native support on the other side of the fence: Mac users usually need an extra player or a converter. For anything you plan to share widely, MP4 is the safer choice.

7. FLV

FLV was the format of Adobe Flash Player and once powered a lot of online video. Flash Player reached end of life at the end of 2020 and browsers no longer support it, so FLV is effectively obsolete. If you still have FLV files, convert them to MP4.

Thinking of getting your own video?

Schedule a call with our team.

Schedule a call

Which video format should you use?

For YouTube

Upload an MP4 with H.264 video and AAC audio at the resolution and frame rate you filmed or animated in. YouTube also accepts MOV, WebM and several other formats, but MP4 is its recommended upload format. Our guide to YouTube SEO covers what to do once the file is up.

For social media

Instagram, TikTok, LinkedIn, X and Facebook all take MP4 files with H.264 video and AAC audio, and most also accept MOV. What changes from platform to platform is the shape and length, not the format, so export a separate vertical video for Reels, Shorts and TikTok and check each platform’s limits, such as our LinkedIn video specs.

A 30-second cut of a PGA Tour explainer from our studio. One film is usually delivered in several versions and sizes for different channels.

For your website

If you host the file yourself, use MP4 (H.264 / AAC) so every visitor can play it, and add a WebM version as the first source if you want smaller files. Many businesses skip the format question entirely by embedding from YouTube, Vimeo or Wistia, which convert your upload for every device automatically. See our guides to embedding video into your content and the website explainer video for placement and loading tips.

For email and sales outreach

Most email clients will not play video inside the message, so send a still thumbnail with a play button, or a short GIF, that links to the MP4 on a landing page or video host. Our guide to making a GIF from a video shows how to turn a clip into a lightweight GIF.

For editing and archiving

Keep a high-quality master, usually a MOV with ProRes or the original camera or animation export, and make your MP4s from it. Never re-edit a heavily compressed MP4 if you can avoid it: every new compression pass loses a little more quality. MKV is a good option for recordings and archives that need several audio or subtitle tracks.

How to change a video format

  1. Open the file in an editor or converter such as your editing software, HandBrake or VLC.
  2. Choose the container and codec: for most uses, MP4 with H.264 video and AAC audio.
  3. Keep the original resolution and frame rate unless the destination needs something different.
  4. Set the quality or bitrate so the file is small enough to upload without visible blocking; our video optimization guide explains the trade-offs.
  5. Export and test on a phone and a laptop before you publish or send it.

If the codec inside is already right and only the container is wrong (for example H.264 video in an MKV), many tools can “remux” the file into MP4 in seconds without re-encoding, so there is no quality loss.

What format do professional animators deliver?

When we deliver an animated film, clients receive the final master plus every agreed cutdown and version, such as square or vertical cuts for social media, and a captions file, ready for YouTube, social channels and the website. Agreeing the formats and versions you need at the start of a project, rather than at the end, saves time. You can see the kinds of films we deliver in our explainer video examples.

An industrial automation explainer from our studio, made for the client’s website and YouTube channel.

If you would rather leave the technical side to us, see how we work as an explainer video company or book a call.

Thinking of getting your own video?

Schedule a call with our team.

Schedule a call

FAQ

What is the best video format?

MP4 with H.264 video and AAC audio, for almost every use. It plays on virtually every device, browser and platform and keeps files small. Use MOV or ProRes for editing masters.

What is the best video format for YouTube?

MP4 with H.264 video and AAC audio. It is YouTube’s recommended upload format. YouTube also accepts MOV, WebM, AVI and others.

Is MP4 or MOV better quality?

Neither, on its own. Quality depends on the codec and bitrate inside the file. MOV is often used with ProRes for editing; MP4 with H.264 is better for sharing.

What is the difference between a container and a codec?

The container is the file type; the codec is how the video is compressed. For example, an .mp4 file (container) usually holds H.264 video (codec) and AAC audio.

What is the best video format for a website?

MP4 with H.264, optionally with a WebM version first. MP4 plays in every major browser. Embedding from YouTube, Vimeo or Wistia avoids format issues altogether.

What video format is best for Instagram and TikTok?

MP4 with H.264 video and AAC audio. Both also accept MOV. Export a vertical 9:16 version for Reels and TikTok.

Is WebM better than MP4?

WebM is smaller and royalty-free, but MP4 is more widely accepted. On your own site, offer WebM with an MP4 fallback. For uploads to platforms, use MP4.

Can I still use FLV files?

Not really. FLV was the Adobe Flash format and Flash Player was retired at the end of 2020. Convert FLV files to MP4.

Which video format has the smallest file size?

WebM with AV1, followed by MP4 with HEVC or AV1. Newer codecs compress better than H.264, but check that your destination supports them.

How do I convert a video to MP4?

Open it in an editor or a converter such as HandBrake and export as MP4 with H.264 and AAC. If the video codec is already H.264, you can often remux to MP4 without re-encoding.

Schedule a call with Animation Explainers
  1. What is the best video format?

    MP4 with H.264 video and AAC audio, for almost every use. It plays on virtually every device, browser and platform and keeps files small. Use MOV or ProRes for editing masters.

  2. What is the best video format for YouTube?

    MP4 with H.264 video and AAC audio. It is YouTube’s recommended upload format. YouTube also accepts MOV, WebM, AVI and others.

  3. Is MP4 or MOV better quality?

    Neither, on its own. Quality depends on the codec and bitrate inside the file. MOV is often used with ProRes for editing; MP4 with H.264 is better for sharing.

  4. What is the difference between a container and a codec?

    The container is the file type; the codec is how the video is compressed. For example, an .mp4 file (container) usually holds H.264 video (codec) and AAC audio.

  5. What is the best video format for a website?

    MP4 with H.264, optionally with a WebM version first. MP4 plays in every major browser. Embedding from YouTube, Vimeo or Wistia avoids format issues altogether.

  6. What video format is best for Instagram and TikTok?

    MP4 with H.264 video and AAC audio. Both also accept MOV. Export a vertical 9:16 version for Reels and TikTok.

  7. Is WebM better than MP4?

    WebM is smaller and royalty-free, but MP4 is more widely accepted. On your own site, offer WebM with an MP4 fallback. For uploads to platforms, use MP4.

  8. Can I still use FLV files?

    Not really. FLV was the Adobe Flash format and Flash Player was retired at the end of 2020. Convert FLV files to MP4.

  9. Which video format has the smallest file size?

    WebM with AV1, followed by MP4 with HEVC or AV1. Newer codecs compress better than H.264, but check that your destination supports them.

  10. How do I convert a video to MP4?

    Open it in an editor or a converter such as HandBrake and export as MP4 with H.264 and AAC. If the video codec is already H.264, you can often remux to MP4 without re-encoding.

Start typing and press Enter to search