This topic lists the most common MIME types with corresponding document types, ordered by their common extensions.
The following two important MIME types are the default types:
text/plain is the default value for textual files. A textual file should be human-readable and must not contain binary data.application/octet-stream is the default value for all other cases. An unknown file type should use this type. Browsers are particularly careful when manipulating these files to protect users from software vulnerabilities and possible dangerous behavior.IANA is the official registry of MIME media types and maintains a list of all the official MIME types. This table lists important MIME types for the Web:Extension Kind of document MIME Type .aacAAC audio audio/aac.abwAbiWord document application/x-abiword.apngAnimated Portable Network Graphics (APNG) image image/apng.arcArchive document (multiple files embedded) application/x-freearc.avifAVIF image image/avif.aviAVI: Audio Video Interleave video/x-msvideo.azwAmazon Kindle eBook format application/vnd.amazon.ebook.binAny kind of binary data application/octet-stream.bmpWindows OS/2 Bitmap Graphics image/bmp.bzBZip archive application/x-bzip.bz2BZip2 archive application/x-bzip2.cdaCD audio application/x-cdf.cshC-Shell script application/x-csh.cssCascading Style Sheets (CSS) text/css.csvComma-separated values (CSV) text/csv.docMicrosoft Word application/msword.docxMicrosoft Word (OpenXML) application/vnd.openxmlformats-officedocument.wordprocessingml.document.eotMS Embedded OpenType fonts application/vnd.ms-fontobject.epubElectronic publication (EPUB) application/epub+zip.gzGZip Compressed Archive application/gzip. Note, Windows and macOS upload .gz files with the non-standard MIME type application/x-gzip..gifGraphics Interchange Format (GIF) image/gif.htm, .htmlHyperText Markup Language (HTML) text/html.icoIcon format image/vnd.microsoft.icon.icsiCalendar format text/calendar.jarJava Archive (JAR) application/java-archive.jpeg, .jpgJPEG images image/jpeg.jsJavaScript text/javascript (Specifications: HTML and RFC 9239).jsonJSON format application/json.jsonldJSON-LD format application/ld+json.mdMarkdown text/markdown.mid, .midiMusical Instrument Digital Interface (MIDI) audio/midi, audio/x-midi.mjsJavaScript module text/javascript.m4aMP4 audio audio/mp4.mp3MP3 audio audio/mpeg.mp4MP4 video video/mp4.mpegMPEG Video video/mpeg.mpkgApple Installer Package application/vnd.apple.installer+xml.odpOpenDocument presentation document application/vnd.oasis.opendocument.presentation.odsOpenDocument spreadsheet document application/vnd.oasis.opendocument.spreadsheet.odtOpenDocument text document application/vnd.oasis.opendocument.text.ogaOgg audio audio/ogg.ogvOgg video video/ogg.ogxOgg application/ogg.opusOpus audio in Ogg container audio/ogg.otfOpenType font font/otf.pngPortable Network Graphics image/png.pdfAdobe Portable Document Format (PDF) application/pdf.phpHypertext Preprocessor (Personal Home Page) application/x-httpd-php.pptMicrosoft PowerPoint application/vnd.ms-powerpoint.pptxMicrosoft PowerPoint (OpenXML) application/vnd.openxmlformats-officedocument.presentationml.presentation.rarRAR archive application/vnd.rar.rtfRich Text Format (RTF) application/rtf.shBourne shell script application/x-sh.svgScalable Vector Graphics (SVG) image/svg+xml.tarTape Archive (TAR) application/x-tar.tif, .tiffTagged Image File Format (TIFF) image/tiff.tsMPEG transport stream video/mp2t.ttfTrueType Font font/ttf.txtText, (generally ASCII or ISO 8859-n) text/plain.vsdMicrosoft Visio application/vnd.visio.wavWaveform Audio Format audio/wav.webaWEBM audio audio/webm.webmWEBM video video/webm.webmanifestWeb application manifest application/manifest+json.webpWEBP image image/webp.woffWeb Open Font Format (WOFF) font/woff.woff2Web Open Font Format (WOFF) font/woff2.xhtmlXHTML application/xhtml+xml.xlsMicrosoft Excel application/vnd.ms-excel.xlsxMicrosoft Excel (OpenXML) application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.xmlXML application/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default..xulXUL application/vnd.mozilla.xul+xml.zipZIP archive application/zip. Note, Windows uploads .zip files with the non-standard MIME type application/x-zip-compressed..3gp3GPP audio/video container video/3gpp; audio/3gpp if it doesn't contain video.3g23GPP2 audio/video container video/3gpp2; audio/3gpp2 if it doesn't contain video.7z7-zip archive application/x-7z-compressed