Skip to content
Private: files never leave your device

Audio and Video MIME Types List

When a server, upload form or video player sees a media file, it goes by the MIME type, also called the content type. This table gives the right type for every common video and audio file, shows which ones are officially registered and which are only widely used, and explains the codecs part that browsers check before playing a file.

Audio and video MIME types: video/mp4 for MP4, audio/mpeg for MP3, video/webm for WebM and video/quicktime for MOV files

The MIME type for an MP4 video is video/mp4, for an MP3 it is audio/mpeg, for WebM video/webm, for a MOV file video/quicktime and for an M4A audio file audio/mp4. Note that MP3 is not audio/mp3: the registered type is audio/mpeg. Every type below was checked on 23 November 2026 against the IANA audio and video registries, the MDN media container guide and the defining RFCs.

Video MIME types

FileEndingMIME typeRegistered with IANA?
MP4 video.mp4video/mp4Yes, RFC 4337 and RFC 6381
WebM video.webmvideo/webmNo, but MDN lists it as the type to use
QuickTime movie.movvideo/quicktimeYes
Matroska video.mkvvideo/matroska (old alias video/x-matroska)Yes, RFC 9559
Matroska 3D video.mk3dvideo/matroska-3dYes, RFC 9559
Ogg video.ogvvideo/oggYes, RFC 5334 and RFC 7845
MPEG video.mpegvideo/mpegYes, RFC 2045 and RFC 2046
MPEG transport stream.tsvideo/mp2tYes, written video/MP2T in the registry (RFC 3555)
AVI.avivideo/x-msvideoNo, listed by MDN only
3GP phone video.3gpvideo/3gppYes, RFC 3839
3G2 phone video.3g2video/3gpp2Yes, RFC 4393

MIME types are case-insensitive, so video/mp2t and video/MP2T are the same type. RFC 9559, published for Matroska, lists video/x-matroska and audio/x-matroska as deprecated aliases, so new servers should send video/matroska, while older software may still only know the x- form.

Audio MIME types

FileEndingMIME typeRegistered with IANA?
MP3.mp3audio/mpegYes, RFC 3003, which also covers .mp1 and .mp2
MP4 audio.m4aaudio/mp4Yes, RFC 4337
AAC (raw stream).aacaudio/aacYes, ISO/IEC JTC 1
WAV.wavaudio/wav, audio/wave, audio/x-wavNo; MDN calls audio/wave the preferred form
FLAC.flacaudio/flac (non-standard: audio/x-flac)Yes, RFC 9639
Ogg audio.ogaaudio/oggYes, RFC 5334 and RFC 7845
Opus file.opusaudio/oggaudio/ogg is; see the note below
WebM audio.webaaudio/webmNo, listed by MDN only
Matroska audio.mkaaudio/matroska (old alias audio/x-matroska)Yes, RFC 9559
MIDI.mid, .midiaudio/midi or audio/x-midiNo, listed by MDN only
3GP audio only.3gpaudio/3gppYes, RFC 3839

The registry does contain audio/opus, but its reference is RFC 7587, the format for sending Opus over RTP in calls and streams. For a saved .opus file, which is Opus audio inside an Ogg container, MDN gives audio/ogg. For WAV, MDN lists four names that different products have used over the years; none of them appears in the IANA audio registry, so accept all of them when checking uploads.

Adding the codecs parameter

A container type such as video/mp4 says nothing about which codecs are inside, and a browser cannot play a file whose codec it does not support. MDN explains that you can add a codecs parameter so a player can decide before it downloads the file. These examples are taken from MDN:

MIME type with codecsWhat it describes
video/webm; codecs="vp8, vorbis"WebM with VP8 video and Vorbis audio
video/webm;codecs="vp9"WebM with VP9 video, no audio listed
video/mp4; codecs="avc1.4d002a"MP4 with H.264 (AVC) video
video/mp4;codecs=hvc1.1.6.L186.B0,mp4a.40.2MP4 with HEVC video and AAC-LC audio

In mp4a.40.2, the last number is the MPEG-4 audio object type, and MDN gives 2 as AAC-LC. Unlike most other parts of the codecs value, that number is decimal, not hexadecimal. In a web page, MDN notes you can pass the full string, codecs included, to MediaSource.isTypeSupported(), which returns true or false depending on whether the browser is likely to play it.

Common mistakes

  • audio/mp3. Some software sends it, but the registered type for MP3 is audio/mpeg. Accept both when you check uploads, and send audio/mpeg when you serve files.
  • video/mov. The type for .mov files is video/quicktime. A file input that only accepts video/mp4 will grey out iPhone .mov videos unless .mov or video/quicktime is also listed.
  • Audio in an MP4 container. A file with only sound should be labelled audio/mp4, usually with the .m4a ending; video/mp4 tells players to expect a picture.
  • Renaming the file. Changing .mov to .mp4 does not change what is inside. Convert it properly with Video Converter, or see how to convert MOV to MP4.
  • Serving media as application/octet-stream. MDN treats that as the type for unknown binary data, and browsers usually download such files instead of playing them.
Accepting video and audio in an upload form List both the MIME types and the endings, for example accept="video/mp4,video/quicktime,video/webm,.mp4,.mov,.webm", or use accept="video/*,audio/*" to allow every type. The filter only helps people pick files, so the server should still check each upload.

Related tools

To turn a video into an MP3, use MP4 to MP3. To shrink a clip that is too big to upload, use Compress Video. For still images and documents, see our image MIME types list and document MIME types list.

Sources and dates

PageCheckedUsed for
IANA media types registry (audio and video CSV exports: 166 audio and 97 video entries)23 November 2026Which types are registered and their references; WebM, AVI, WAV and MIDI types absent
MDN: media container formats23 November 2026WebM, WAV, FLAC, 3GP and QuickTime types, preferred audio/wave
MDN: common media types23 November 2026File endings, AVI, MIDI, Opus and transport stream types
MDN: the codecs parameter23 November 2026Codecs examples and the AAC-LC object type
MDN: the accept attribute23 November 2026video/* and audio/* in file inputs
RFC 9559: Matroska (October 2024)23 November 2026video/matroska, audio/matroska, video/matroska-3d, endings and deprecated x- aliases
RFC 3003: audio/mpeg and RFC 4337: MPEG-423 November 2026MP3 endings, video/mp4 and audio/mp4

Frequently asked questions

What is the MIME type for MP4?

video/mp4, registered with IANA through RFC 4337. An MP4 file that holds only audio, usually ending in .m4a, should use audio/mp4.

Is it audio/mp3 or audio/mpeg?

audio/mpeg is the registered MIME type for MP3 files, defined in RFC 3003. audio/mp3 is sometimes seen but is not the standard type.

What is the MIME type for a MOV file?

video/quicktime. It is registered with IANA. Upload forms that only accept video/mp4 will block .mov files unless video/quicktime or .mov is added.

What is the MIME type for WebM?

video/webm for video and audio/webm for audio only. MDN lists both, although neither appears in the IANA registry.

What is the MIME type for MKV?

video/matroska, registered by RFC 9559 in 2024. The older video/x-matroska is now a deprecated alias but is still used by some software.

What is the correct MIME type for WAV?

MDN gives audio/wave as the preferred form, and audio/wav and audio/x-wav are also used. None is in the IANA registry, so servers should accept all three.