MIME 类型查找
按文件扩展名查找 MIME 类型或按内容类型搜索——覆盖图像、视频、音频、文档和字体。
image/pngPortable Network Graphics — lossless raster, transparent.
扩展名.pngimage/jpegJPEG — lossy raster image, no transparency.
扩展名.jpg .jpegimage/webpModern web image format with both lossy and lossless modes.
扩展名.webpimage/avifAV1 still image — small files, wide gamut.
扩展名.avifimage/gifAnimated raster image, indexed palette.
扩展名.gifimage/svg+xmlScalable Vector Graphics — XML-based vector format.
扩展名.svgimage/heicApple HEIF still image, HEVC-compressed.
扩展名.heicimage/heifHigh Efficiency Image Format container.
扩展名.heifimage/bmpWindows Bitmap — uncompressed raster.
扩展名.bmpimage/tiffTagged Image File Format, common in print.
扩展名.tif .tiffimage/x-iconWindows / favicon icon container.
扩展名.icovideo/mp4MPEG-4 Part 14 — most common video container.
扩展名.mp4 .m4vvideo/webmWebM container, typically VP8/VP9/AV1 + Vorbis/Opus.
扩展名.webmvideo/quicktimeApple QuickTime container.
扩展名.mov .qtvideo/x-matroskaMatroska multimedia container.
扩展名.mkvvideo/x-msvideoAudio Video Interleave (legacy Microsoft container).
扩展名.aviaudio/mpegMPEG-1 Audio Layer III — most common lossy audio.
扩展名.mp3audio/wavWaveform Audio File Format — uncompressed PCM.
扩展名.wavaudio/oggOgg container, typically Vorbis or Opus audio.
扩展名.ogg .ogaaudio/mp4MPEG-4 audio container, AAC by default.
扩展名.m4aaudio/flacFree Lossless Audio Codec.
扩展名.flacaudio/webmWebM audio (Opus or Vorbis).
扩展名.webatext/htmlHyperText Markup Language.
扩展名.html .htmtext/cssCascading Style Sheets.
扩展名.csstext/plainPlain text, no formatting.
扩展名.txttext/csvComma-separated values.
扩展名.csvtext/markdownMarkdown plain-text formatting.
扩展名.md .markdowntext/xmlExtensible Markup Language (text variant).
扩展名.xmlapplication/jsonJavaScript Object Notation.
扩展名.jsonapplication/pdfPortable Document Format.
扩展名.pdfapplication/zipZIP archive.
扩展名.zipapplication/gzipGzip-compressed file.
扩展名.gzapplication/x-tarTape archive (uncompressed).
扩展名.tarapplication/x-7z-compressed7-Zip compressed archive.
扩展名.7zapplication/x-rar-compressedRAR compressed archive.
扩展名.rarapplication/javascriptJavaScript source.
扩展名.js .mjsapplication/wasmWebAssembly binary module.
扩展名.wasmapplication/xmlExtensible Markup Language (application variant).
扩展名.xmlapplication/yamlYAML Ain't Markup Language.
扩展名.yaml .ymlapplication/sqlStructured Query Language script.
扩展名.sqlapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word (Office Open XML).
扩展名.docxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel (Office Open XML).
扩展名.xlsxapplication/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint (Office Open XML).
扩展名.pptxapplication/mswordLegacy Microsoft Word document.
扩展名.docapplication/epub+zipEPUB e-book.
扩展名.epubapplication/x-fictionbook+xmlFictionBook 2.x e-book.
扩展名.fb2application/octet-streamArbitrary binary data — no specific format.
扩展名.binfont/woffWeb Open Font Format 1.0.
扩展名.wofffont/woff2Web Open Font Format 2.0 (better compression).
扩展名.woff2font/ttfTrueType font.
扩展名.ttffont/otfOpenType font.
扩展名.otf
关于MIME 类型查找
Handytool 的 MIME 类型查找帮助您为任何文件找到正确的 Content-Type 头——无论您是配置 web 服务器、构建 API 还是过滤上传表单。按扩展名(.png、.pdf、.epub)或媒体类型(image/png、application/pdf)搜索,并按组过滤。每个条目包括规范的 IANA 注册 MIME 类型、常见使用它的文件扩展名以及单行描述。
MIME 类型查找功能
- 01
按扩展名或 MIME 搜索
输入 .webp 或 webp 查找 image/webp;输入 pdf 或 application/pdf 查找文档类型;输入 "font" 查看所有字体媒体类型。
- 02
组过滤
当您只关心文件特定系列时,将结果缩小到 image、video、audio、text、application 或 font。
- 03
真实世界覆盖
包括开发人员实际处理的格式——Office Open XML(docx、xlsx)、现代图像格式(avif、heic),以及较少见的如 FB2、EPUB 和 WebAssembly。
MIME 类型查找常见问题
- 为什么某些扩展名映射到多个 MIME 类型?
- 单个扩展名可由多个合法类型使用——例如 .xml 是 text/xml 和 application/xml。使用与工具预期使用文件的方式相匹配的任何。
- application/octet-stream 和特定类型有什么区别?
- application/octet-stream 是未知任何特定类型的任意二进制数据的回退。浏览器通常会提示下载此类响应。尽可能使用特定类型——它启用浏览器预览和正确处理。
- heic 是 image/heic 还是 image/heif?
- 两者都存在——image/heic 指使用 HEVC 编解码器的 HEIF 文件(iPhone 上最常见的情况),而 image/heif 是更通用的容器类型。大多数服务器将 .heic 上传用 image/heic。
- font/woff 和 application/font-woff 相同吗?
- font/woff 是现代、IANA 注册的类型。较旧的 application/font-woff 仍在遗留配置中看到,但应迁移。