Recherche de type MIME
Saisissez une extension comme .webp ou un type comme application/json pour trouver la correspondance. Le tableau complet est consultable et classé par catégorie.
| Extension | MIME | Catégorie |
|---|---|---|
| .html | text/html | text |
| .htm | text/html | text |
| .css | text/css | text |
| .js | text/javascript | text |
| .mjs | text/javascript | text |
| .ts | text/typescript | text |
| .json | application/json | application |
| .jsonld | application/ld+json | application |
| .xml | application/xml | application |
| .txt | text/plain | text |
| .csv | text/csv | text |
| .tsv | text/tab-separated-values | text |
| .md | text/markdown | text |
| .yaml | application/yaml | application |
| .yml | application/yaml | application |
| .ics | text/calendar | text |
| .vcf | text/vcard | text |
| .rtf | application/rtf | application |
| application/pdf | application | |
| .doc | application/msword | application |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | application |
| .xls | application/vnd.ms-excel | application |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | application |
| .ppt | application/vnd.ms-powerpoint | application |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | application |
| .odt | application/vnd.oasis.opendocument.text | application |
| .ods | application/vnd.oasis.opendocument.spreadsheet | application |
| .odp | application/vnd.oasis.opendocument.presentation | application |
| .epub | application/epub+zip | application |
| .zip | application/zip | archive |
| .gz | application/gzip | archive |
| .tar | application/x-tar | archive |
| .7z | application/x-7z-compressed | archive |
| .rar | application/vnd.rar | archive |
| .bz2 | application/x-bzip2 | archive |
| .jpg | image/jpeg | image |
| .jpeg | image/jpeg | image |
| .png | image/png | image |
| .gif | image/gif | image |
| .webp | image/webp | image |
| .avif | image/avif | image |
| .svg | image/svg+xml | image |
| .ico | image/x-icon | image |
| .bmp | image/bmp | image |
| .tif | image/tiff | image |
| .tiff | image/tiff | image |
| .heic | image/heic | image |
| .heif | image/heif | image |
| .psd | image/vnd.adobe.photoshop | image |
| .mp3 | audio/mpeg | audio |
| .wav | audio/wav | audio |
| .ogg | audio/ogg | audio |
| .oga | audio/ogg | audio |
| .m4a | audio/mp4 | audio |
| .aac | audio/aac | audio |
| .flac | audio/flac | audio |
| .weba | audio/webm | audio |
| .opus | audio/opus | audio |
| .mid | audio/midi | audio |
| .mp4 | video/mp4 | video |
| .m4v | video/mp4 | video |
| .webm | video/webm | video |
| .ogv | video/ogg | video |
| .mov | video/quicktime | video |
| .avi | video/x-msvideo | video |
| .mkv | video/x-matroska | video |
| .wmv | video/x-ms-wmv | video |
| .flv | video/x-flv | video |
| .3gp | video/3gpp | video |
| .ts | video/mp2t | video |
| .mpeg | video/mpeg | video |
| .woff | font/woff | font |
| .woff2 | font/woff2 | font |
| .ttf | font/ttf | font |
| .otf | font/otf | font |
| .eot | application/vnd.ms-fontobject | font |
| .wasm | application/wasm | application |
| .bin | application/octet-stream | application |
| .exe | application/vnd.microsoft.portable-executable | application |
| .dmg | application/x-apple-diskimage | application |
| .apk | application/vnd.android.package-archive | application |
| .deb | application/vnd.debian.binary-package | application |
| .rpm | application/x-rpm | application |
| .jar | application/java-archive | application |
| .sh | application/x-sh | application |
| .php | application/x-httpd-php | application |
| .py | text/x-python | text |
| .swf | application/x-shockwave-flash | application |
| .xhtml | application/xhtml+xml | application |
| .rss | application/rss+xml | application |
| .atom | application/atom+xml | application |
| .webmanifest | application/manifest+json | application |
| .map | application/json | application |
| .sqlite | application/vnd.sqlite3 | application |
| .torrent | application/x-bittorrent | application |
| .form | multipart/form-data | multipart |
| .urlencoded | application/x-www-form-urlencoded | application |
| .eml | message/rfc822 | message |
| .stl | model/stl | model |
| .obj | model/obj | model |
| .gltf | model/gltf+json | model |
| .glb | model/gltf-binary | model |
| .kml | application/vnd.google-earth.kml+xml | application |
| .gpx | application/gpx+xml | application |
À propos de cet outil
Un type MIME (type de média) indique à un navigateur, à un client de messagerie ou à une API comment traiter un fichier, indépendamment de son extension. Servir un fichier avec un mauvais Content-Type provoque un téléchargement au lieu d'un affichage, des scripts bloqués ou des polices qui refusent de se charger. Les téléversements sont validés par type MIME, et les en-têtes HTTP Accept servent à négocier les formats.
Le tableau couvre les types que l'on croise en développement web : images, dont WebP, AVIF et HEIC ; conteneurs audio et vidéo ; fichiers Office et OpenDocument ; polices ; archives ; code source et formats de données. Les types marqués application/octet-stream désignent du binaire générique — le repli sûr quand rien d'autre ne convient.
Questions fréquentes
- Quel est le type MIME de JavaScript ?
- text/javascript est aujourd'hui la valeur standard ; application/javascript est un alias hérité que les navigateurs acceptent encore.
- Pourquoi mon serveur envoie-t-il application/octet-stream ?
- Il ne connaît pas l'extension. Ajoutez la correspondance dans sa configuration ou définissez l'en-tête explicitement.
- Les types MIME sont-ils sensibles à la casse ?
- Non. Par convention, on les écrit en minuscules.