MimeType文件格式速查表
MIME(Multipurpose Internet Mail Extensions)多用途互联网邮件扩展类型。用于设定某种扩展名的文件用特定应用程序打开的方式类型,当该扩展名文件被访问时,浏览器会自动使用指定应用程序来打开。
共找到 118 个MIME类型
文件扩展名 | MIME类型 (Content-Type) | 描述 |
---|---|---|
.txt | text/plain | 纯文本文件 |
.html | text/html | HTML文档 |
.htm | text/html | HTML文档 |
.css | text/css | 层叠样式表 |
.js | text/javascript | JavaScript脚本 |
.json | application/json | JSON数据格式 |
.xml | text/xml | XML文档 |
.csv | text/csv | 逗号分隔值文件 |
.jpg | image/jpeg | JPEG图像 |
.jpeg | image/jpeg | JPEG图像 |
.png | image/png | PNG图像 |
.gif | image/gif | GIF动画图像 |
.bmp | image/bmp | 位图图像 |
.svg | image/svg+xml | 可缩放矢量图形 |
.ico | image/x-icon | 图标文件 |
.webp | image/webp | WebP图像格式 |
.tiff | image/tiff | TIFF图像 |
.tif | image/tiff | TIFF图像 |
.mp3 | audio/mpeg | MP3音频 |
.wav | audio/wav | WAV音频 |
.ogg | audio/ogg | OGG音频 |
.aac | audio/aac | AAC音频 |
.flac | audio/flac | FLAC无损音频 |
.m4a | audio/mp4 | M4A音频 |
.wma | audio/x-ms-wma | Windows Media音频 |
.mp4 | video/mp4 | MP4视频 |
.avi | video/x-msvideo | AVI视频 |
.mov | video/quicktime | QuickTime视频 |
.wmv | video/x-ms-wmv | Windows Media视频 |
.flv | video/x-flv | Flash视频 |
.webm | video/webm | WebM视频 |
.mkv | video/x-matroska | Matroska视频 |
.3gp | video/3gpp | 3GPP视频 |
application/pdf | PDF文档 | |
.doc | application/msword | Microsoft Word文档 |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Microsoft Word文档(新版) |
.xls | application/vnd.ms-excel | Microsoft Excel表格 |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Microsoft Excel表格(新版) |
.ppt | application/vnd.ms-powerpoint | Microsoft PowerPoint演示文稿 |
.pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | Microsoft PowerPoint演示文稿(新版) |
.odt | application/vnd.oasis.opendocument.text | OpenDocument文本文档 |
.ods | application/vnd.oasis.opendocument.spreadsheet | OpenDocument电子表格 |
.odp | application/vnd.oasis.opendocument.presentation | OpenDocument演示文稿 |
.zip | application/zip | ZIP压缩文件 |
.rar | application/vnd.rar | RAR压缩文件 |
.7z | application/x-7z-compressed | 7-Zip压缩文件 |
.tar | application/x-tar | TAR归档文件 |
.gz | application/gzip | GZIP压缩文件 |
.bz2 | application/x-bzip2 | BZIP2压缩文件 |
.ttf | font/ttf | TrueType字体 |
.otf | font/otf | OpenType字体 |
.woff | font/woff | Web开放字体格式 |
.woff2 | font/woff2 | Web开放字体格式2.0 |
.eot | application/vnd.ms-fontobject | Embedded OpenType字体 |
.exe | application/vnd.microsoft.portable-executable | Windows可执行文件 |
.msi | application/x-msdownload | Windows安装包 |
.deb | application/vnd.debian.binary-package | Debian软件包 |
.rpm | application/x-rpm | RPM软件包 |
.dmg | application/x-apple-diskimage | macOS磁盘映像 |
.apk | application/vnd.android.package-archive | Android应用包 |
.ipa | application/octet-stream | iOS应用包 |
.c | text/x-c | C源代码 |
.cpp | text/x-c++src | C++源代码 |
.java | text/x-java-source | Java源代码 |
.py | text/x-python | Python脚本 |
.php | text/x-php | PHP脚本 |
.rb | text/x-ruby | Ruby脚本 |
.go | text/x-go | Go源代码 |
.rs | text/x-rust | Rust源代码 |
.swift | text/x-swift | Swift源代码 |
.kt | text/x-kotlin | Kotlin源代码 |
.ts | text/typescript | TypeScript源代码 |
.vue | text/x-vue | Vue.js组件 |
.jsx | text/jsx | React JSX文件 |
.tsx | text/tsx | TypeScript JSX文件 |
.scss | text/x-scss | SCSS样式表 |
.sass | text/x-sass | Sass样式表 |
.less | text/x-less | Less样式表 |
.sql | text/x-sql | SQL脚本 |
.sh | text/x-shellscript | Shell脚本 |
.bat | text/x-msdos-batch | Windows批处理文件 |
.ps1 | text/x-powershell | PowerShell脚本 |
.yaml | text/yaml | YAML配置文件 |
.yml | text/yaml | YAML配置文件 |
.toml | text/x-toml | TOML配置文件 |
.ini | text/plain | INI配置文件 |
.conf | text/plain | 配置文件 |
.log | text/plain | 日志文件 |
.md | text/markdown | Markdown文档 |
.rst | text/x-rst | reStructuredText文档 |
.bin | application/octet-stream | 二进制文件 |
.iso | application/x-iso9660-image | ISO镜像文件 |
.torrent | application/x-bittorrent | BitTorrent种子文件 |
.swf | application/x-shockwave-flash | Flash动画 |
.rtf | application/rtf | 富文本格式 |
.epub | application/epub+zip | EPUB电子书 |
.mobi | application/x-mobipocket-ebook | Mobipocket电子书 |
.psd | image/vnd.adobe.photoshop | Photoshop文档 |
.ai | application/postscript | Adobe Illustrator文件 |
.sketch | application/octet-stream | Sketch设计文件 |
.fig | application/octet-stream | Figma设计文件 |
.db | application/x-sqlite3 | SQLite数据库 |
.sqlite | application/x-sqlite3 | SQLite数据库 |
.sqlite3 | application/x-sqlite3 | SQLite数据库 |
.mdb | application/x-msaccess | Microsoft Access数据库 |
.ova | application/x-virtualbox-ova | Open Virtual Appliance |
.ovf | application/x-virtualbox-ovf | Open Virtualization Format |
.vmdk | application/x-virtualbox-vmdk | Virtual Machine Disk |
.vdi | application/x-virtualbox-vdi | VirtualBox Disk Image |
.obj | text/plain | Wavefront OBJ 3D模型 |
.fbx | application/octet-stream | Autodesk FBX 3D模型 |
.dae | model/vnd.collada+xml | COLLADA 3D模型 |
.3ds | application/x-3ds | 3D Studio模型 |
.blend | application/x-blender | Blender 3D模型 |
.stl | application/sla | STL 3D打印模型 |
.ply | application/octet-stream | Polygon File Format |
.gltf | model/gltf+json | GL Transmission Format |
.glb | model/gltf-binary | GL Transmission Format Binary |
使用说明
什么是MIME类型?
MIME类型是一种标准,用来表示文档、文件或字节流的性质和格式。它在HTTP协议中用于告诉浏览器如何处理接收到的数据。
常见用途:
- Web服务器设置HTTP响应头中的Content-Type
- 邮件系统处理附件类型
- 浏览器决定如何显示或处理文件
- API接口数据格式声明
格式说明:
MIME类型格式为:type/subtype
,例如 text/html
、image/jpeg