Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1117937 of Complete list of MIME types

  • Revision slug: Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
  • Revision title: Complete list of MIME types
  • Revision id: 1117937
  • Created:
  • Creator: bunnybooboo
  • Is current revision? Yes
  • Comment small grammatical edit - again flagging that IANA & W3C refer to MIME types as "formerly known as" https://www.iana.org/assignments/media-types/media-types.xhtml

Revision Content

{{HTTPSidebar}}

Here is a comprehensive list of MIME types, associated by type of documents, ordered by their common extensions.

Two primary MIME types are important for the role of 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 pay a particular care when manipulating these files, attempting to safeguard the user to prevent dangerous behaviors.

IANA is the official registry of MIME media types and maintains a list of all the official MIME types. This table lists some important MIME types for the Web:

Extension Kind of document MIME Type
.aac AAC audio file audio/aac
.abw AbiWord document application/x-abiword
.arc Archive document (multiple files embedded) application/octet-stream
.avi AVI: Audio Video Interleave video/x-msvideo
.azw Amazon Kindle eBook format application/vnd.amazon.ebook
.bin Any kind of binary data application/octet-stream
.bz BZip archive application/x-bzip
.bz2 BZip2 archive application/x-bzip2
.csh C-Shell script application/x-csh
.css Cascading Style Sheets (CSS) text/css
.csv Comma-separated values (CSV) text/csv
.doc Microsoft Word application/msword
.epub Electronic publication (EPUB) application/epub+zip
.gif Graphics Interchange Format (GIF) image/gif
.htm
.html
HyperText Markup Language (HTML) text/html
.ico Icon format image/x-icon
.ics iCalendar format text/calendar
.jar Java Archive (JAR) application/java-archive
.jpeg
.jpg
JPEG images image/jpeg
.js JavaScript (ECMAScript) application/js
.json JSON format application/json
.mid
.midi
Musical Instrument Digital Interface (MIDI) audio/midi
.mpeg MPEG Video video/mpeg
.mpkg Apple Installer Package application/vnd.apple.installer+xml
.odp OpenDocuemnt presentation document application/vnd.oasis.opendocument.presentation
.ods OpenDocuemnt spreadsheet document application/vnd.oasis.opendocument.spreadsheet
.odt OpenDocument text document application/vnd.oasis.opendocument.text
.oga OGG audio audio/ogg
.ogv OGG video video/ogg
.ogx OGG application/ogg
.pdf Adobe Portable Document Format (PDF) application/pdf
.ppt Microsoft PowerPoint application/vnd.ms-powerpoint
.rar RAR archive application/x-rar-compressed
.rtf Rich Text Format (RTF) application/rtf
.sh Bourne shell script application/x-sh
.svg Scalable Vector Graphics (SVG) image/svg+xml
.swf Small web format (SWF) or Adobe Flash document application/x-shockwave-flash
.tar Tape Archive (TAR) application/x-tar
.tif
.tiff
Tagged Image File Format (TIFF) image/tiff
.ttf TrueType Font application/x-font-ttf
.vsd Microsft Visio application/vnd.visio
.wav Waveform Audio Format audio/x-wav
.weba WEBM audio audio/webm
.webm WEBM video video/webm
.webp WEBP image image/webp
.woff Web Open Font Format (WOFF) application/x-font-woff
.xhtml XHTML application/xhtml+xml
.xls Microsoft Excel application/vnd.ms-excel
.xml XML application/xml
.xul XUL application/vnd.mozilla.xul+xml
.zip ZIP archive application/zip
.3gp 3GPP audio/video container video/3gpp
audio/3gpp if it doesn't contain video
.3g2 3GPP2 audio/video container video/3gpp2
audio/3gpp2 if it doesn't contain video
.7z 7-zip archive application/x-7z-compressed

Revision Source

<div>{{HTTPSidebar}}</div>

<p>Here is a comprehensive list of MIME types, associated by type of documents, ordered by their common extensions.</p>

<p>Two primary MIME types are important for the role of default types:</p>

<ul>
 <li><code>text/plain</code> is the default value for textual files. A textual file should be human-readable and must not contain binary data.</li>
 <li><code>application/octet-stream</code> is the default value for all other cases. An unknown file type should use this type. Browsers pay a particular care when manipulating these files, attempting to safeguard the user to prevent dangerous behaviors.</li>
</ul>

<p>IANA is the official registry of MIME media types and maintains a <a href="https://www.iana.org/assignments/media-types/media-types.xhtml">list of all the official MIME types</a>. This table lists some important MIME types for the Web:</p>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Extension</th>
   <th scope="col">Kind of document</th>
   <th scope="col">MIME Type</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td><code>.aac</code></td>
   <td>AAC audio file</td>
   <td><code>audio/aac</code></td>
  </tr>
  <tr>
   <td><code>.abw</code></td>
   <td><a href="https://en.wikipedia.org/wiki/AbiWord">AbiWord</a> document</td>
   <td><code>application/x-abiword</code></td>
  </tr>
  <tr>
   <td><code>.arc</code></td>
   <td>Archive document (multiple files embedded)</td>
   <td><code>application/octet-stream</code></td>
  </tr>
  <tr>
   <td><code>.avi</code></td>
   <td>AVI: Audio Video Interleave</td>
   <td><code>video/x-msvideo</code></td>
  </tr>
  <tr>
   <td><code>.azw</code></td>
   <td>Amazon Kindle eBook format</td>
   <td><code>application/vnd.amazon.ebook</code></td>
  </tr>
  <tr>
   <td><code>.bin</code></td>
   <td>Any kind of binary data</td>
   <td><code>application/octet-stream</code></td>
  </tr>
  <tr>
   <td><code>.bz</code></td>
   <td>BZip archive</td>
   <td><code>application/x-bzip</code></td>
  </tr>
  <tr>
   <td><code>.bz2</code></td>
   <td>BZip2 archive</td>
   <td><code>application/x-bzip2</code></td>
  </tr>
  <tr>
   <td><code>.csh</code></td>
   <td>C-Shell script</td>
   <td><code>application/x-csh</code></td>
  </tr>
  <tr>
   <td><code>.css</code></td>
   <td>Cascading Style Sheets (CSS)</td>
   <td><code>text/css</code></td>
  </tr>
  <tr>
   <td><code>.csv</code></td>
   <td>Comma-separated values (CSV)</td>
   <td><code>text/csv</code></td>
  </tr>
  <tr>
   <td><code>.doc</code></td>
   <td>Microsoft Word</td>
   <td><code>application/msword</code></td>
  </tr>
  <tr>
   <td><code>.epub</code></td>
   <td>Electronic publication (EPUB)</td>
   <td><code>application/epub+zip</code></td>
  </tr>
  <tr>
   <td><code>.gif</code></td>
   <td>Graphics Interchange Format (GIF)</td>
   <td><code>image/gif</code></td>
  </tr>
  <tr>
   <td><code>.htm<br />
    .html</code></td>
   <td>HyperText Markup Language (HTML)</td>
   <td><code>text/html</code></td>
  </tr>
  <tr>
   <td><code>.ico</code></td>
   <td>Icon format</td>
   <td><code>image/x-icon</code></td>
  </tr>
  <tr>
   <td><code>.ics</code></td>
   <td>iCalendar format</td>
   <td><code>text/calendar</code></td>
  </tr>
  <tr>
   <td><code>.jar</code></td>
   <td>Java Archive (JAR)</td>
   <td><code>application/java-archive</code></td>
  </tr>
  <tr>
   <td><code>.jpeg</code><br />
    <code>.jpg</code></td>
   <td>JPEG images</td>
   <td><code>image/jpeg</code></td>
  </tr>
  <tr>
   <td><code>.js</code></td>
   <td>JavaScript (ECMAScript)</td>
   <td><code>application/js</code></td>
  </tr>
  <tr>
   <td><code>.json</code></td>
   <td>JSON format</td>
   <td><code>application/json</code></td>
  </tr>
  <tr>
   <td><code>.mid</code><br />
    <code>.midi</code></td>
   <td>Musical Instrument Digital Interface (MIDI)</td>
   <td><code>audio/midi</code></td>
  </tr>
  <tr>
   <td><code>.mpeg</code></td>
   <td>MPEG Video</td>
   <td><code>video/mpeg</code></td>
  </tr>
  <tr>
   <td><code>.mpkg</code></td>
   <td>Apple Installer Package</td>
   <td><code>application/vnd.apple.installer+xml</code></td>
  </tr>
  <tr>
   <td><code>.odp</code></td>
   <td>OpenDocuemnt presentation document</td>
   <td><code>application/vnd.oasis.opendocument.presentation</code></td>
  </tr>
  <tr>
   <td><code>.ods</code></td>
   <td>OpenDocuemnt spreadsheet document</td>
   <td><code>application/vnd.oasis.opendocument.spreadsheet</code></td>
  </tr>
  <tr>
   <td><code>.odt</code></td>
   <td>OpenDocument text document</td>
   <td><code>application/vnd.oasis.opendocument.text</code></td>
  </tr>
  <tr>
   <td><code>.oga</code></td>
   <td>OGG audio</td>
   <td><code>audio/ogg</code></td>
  </tr>
  <tr>
   <td><code>.ogv</code></td>
   <td>OGG video</td>
   <td><code>video/ogg</code></td>
  </tr>
  <tr>
   <td><code>.ogx</code></td>
   <td>OGG</td>
   <td><code>application/ogg</code></td>
  </tr>
  <tr>
   <td><code>.pdf</code></td>
   <td>Adobe <a href="https://acrobat.adobe.com/us/en/why-adobe/about-adobe-pdf.html">Portable Document Format</a> (PDF)</td>
   <td><code>application/pdf</code></td>
  </tr>
  <tr>
   <td><code>.ppt</code></td>
   <td>Microsoft PowerPoint</td>
   <td><code>application/vnd.ms-powerpoint</code></td>
  </tr>
  <tr>
   <td><code>.rar</code></td>
   <td>RAR archive</td>
   <td><code>application/x-rar-compressed</code></td>
  </tr>
  <tr>
   <td><code>.rtf</code></td>
   <td>Rich Text Format (RTF)</td>
   <td><code>application/rtf</code></td>
  </tr>
  <tr>
   <td><code>.sh</code></td>
   <td>Bourne shell script</td>
   <td><code>application/x-sh</code></td>
  </tr>
  <tr>
   <td><code>.svg</code></td>
   <td>Scalable Vector Graphics (SVG)</td>
   <td><code>image/svg+xml</code></td>
  </tr>
  <tr>
   <td><code>.swf</code></td>
   <td><a href="https://en.wikipedia.org/wiki/SWF">Small web format</a> (SWF) or Adobe Flash document</td>
   <td><code>application/x-shockwave-flash</code></td>
  </tr>
  <tr>
   <td><code>.tar</code></td>
   <td>Tape Archive (TAR)</td>
   <td><code>application/x-tar</code></td>
  </tr>
  <tr>
   <td><code>.tif<br />
    .tiff</code></td>
   <td>Tagged Image File Format (TIFF)</td>
   <td><code>image/tiff</code></td>
  </tr>
  <tr>
   <td><code>.ttf</code></td>
   <td>TrueType Font</td>
   <td><code>application/x-font-ttf</code></td>
  </tr>
  <tr>
   <td><code>.vsd</code></td>
   <td>Microsft Visio</td>
   <td><code>application/vnd.visio</code></td>
  </tr>
  <tr>
   <td><code>.wav</code></td>
   <td>Waveform Audio Format</td>
   <td><code>audio/x-wav</code></td>
  </tr>
  <tr>
   <td><code>.weba</code></td>
   <td>WEBM audio</td>
   <td><code>audio/webm</code></td>
  </tr>
  <tr>
   <td><code>.webm</code></td>
   <td>WEBM video</td>
   <td><code>video/webm</code></td>
  </tr>
  <tr>
   <td><code>.webp</code></td>
   <td>WEBP image</td>
   <td><code>image/webp</code></td>
  </tr>
  <tr>
   <td><code>.woff</code></td>
   <td>Web Open Font Format (WOFF)</td>
   <td><code>application/x-font-woff</code></td>
  </tr>
  <tr>
   <td><code>.xhtml</code></td>
   <td>XHTML</td>
   <td><code>application/xhtml+xml</code></td>
  </tr>
  <tr>
   <td><code>.xls</code></td>
   <td>Microsoft Excel</td>
   <td><code>application/vnd.ms-excel</code></td>
  </tr>
  <tr>
   <td><code>.xml</code></td>
   <td><code>XML</code></td>
   <td><code>application/xml</code></td>
  </tr>
  <tr>
   <td><code>.xul</code></td>
   <td>XUL</td>
   <td><code>application/vnd.mozilla.xul+xml</code></td>
  </tr>
  <tr>
   <td><code>.zip</code></td>
   <td>ZIP archive</td>
   <td><code>application/zip</code></td>
  </tr>
  <tr>
   <td><code>.3gp</code></td>
   <td><a href="https://en.wikipedia.org/wiki/3GP_and_3G2">3GPP</a> audio/video container</td>
   <td><code>video/3gpp</code><br />
    <code>audio/3gpp</code> if it doesn't contain video</td>
  </tr>
  <tr>
   <td><code>.3g2</code></td>
   <td><a href="https://en.wikipedia.org/wiki/3GP_and_3G2">3GPP2</a> audio/video container</td>
   <td><code>video/3gpp2</code><br />
    <code>audio/3gpp2</code> if it doesn't contain video</td>
  </tr>
  <tr>
   <td><code>.7z</code></td>
   <td><a href="https://en.wikipedia.org/wiki/7-Zip">7-zip</a> archive</td>
   <td><code>application/x-7z-compressed</code></td>
  </tr>
 </tbody>
</table>
Revert to this revision