Cette traduction est en cours.
Voici une liste complète des types MIME, associés par type de documents, classé par leurs extensions communes.
Deux types MIME primaires sont importants pour le modèle des types par défaut :
text/plain
est la valeur par défaut d'un fichier texte. Un fichier text peut être lu par un humain et ne peut pas contenir des données binaires.application/octet-stream
est la valeur par défaut de tous les autres. Un type de fichier inconnu peut utiliser ce type. Les navigateurs prêtent une attention particulière à la manipulation de ces fichiers, il se peut qu'il prévienne l'utilisateur d'un fichier dangereux.
IANA est l'enregisteur officiel des types de média MIME et maintient la liste de tous les types MIME officiel. Ce tableau liste les types MIME les plus importants pour le WEB :
Extension | Nature du document | Type MIME |
---|---|---|
.aac |
AAC fichier audio | audio/aac |
.abw |
document AbiWord | application/x-abiword |
.arc |
Document rchivé (plusieurs fichiers intégrés) | application/octet-stream |
.avi |
AVI: Audio Video Interleave | video/x-msvideo |
.azw |
Amazon Kindle eBook format | application/vnd.amazon.ebook |
.bin |
Tous les fichiers avec données binaires | application/octet-stream |
.bz |
Archive BZip | application/x-bzip |
.bz2 |
Archive BZip2 | application/x-bzip2 |
.csh |
Script C-Shell | 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 animée) | image/gif |
.htm |
HyperText Markup Language (HTML) | text/html |
.ico |
Format icone | image/x-icon |
.ics |
Format iCalendar | text/calendar |
.jar |
Archive Java (JAR) | application/java-archive |
.jpeg .jpg |
Image JPEG | image/jpeg |
.js |
JavaScript (ECMAScript) | application/js |
.json |
Format JSON | application/json |
.mid .midi |
Musical Instrument Digital Interface (MIDI) | audio/midi |
.mpeg |
Vidéo MPEG | video/mpeg |
.mpkg |
Installeur de packet Apple | application/vnd.apple.installer+xml |
.odp |
Document de présentation OpenDocument | application/vnd.oasis.opendocument.presentation |
.ods |
OpenDocuemnt spreadsheet document | application/vnd.oasis.opendocument.spreadsheet |
.odt |
Document texte OpenDocument | application/vnd.oasis.opendocument.text |
.oga |
Son OGG | audio/ogg |
.ogv |
Vidéo OGG | video/ogg |
.ogx |
OGG | application/ogg |
.pdf |
Adobe Portable Document Format (PDF) | application/pdf |
.ppt |
Microsoft PowerPoint | application/vnd.ms-powerpoint |
.rar |
Archive RAR | 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 |
Archive Tape (TAR) | application/x-tar |
.tif |
Tagged Image File Format (TIFF) | image/tiff |
.ttf |
Police TrueType | application/x-font-ttf |
.vsd |
Microsft Visio | application/vnd.visio |
.wav |
Son Waveform | audio/x-wav |
.weba |
Son WEBM | audio/webm |
.webm |
Vidéo WEBM | video/webm |
.webp |
Image WEBP | 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 |
Archive ZIP | application/zip |
.3gp |
Son et vidéo 3GPP | video/3gpp audio/3gpp if it doesn't contain video |
.3g2 |
Son et vidéo 3GPP2 | video/3gpp2 audio/3gpp2 if it doesn't contain video |
.7z |
Archive 7-zip | application/x-7z-compressed |