MIME 类型搜索
Search by entering a file extension or MIME type. Click an item in the table to view details.
| Extension | MIME Type |
|---|---|
| application 应用程序 | |
.json | application/json |
.js .mjs | application/javascript |
.pdf | application/pdf |
.zip | application/zip |
.gz .gzip | application/gzip |
.tar | application/x-tar |
.rar | application/x-rar-compressed |
.7z | application/x-7z-compressed |
.xml | application/xml |
.xhtml | application/xhtml+xml |
- | application/x-www-form-urlencoded |
.bin .exe .dll | application/octet-stream |
.xls | application/vnd.ms-excel |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
.doc | application/msword |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
.ppt | application/vnd.ms-powerpoint |
.pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
.rtf | application/rtf |
.jar | application/java-archive |
.swf | application/x-shockwave-flash |
.wasm | application/wasm |
.sql | application/sql |
.jsonld | application/ld+json |
.graphql | application/graphql |
.php | application/x-httpd-php |
.rb | application/x-ruby |
.pyc | application/x-python-code |
.sh | application/x-sh |
.csh | application/x-csh |
.bz | application/x-bzip |
.bz2 | application/x-bzip2 |
.mpkg | application/vnd.apple.installer+xml |
.epub | application/epub+zip |
.azw | application/vnd.amazon.ebook |
.abw | application/x-abiword |
.arc | application/x-freearc |
.odt | application/vnd.oasis.opendocument.text |
.ods | application/vnd.oasis.opendocument.spreadsheet |
.odp | application/vnd.oasis.opendocument.presentation |
.vsd | application/vnd.visio |
.dmg | application/x-apple-diskimage |
.iso | application/x-iso9660-image |
.apk | application/vnd.android.package-archive |
.deb | application/x-debian-package |
.rpm | application/x-redhat-package-manager |
.exe .msi | application/x-msdownload |
.sqlite .db | application/vnd.sqlite3 |
.yaml .yml | application/x-yaml |
.toml | application/toml |
| audio 音频 | |
.mp3 | audio/mpeg |
.wav | audio/wav |
.ogg .oga | audio/ogg |
.aac | audio/aac |
.flac | audio/flac |
.mid .midi | audio/midi |
.weba | audio/webm |
.m4a | audio/mp4 |
.aif .aiff | audio/x-aiff |
.m4a | audio/x-m4a |
.wav | audio/x-wav |
.opus | audio/opus |
| font Font | |
.woff | font/woff |
.woff2 | font/woff2 |
.ttf | font/ttf |
.otf | font/otf |
.ttc | font/collection |
.ttf .otf | application/font-sfnt |
.eot | application/vnd.ms-fontobject |
| image 图像 | |
.jpg .jpeg | image/jpeg |
.png | image/png |
.gif | image/gif |
.webp | image/webp |
.svg | image/svg+xml |
.bmp | image/bmp |
.tiff .tif | image/tiff |
.ico | image/x-icon |
.ico | image/vnd.microsoft.icon |
.avif | image/avif |
.heic | image/heic |
.heif | image/heif |
.apng | image/apng |
.raw .cr2 .nef .arw | image/x-raw |
.psd | image/vnd.adobe.photoshop |
.xcf | image/x-xcf |
| model 3D Model | |
.gltf | model/gltf+json |
.glb | model/gltf-binary |
.obj | model/obj |
.stl | model/stl |
.wrl .vrml | model/vrml |
.x3d | model/x3d+xml |
| text 文本 | |
.txt | text/plain |
.html .htm | text/html |
.css | text/css |
.js .mjs | text/javascript |
.xml | text/xml |
.csv | text/csv |
.md .markdown | text/markdown |
.ics .ical | text/calendar |
.py | text/x-python |
.java | text/x-java-source |
.c .h | text/x-c |
.cpp .cc .cxx | text/x-c++src |
.cs | text/x-csharp |
.go | text/x-go |
.rs | text/x-rust |
.swift | text/x-swift |
.kt .kts | text/x-kotlin |
.scala | text/x-scala |
.ts .tsx | text/x-typescript |
.jsx | text/jsx |
.vue | text/x-vue |
.sass | text/x-sass |
.scss | text/x-scss |
.less | text/x-less |
.yaml .yml | text/x-yaml |
.toml | text/x-toml |
.ini .cfg | text/x-ini |
.dockerfile | text/x-dockerfile |
.makefile .mk | text/x-makefile |
.sh .bash .zsh | text/x-shellscript |
.pl .pm | text/x-perl |
.lua | text/x-lua |
.r | text/x-r |
.m | text/x-matlab |
.vcf .vcard | text/vcard |
| video 视频 | |
.mp4 .m4v | video/mp4 |
.webm | video/webm |
.ogv | video/ogg |
.mov .qt | video/quicktime |
.avi | video/x-msvideo |
.wmv | video/x-ms-wmv |
.flv | video/x-flv |
.mpeg .mpg | video/mpeg |
.3gp | video/3gpp |
.3g2 | video/3gpp2 |
.mkv | video/x-matroska |
.m4v | video/x-m4v |
.av1 | video/av1 |
| multipart Multipart | |
- | multipart/form-data |
- | multipart/byteranges |
- | multipart/mixed |
- | multipart/alternative |
| message Message | |
.eml | message/rfc822 |
使用方法
关于此工具
双向查询扩展名与 MIME 类型。
使用方法
输入扩展名(如 .json)或 MIME(如 application/json);查看对应列表。
使用场景
• 设置 Content-Type • 上传验证 • 文件类型检测
常见问题
- Q: 可以双向搜索——扩展名到 MIME 类型和 MIME 类型到扩展名吗?
- A: 可以。输入文件扩展名(如 .json、.mp4)可找到其 MIME 类型,输入 MIME 类型(如 application/json、video/mp4)可找到关联的扩展名。
- Q: 为什么某些扩展名映射到多个 MIME 类型?
- A: 不同应用程序和标准有时会用不同的 MIME 类型注册同一扩展名。例如 .xml 可以是 text/xml 或 application/xml。有疑问时请使用您的服务器或 API 文档指定的类型。
- Q: JSON API 响应应该使用什么 MIME 类型?
- A: 使用 application/json。这是 JSON 的标准 Content-Type,被大多数 HTTP 客户端和框架所期望。
- Q: text/plain 和 application/octet-stream 有什么区别?
- A: text/plain 用于人类可读的文本文件。application/octet-stream 是通用二进制回退类型——浏览器通常会触发下载而不是渲染。尽可能使用具体的 MIME 类型。
- Q: 此工具需要网络连接吗?
- A: 不需要。MIME 类型数据库已内置在工具中,完全可在浏览器中离线使用。
