MIME Type Lookup
Type an extension like .webp or a type like application/json to find the match. The full table is searchable and grouped by kind.
| Extension | MIME | Kind |
|---|---|---|
| .html | text/html | text |
| .htm | text/html | text |
| .css | text/css | text |
| .js | text/javascript | text |
| .mjs | text/javascript | text |
| .ts | text/typescript | text |
| .json | application/json | application |
| .jsonld | application/ld+json | application |
| .xml | application/xml | application |
| .txt | text/plain | text |
| .csv | text/csv | text |
| .tsv | text/tab-separated-values | text |
| .md | text/markdown | text |
| .yaml | application/yaml | application |
| .yml | application/yaml | application |
| .ics | text/calendar | text |
| .vcf | text/vcard | text |
| .rtf | application/rtf | application |
| application/pdf | 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 |
| .odt | application/vnd.oasis.opendocument.text | application |
| .ods | application/vnd.oasis.opendocument.spreadsheet | application |
| .odp | application/vnd.oasis.opendocument.presentation | application |
| .epub | application/epub+zip | application |
| .zip | application/zip | archive |
| .gz | application/gzip | archive |
| .tar | application/x-tar | archive |
| .7z | application/x-7z-compressed | archive |
| .rar | application/vnd.rar | archive |
| .bz2 | application/x-bzip2 | archive |
| .jpg | image/jpeg | image |
| .jpeg | image/jpeg | image |
| .png | image/png | image |
| .gif | image/gif | image |
| .webp | image/webp | image |
| .avif | image/avif | image |
| .svg | image/svg+xml | image |
| .ico | image/x-icon | image |
| .bmp | image/bmp | image |
| .tif | image/tiff | image |
| .tiff | image/tiff | image |
| .heic | image/heic | image |
| .heif | image/heif | image |
| .psd | image/vnd.adobe.photoshop | image |
| .mp3 | audio/mpeg | audio |
| .wav | audio/wav | audio |
| .ogg | audio/ogg | audio |
| .oga | audio/ogg | audio |
| .m4a | audio/mp4 | audio |
| .aac | audio/aac | audio |
| .flac | audio/flac | audio |
| .weba | audio/webm | audio |
| .opus | audio/opus | audio |
| .mid | audio/midi | audio |
| .mp4 | video/mp4 | video |
| .m4v | video/mp4 | video |
| .webm | video/webm | video |
| .ogv | video/ogg | video |
| .mov | video/quicktime | video |
| .avi | video/x-msvideo | video |
| .mkv | video/x-matroska | video |
| .wmv | video/x-ms-wmv | video |
| .flv | video/x-flv | video |
| .3gp | video/3gpp | video |
| .ts | video/mp2t | video |
| .mpeg | video/mpeg | video |
| .woff | font/woff | font |
| .woff2 | font/woff2 | font |
| .ttf | font/ttf | font |
| .otf | font/otf | font |
| .eot | application/vnd.ms-fontobject | font |
| .wasm | application/wasm | application |
| .bin | application/octet-stream | application |
| .exe | application/vnd.microsoft.portable-executable | application |
| .dmg | application/x-apple-diskimage | application |
| .apk | application/vnd.android.package-archive | application |
| .deb | application/vnd.debian.binary-package | application |
| .rpm | application/x-rpm | application |
| .jar | application/java-archive | application |
| .sh | application/x-sh | application |
| .php | application/x-httpd-php | application |
| .py | text/x-python | text |
| .swf | application/x-shockwave-flash | application |
| .xhtml | application/xhtml+xml | application |
| .rss | application/rss+xml | application |
| .atom | application/atom+xml | application |
| .webmanifest | application/manifest+json | application |
| .map | application/json | application |
| .sqlite | application/vnd.sqlite3 | application |
| .torrent | application/x-bittorrent | application |
| .form | multipart/form-data | multipart |
| .urlencoded | application/x-www-form-urlencoded | application |
| .eml | message/rfc822 | message |
| .stl | model/stl | model |
| .obj | model/obj | model |
| .gltf | model/gltf+json | model |
| .glb | model/gltf-binary | model |
| .kml | application/vnd.google-earth.kml+xml | application |
| .gpx | application/gpx+xml | application |
About this tool
A MIME type (media type) tells a browser, mail client or API how to handle a file, independent of its extension. Serving a file with the wrong Content-Type leads to downloads instead of display, blocked scripts, or fonts that refuse to load. Uploads are validated by MIME type, and HTTP Accept headers negotiate formats with it.
The table covers the types you meet in web development: images including WebP, AVIF and HEIC; audio and video containers; Office and OpenDocument files; fonts; archives; source code and data formats. Types marked application/octet-stream are generic binary — the safe fallback when nothing else fits.
Frequently asked questions
- What is the MIME type for JavaScript?
- text/javascript is the standard value today; application/javascript is a legacy alias that browsers still accept.
- Why does my server send application/octet-stream?
- The extension is unknown to it. Add the mapping to your server config or set the header explicitly.
- Are MIME types case-sensitive?
- No. They are conventionally written in lower case.