MIME Types Lookup
Search and lookup common MIME types by file extension. Filter by category.
125 types
| Extension | MIME Type | Category |
|---|---|---|
| .html | text/html | Text |
| .htm | text/html | Text |
| .css | text/css | Text |
| .js | text/javascript | Text |
| .json | application/json | Text |
| .xml | text/xml | Text |
| .txt | text/plain | Text |
| .csv | text/csv | Text |
| .tsv | text/tab-separated-values | Text |
| .md | text/markdown | Text |
| .markdown | text/markdown | Text |
| .yaml | text/yaml | Text |
| .yml | text/yaml | Text |
| .sql | text/x-sql | Text |
| .ini | text/plain | Text |
| .cfg | text/plain | Text |
| .log | text/plain | Text |
| .svg | image/svg+xml | Text |
| .xhtml | application/xhtml+xml | Text |
| .rtf | application/rtf | Text |
| .tex | application/x-tex | Text |
| .latex | application/x-latex | Text |
| .vtt | text/vtt | Text |
| .srt | text/srt | Text |
| .toml | text/toml | Text |
| .env | text/plain | Text |
| .jpg | image/jpeg | Image |
| .jpeg | image/jpeg | Image |
| .png | image/png | Image |
| .gif | image/gif | Image |
| .webp | image/webp | Image |
| .bmp | image/bmp | Image |
| .ico | image/x-icon | Image |
| .tiff | image/tiff | Image |
| .tif | image/tiff | Image |
| .avif | image/avif | Image |
| .heic | image/heic | Image |
| .heif | image/heif | Image |
| .jxl | image/jxl | Image |
| .apng | image/apng | Image |
| .raw | image/x-raw | Image |
| .psd | image/vnd.adobe.photoshop | Image |
| .mp3 | audio/mpeg | Audio |
| .wav | audio/wav | Audio |
| .ogg | audio/ogg | Audio |
| .flac | audio/flac | Audio |
| .aac | audio/aac | Audio |
| .wma | audio/x-ms-wma | Audio |
| .m4a | audio/mp4 | Audio |
| .opus | audio/opus | Audio |
| .mid | audio/midi | Audio |
| .midi | audio/midi | Audio |
| .aiff | audio/aiff | Audio |
| .mp4 | video/mp4 | Video |
| .webm | video/webm | Video |
| .avi | video/x-msvideo | Video |
| .mov | video/quicktime | Video |
| .mkv | video/x-matroska | Video |
| .flv | video/x-flv | Video |
| .wmv | video/x-ms-wmv | Video |
| .m4v | video/mp4 | Video |
| .3gp | video/3gpp | Video |
| .ogv | video/ogg | Video |
| .ts | video/mp2t | Video |
| .m3u8 | application/x-mpegURL | Video |
| application/pdf | Application | |
| .zip | application/zip | Application |
| .rar | application/x-rar-compressed | Application |
| .7z | application/x-7z-compressed | Application |
| .tar | application/x-tar | Application |
| .gz | application/gzip | Application |
| .bz2 | application/x-bzip2 | Application |
| .xz | application/x-xz | Application |
| .doc | application/msword | Application |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Application |
| .xls | application/vnd.ms-excel | Application |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Application |
| .ppt | application/vnd.ms-powerpoint | Application |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | Application |
| .exe | application/x-msdownload | Application |
| .dmg | application/x-apple-diskimage | Application |
| .iso | application/x-iso9660-image | Application |
| .apk | application/vnd.android.package-archive | Application |
| .ipa | application/x-iphone | Application |
| .deb | application/x-deb | Application |
| .rpm | application/x-rpm | Application |
| .odt | application/vnd.oasis.opendocument.text | Application |
| .ods | application/vnd.oasis.opendocument.spreadsheet | Application |
| .odp | application/vnd.oasis.opendocument.presentation | Application |
| .jar | application/java-archive | Application |
| .war | application/java-archive | Application |
| .eot | application/vnd.ms-fontobject | Application |
| .woff | font/woff | Application |
| .woff2 | font/woff2 | Application |
| .ttf | font/ttf | Application |
| .otf | font/otf | Application |
| .sh | application/x-sh | Application |
| .py | text/x-python | Application |
| .java | text/x-java-source | Application |
| .cpp | text/x-c++src | Application |
| .c | text/x-c | Application |
| .h | text/x-c | Application |
| .php | application/x-httpd-php | Application |
| .rb | text/x-ruby | Application |
| .go | text/x-go | Application |
| .rs | text/x-rustsrc | Application |
| .swift | text/x-swift | Application |
| .ts | text/typescript | Application |
| .tsx | text/typescript | Application |
| .jsx | text/jaxn | Application |
| .bat | application/x-msdos-program | Application |
| .ps1 | application/x-powershell | Application |
| .pem | application/x-pem-file | Application |
| .crt | application/x-x509-ca-cert | Application |
| .key | application/x-pem-file | Application |
| .p12 | application/x-pkcs12 | Application |
| .cer | application/x-x509-ca-cert | Application |
| .der | application/x-x509-ca-cert | Application |
| .sqlite | application/x-sqlite3 | Application |
| .db | application/x-sqlite3 | Application |
| .wasm | application/wasm | Application |
| .graphql | application/graphql | Application |
| .gql | application/graphql | Application |
| .mjs | text/javascript | Application |
| .cjs | text/javascript | Application |
Report a Problem
Found a bug or have a suggestion? Help us improve this tool.
What is this tool?
MIME (Multipurpose Internet Mail Extensions) types reference tool maps file extensions to their corresponding MIME types. MIME types tell browsers and servers how to handle different file formats. Covers common types like text/html, image/jpeg, application/json, and 500+ more. Essential for web development, API content-type headers, and file handling.
How to use
- 1
Search
Enter a file extension or MIME type to search.
- 2
View mapping
See the corresponding MIME type and file extensions.
- 3
View results
Review the output.
Frequently Asked Questions
Why are MIME types important?
MIME types determine how browsers render content and how servers handle file uploads. Wrong MIME types cause browsers to download files instead of displaying them, or reject uploads. APIs use Content-Type headers with MIME types to negotiate data formats. Security: browsers enforce different policies based on MIME types (e.g., XSSI protection for JSON).
How many MIME types exist?
Thousands. Common: text/html, image/jpeg, application/json.
How do I set correct MIME types on a web server?
In Apache, use AddType directives in .htaccess (e.g., AddType application/json .json). In Nginx, the mime.types file maps extensions to MIME types. In Node.js/Express, use the mime-types package or set the Content-Type header directly. For static file servers, most frameworks auto-detect MIME types from file extensions. Always verify with browser developer tools.