Skip to content

MIME Types Reference

Référence complète des types MIME avec recherche interactive.

0 résultats
Type MIME Extensions Description Catégorie
Copié!

Types MIME courants

Web

Extension Type MIME Usage
.html text/html Pages web
.css text/css Styles
.js text/javascript Scripts
.json application/json API, Config
.xml application/xml Données

Images

Extension Type MIME Support navigateur
.jpg image/jpeg Universel
.png image/png Universel
.gif image/gif Universel
.webp image/webp Moderne
.avif image/avif Récent
.svg image/svg+xml Universel

Documents

Extension Type MIME
.pdf application/pdf
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Configuration serveur

Nginx

types {
    text/html                             html htm;
    text/css                              css;
    text/javascript                       js mjs;
    application/json                      json;
    image/webp                            webp;
    font/woff2                            woff2;
}

Apache (.htaccess)

AddType text/javascript .js .mjs
AddType application/json .json
AddType image/webp .webp
AddType font/woff2 .woff2