| Ext | Content-Type / MIME | Gzip / Brotli | Usage Notes | Header |
|---|---|---|---|---|
| .json | application/json | Compress | Standard JSON REST API payload (UTF-8) | |
| .jsonl | application/x-ndjson | Compress | Newline-delimited streaming JSON / LLM logs | |
| .yaml | application/yaml | Compress | RFC 9512 official YAML media type | |
| .xml | application/xml | Compress | XML data interchange & sitemaps | |
| .proto | text/x-protobuf | Compress | Protocol Buffers IDL schema source | |
| .html | text/html; charset=utf-8 | Compress | HTML5 document | |
| .css | text/css; charset=utf-8 | Compress | Cascading Style Sheets | |
| .js | application/javascript | Compress | JavaScript / ES modules (.mjs uses text/javascript) | |
| .mjs | text/javascript | Compress | ECMAScript module script (RFC 9239) | |
| .wasm | application/wasm | Compress | WebAssembly binary module (required for instantiateStreaming) | |
| .webmanifest | application/manifest+json | Compress | PWA Web App Manifest | |
| .svg | image/svg+xml | Compress | Scalable Vector Graphics XML | |
| .png | image/png | Already Binary | Lossless raster PNG | |
| .jpg | image/jpeg | Already Binary | JPEG raster photograph | |
| .webp | image/webp | Already Binary | Modern web raster format | |
| .avif | image/avif | Already Binary | AV1 Image File Format | |
| .ico | image/x-icon | Already Binary | Favicon container | |
| .woff2 | font/woff2 | Already Binary | WOFF 2.0 web font (already Brotli-compressed) | |
| .woff | font/woff | Already Binary | WOFF 1.0 web font | |
| .ttf | font/ttf | Compress | TrueType font binary | |
| .otf | font/otf | Compress | OpenType font binary | |
| .mp4 | video/mp4 | Already Binary | MPEG-4 video stream | |
| .webm | video/webm | Already Binary | WebM VP8/VP9/AV1 video | |
| .mp3 | audio/mpeg | Already Binary | MP3 audio stream | |
| .ogg | audio/ogg | Already Binary | Ogg Vorbis / Opus audio | |
| application/pdf | Already Binary | Portable Document Format | ||
| .csv | text/csv; charset=utf-8 | Compress | RFC 4180 comma-separated values | |
| .md | text/markdown; charset=utf-8 | Compress | Markdown plain text documentation | |
| .txt | text/plain; charset=utf-8 | Compress | Plain UTF-8 text (llms.txt / robots.txt) | |
| .zip | application/zip | Already Binary | ZIP compressed archive | |
| .gz | application/gzip | Already Binary | Gzip compressed file | |
| .tar | application/x-tar | Compress | POSIX tape archive | |
| .multipart | multipart/form-data | Already Binary | HTTP binary file upload form payload | |
| .form | application/x-www-form-urlencoded | Compress | OAuth 2.0 / classic HTML form key-value payload | |
| .sse | text/event-stream | Already Binary | Server-Sent Events streaming response (do not buffer/gzip) |
将此工具固定在浏览器侧边栏
随时按下 Alt+M 即可在当前标签页侧边唤出此工具,免去切网页的麻烦。100% 离线免费。
如何查找标准 MIME Type
- 1按文件后缀(如 .wasm 或 .csv)或 MIME 字符串实时搜索过滤。
- 2查看条目对应的分类与是否适合开启 HTTP 压缩(Compressible)标识。
- 3复制 Nginx 或 HTTP Content-Type 响应头片段投入配置。
严格 MIME 校验时代不可或缺
开启 X-Content-Type-Options: nosniff 后,若服务器下发错误的 JS 或 Wasm MIME 类型将导致脚本直接被浏览器拒载。
常见问题解答 (FAQ)
喜欢 HTTP Content-Type 与 MIME 类型速查表 吗?分享给你的工程师朋友,一起告别广告与隐私泄露!
MiniToolDesk 100% 离线计算、零数据上传,您的支持是保持纯净无广告的动力。