MIME Type Lookup
Find the MIME type for a file extension or the extensions for a type, or drop a file to detect its real type.
94 MIME types
| Extension | MIME type | Description | |
|---|---|---|---|
| .html .htm | text/html | HTML document | |
| .css | text/css | CSS stylesheet | |
| .txt .text .log | text/plain | Plain text | |
| .csv | text/csv | Comma-separated values | |
| .tsv | text/tab-separated-values | Tab-separated values | |
| .md .markdown | text/markdown | Markdown | |
| .ics | text/calendar | iCalendar event | |
| .vcf | text/vcard | vCard contact | |
| .rtf | application/rtf | Rich Text Format | |
| .js .mjs .cjs | text/javascript | JavaScript | |
| .ts .mts .cts | text/typescript | TypeScript (often served as video/mp2t — set it explicitly) | |
| .json | application/json | JSON | |
| .jsonld | application/ld+json | JSON-LD | |
| .map | application/json | Source map | |
| .webmanifest | application/manifest+json | Web app manifest | |
| .xml | application/xml | XML | |
| .xsl .xslt | application/xslt+xml | XSLT stylesheet | |
| .rss | application/rss+xml | RSS feed | |
| .atom | application/atom+xml | Atom feed | |
| .yaml .yml | application/yaml | YAML | |
| .toml | application/toml | TOML | |
| .sql | application/sql | SQL | |
| .wasm | application/wasm | WebAssembly | |
| .graphql .gql | application/graphql-response+json | GraphQL | |
| .php | application/x-httpd-php | PHP script | |
| .py | text/x-python | Python script | |
| .sh | application/x-sh | Shell script | |
| .png | image/png | PNG image | |
| .jpg .jpeg .jfif | image/jpeg | JPEG image | |
| .gif | image/gif | GIF image | |
| .webp | image/webp | WebP image | |
| .avif | image/avif | AVIF image | |
| .svg .svgz | image/svg+xml | SVG vector image | |
| .ico | image/vnd.microsoft.icon | Icon (also image/x-icon) | |
| .bmp | image/bmp | Bitmap image | |
| .tif .tiff | image/tiff | TIFF image | |
| .heic | image/heic | HEIC image (iPhone) | |
| .heif | image/heif | HEIF image | |
| .jxl | image/jxl | JPEG XL image | |
| .psd | image/vnd.adobe.photoshop | Photoshop document | |
| .apng | image/apng | Animated PNG | |
| .mp3 | audio/mpeg | MP3 audio | |
| .wav | audio/wav | WAV audio | |
| .ogg .oga | audio/ogg | Ogg audio | |
| .opus | audio/opus | Opus audio | |
| .m4a | audio/mp4 | MPEG-4 audio | |
| .aac | audio/aac | AAC audio | |
| .flac | audio/flac | FLAC audio | |
| .weba | audio/webm | WebM audio | |
| .mid .midi | audio/midi | MIDI | |
| .mp4 .m4v | video/mp4 | MPEG-4 video | |
| .webm | video/webm | WebM video | |
| .ogv | video/ogg | Ogg video | |
| .mov | video/quicktime | QuickTime video | |
| .avi | video/x-msvideo | AVI video | |
| .mkv | video/x-matroska | Matroska video | |
| .mpeg .mpg | video/mpeg | MPEG video | |
| .3gp | video/3gpp | 3GPP video | |
| .m3u8 | application/vnd.apple.mpegurl | HLS playlist | |
| .woff2 | font/woff2 | WOFF2 font | |
| .woff | font/woff | WOFF font | |
| .ttf | font/ttf | TrueType font | |
| .otf | font/otf | OpenType font | |
| .eot | application/vnd.ms-fontobject | Embedded OpenType font | |
| application/pdf | PDF document | ||
| .doc | application/msword | Word 97–2003 | |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Word document | |
| .xls | application/vnd.ms-excel | Excel 97–2003 | |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Excel workbook | |
| .ppt | application/vnd.ms-powerpoint | PowerPoint 97–2003 | |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | PowerPoint presentation | |
| .odt | application/vnd.oasis.opendocument.text | OpenDocument text | |
| .ods | application/vnd.oasis.opendocument.spreadsheet | OpenDocument spreadsheet | |
| .odp | application/vnd.oasis.opendocument.presentation | OpenDocument presentation | |
| .epub | application/epub+zip | EPUB e-book | |
| .zip | application/zip | ZIP archive | |
| .gz .tgz | application/gzip | Gzip archive | |
| .tar | application/x-tar | Tar archive | |
| .7z | application/x-7z-compressed | 7-Zip archive | |
| .rar | application/vnd.rar | RAR archive | |
| .bz2 | application/x-bzip2 | Bzip2 archive | |
| .xz | application/x-xz | XZ archive | |
| .zst | application/zstd | Zstandard archive | |
| .exe .dll | application/vnd.microsoft.portable-executable | Windows program | |
| .msi | application/x-msi | Windows installer | |
| .apk | application/vnd.android.package-archive | Android app | |
| .dmg | application/x-apple-diskimage | macOS disk image | |
| .deb | application/vnd.debian.binary-package | Debian package | |
| .iso | application/x-iso9660-image | Disc image | |
| .jar | application/java-archive | Java archive | |
| .sqlite .db | application/vnd.sqlite3 | SQLite database | |
| .bin | application/octet-stream | Binary data (the generic fallback) | |
| .pem .crt .cer | application/x-pem-file | Certificate (PEM; DER is application/pkix-cert) | |
| .p12 .pfx | application/x-pkcs12 | PKCS#12 key store |
How to use
- Type an extension (
.webp), part of a type (image/) or a word (font) to find the rightContent-Type. Click the copy icon to copy it. - Drop files to see what they really are. The type is read from the file's first bytes (its “magic number”), so a renamed file — say a .exe renamed to .pdf — is caught.
Good to know
- Servers send the MIME type in the
Content-Typeheader. A wrong type can stop scripts or styles loading (browsers block them withX-Content-Type-Options: nosniff). - For text types add a charset:
text/html; charset=utf-8. application/octet-streammeans “unknown binary” — browsers download it instead of opening it.- Files are checked in your browser and never uploaded.