MIME Type Lookup
Search by file extension or MIME type to find the matching value in either direction.
| Extension | MIME type |
|---|---|
| .aac | audio/aac |
| .avi | video/x-msvideo |
| .avif | image/avif |
| .bin | application/octet-stream |
| .bmp | image/bmp |
| .csv | text/csv |
| .css | text/css |
| .doc | application/msword |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| .eot | application/vnd.ms-fontobject |
| .epub | application/epub+zip |
| .gif | image/gif |
| .gz | application/gzip |
| .htm | text/html |
| .html | text/html |
| .ico | image/vnd.microsoft.icon |
| .jar | application/java-archive |
| .jpeg | image/jpeg |
| .jpg | image/jpeg |
| .js | text/javascript |
| .json | application/json |
| .jsonld | application/ld+json |
| .mid | audio/midi |
| .mjs | text/javascript |
| .mp3 | audio/mpeg |
| .mp4 | video/mp4 |
| .mpeg | video/mpeg |
| .odp | application/vnd.oasis.opendocument.presentation |
| .ods | application/vnd.oasis.opendocument.spreadsheet |
| .odt | application/vnd.oasis.opendocument.text |
| .oga | audio/ogg |
| .ogv | video/ogg |
| .otf | font/otf |
| application/pdf | |
| .php | application/x-httpd-php |
| .png | image/png |
| .ppt | application/vnd.ms-powerpoint |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
| .rar | application/vnd.rar |
| .rtf | application/rtf |
| .sh | application/x-sh |
| .svg | image/svg+xml |
| .tar | application/x-tar |
| .tif | image/tiff |
| .tiff | image/tiff |
| .ts | video/mp2t |
| .ttf | font/ttf |
| .txt | text/plain |
| .wasm | application/wasm |
| .wav | audio/wav |
| .weba | audio/webm |
| .webm | video/webm |
| .webp | image/webp |
| .woff | font/woff |
| .woff2 | font/woff2 |
| .xhtml | application/xhtml+xml |
| .xls | application/vnd.ms-excel |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| .xml | application/xml |
| .yaml | application/yaml |
| .zip | application/zip |
| .7z | application/x-7z-compressed |
How to look up a MIME type
Search by file extension or MIME type to find the matching value in either direction.
How search works
Typing an extension (with or without the leading dot) finds its MIME type; typing part of a MIME type, like "image/", finds every matching extension.
Common uses
- Set the correct Content-Type header for a file your server serves.
- Check what MIME type to expect for a file extension in an upload validator.
Good to know
MIME types follow a type/subtype format, such as image/png or application/json — the type describes the general category, and the subtype narrows it to a specific format.
Reference notes
This is a static reference list — no data you type is sent anywhere.
FAQ
What if an extension has more than one common MIME type?
This list shows one commonly used MIME type per extension for simplicity; some file types do have more than one valid MIME type in practice.
Does it cover every file extension?
It covers common web, document, image, audio, and video extensions, not every extension in existence.
Why does my server report a different MIME type than shown here?
Servers can be configured to serve custom or vendor-specific MIME types; this list shows the commonly used default for each extension.
