按 ⌘K 切换工具
VALIDATE & INSPECT
MIME类型检查器
查找MIME类型和文件扩展名。
mime-checker
| Extension | MIME type |
|---|---|
| .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 |
| application/pdf | |
| .zip | application/zip |
| .gz | application/gzip |
| .tar | application/x-tar |
| .png | image/png |
| .jpg | image/jpeg |
| .jpeg | image/jpeg |
| .gif | image/gif |
| .webp | image/webp |
| .svg | image/svg+xml |
| .ico | image/x-icon |
| .avif | image/avif |
| .bmp | image/bmp |
| .mp3 | audio/mpeg |
| .wav | audio/wav |
| .ogg | audio/ogg |
| .mp4 | video/mp4 |
| .webm | video/webm |
| .mov | video/quicktime |
| .woff | font/woff |
| .woff2 | font/woff2 |
| .ttf | font/ttf |
| .otf | font/otf |
| .eot | application/vnd.ms-fontobject |
| .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 |
| .wasm | application/wasm |
| .ics | text/calendar |
| .eml | message/rfc822 |
| .yaml | application/yaml |
| .yml | application/yaml |
| .toml | application/toml |
| .bin | application/octet-stream |
§01 关于此工具
Overview
MIME types (media types) tell browsers, mail clients, and HTTP servers how to
interpret a payload — text/html renders as a page, application/octet-stream
downloads. This tool is a fast, filterable reference covering common web,
image, audio/video, font, archive, and Office formats, including newer entries
like image/avif, application/wasm, and font/woff2.
How to use
- Type an extension or a MIME type fragment into the Extension or MIME type field (e.g.
webp,image/,json). Leading dots are ignored, so.pngworks too. - The table filters instantly, matching against both the Extension and MIME type columns.
- Clear the field to see the full table again.
Examples
webp→.webp/image/webpimage/→ all image formats:png,jpg,gif,webp,svg,ico,avif,bmpyaml→.yamland.yml, bothapplication/yaml
Notes
The table is a curated subset of common types, not the full IANA registry.
Matching is substring-based and case-insensitive, so xml also matches
image/svg+xml. For serving files correctly, remember that the extension is
only a hint — the Content-Type header your server sends is what browsers
actually obey.
FAQ
Is my search query sent to a server?
No. The tool filters a static table that ships with the page, so every lookup happens entirely in your browser and nothing is transmitted.
Why does the same MIME type appear for multiple extensions?
Several extensions map to one media type by convention: .jpg and .jpeg are both image/jpeg, and .yaml and .yml are both application/yaml. Servers key the Content-Type on the extension, so the duplicates are intentional.
What should I serve for an unknown binary file?
Use application/octet-stream (the .bin entry in the table). It tells browsers to treat the response as opaque binary data and typically triggers a download instead of inline rendering.