MIME 类型
常见扩展名与 MIME 类型对照查询
共 38 条(常见对照,非完整 IANA 列表)
| 扩展名 / 键 | MIME | 说明 |
|---|---|---|
| .html | text/html | — |
| .htm | text/html | — |
| .css | text/css | — |
| .js | text/javascript | — |
| .mjs | text/javascript | — |
| .json | application/json | — |
| .xml | application/xml | — |
| .txt | text/plain | — |
| .csv | text/csv | — |
| .md | text/markdown | — |
| .svg | image/svg+xml | — |
| .png | image/png | — |
| .jpg | image/jpeg | — |
| .jpeg | image/jpeg | — |
| .gif | image/gif | — |
| .webp | image/webp | — |
| .ico | image/x-icon | — |
| .mp3 | audio/mpeg | — |
| .wav | audio/wav | — |
| .mp4 | video/mp4 | — |
| .webm | video/webm | — |
| application/pdf | — | |
| .zip | application/zip | — |
| .gz | application/gzip | — |
| .tar | application/x-tar | — |
| .wasm | application/wasm | — |
| .woff | font/woff | — |
| .woff2 | font/woff2 | — |
| .ttf | font/ttf | — |
| .otf | font/otf | — |
| .doc | application/msword | — |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | — |
| .xls | application/vnd.ms-excel | — |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | — |
| .ppt | application/vnd.ms-powerpoint | — |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | — |
| .form | application/x-www-form-urlencoded | 常见 Content-Type(非文件扩展名) |
| .multipart | multipart/form-data | 表单上传 Content-Type |
