MIME Types Lookup
NEWLook up the MIME type for a file extension or the extensions for a MIME type. 160 common types, with a category filter and a ready Content-Type header line.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
160 matches
| Extension | MIME type | Description | Copy |
|---|---|---|---|
| .html | text/html | HTML document Web | |
| .htm | text/html | HTML document Web | |
| .css | text/css | Cascading style sheet Web | |
| .js | text/javascript also seen: application/javascript | JavaScript Web | |
| .mjs | text/javascript | JavaScript module Web | |
| .json | application/json | JSON data Web | |
| .map | application/json | Source map Web | |
| .jsonld | application/ld+json | JSON-LD linked data Web | |
| .webmanifest | application/manifest+json | Web app manifest Web | |
| .xhtml | application/xhtml+xml | XHTML document Web | |
| .xml | application/xml also seen: text/xml | XML document Web | |
| .rss | application/rss+xml | RSS feed Web | |
| .atom | application/atom+xml | Atom feed Web | |
| .wasm | application/wasm | WebAssembly module Web | |
| .txt | text/plain | Plain text Web | |
| .swf | application/x-shockwave-flash | Adobe Flash (retired) Web | |
| .png | image/png | PNG image Image | |
| .apng | image/apng | Animated PNG Image | |
| .jpg | image/jpeg | JPEG image Image | |
| .jpeg | image/jpeg | JPEG image Image | |
| .gif | image/gif | GIF image Image | |
| .webp | image/webp | WebP image Image | |
| .avif | image/avif | AVIF image Image | |
| .jxl | image/jxl | JPEG XL image Image | |
| .svg | image/svg+xml | SVG vector image Image | |
| .bmp | image/bmp | Bitmap image Image | |
| .ico | image/vnd.microsoft.icon also seen: image/x-icon | Icon file Image | |
| .tif | image/tiff | TIFF image Image | |
| .tiff | image/tiff | TIFF image Image | |
| .heic | image/heic | HEIC image (iPhone photos) Image | |
| .heif | image/heif | HEIF image Image | |
| .jp2 | image/jp2 | JPEG 2000 image Image | |
| .psd | image/vnd.adobe.photoshop | Adobe Photoshop document Image | |
| .djvu | image/vnd.djvu | DjVu scanned document Image | |
| .woff | font/woff also seen: application/font-woff | Web Open Font Format Font | |
| .woff2 | font/woff2 also seen: application/font-woff2 | Web Open Font Format 2 Font | |
| .ttf | font/ttf also seen: application/x-font-ttf | TrueType font Font | |
| .otf | font/otf also seen: application/x-font-opentype | OpenType font Font | |
| .ttc | font/collection | TrueType font collection Font | |
| .eot | application/vnd.ms-fontobject | Embedded OpenType font Font | |
| .mp3 | audio/mpeg | MP3 audio Audio | |
| .wav | audio/wav also seen: audio/x-wav, audio/wave | WAV audio Audio | |
| .ogg | audio/ogg | Ogg audio Audio | |
| .oga | audio/ogg | Ogg audio Audio | |
| .opus | audio/ogg | Opus audio in an Ogg container Audio | |
| .flac | audio/flac | FLAC lossless audio Audio | |
| .aac | audio/aac | AAC audio Audio | |
| .m4a | audio/mp4 also seen: audio/x-m4a | MPEG-4 audio Audio | |
| .weba | audio/webm | WebM audio Audio | |
| .mid | audio/midi also seen: audio/x-midi | MIDI music Audio | |
| .midi | audio/midi also seen: audio/x-midi | MIDI music Audio | |
| .aif | audio/aiff also seen: audio/x-aiff | AIFF audio Audio | |
| .aiff | audio/aiff also seen: audio/x-aiff | AIFF audio Audio | |
| .amr | audio/amr | AMR voice audio Audio | |
| .wma | audio/x-ms-wma | Windows Media Audio Audio | |
| .m3u | audio/x-mpegurl also seen: audio/mpegurl | Playlist Audio | |
| .mp4 | video/mp4 | MPEG-4 video Video | |
| .m4v | video/x-m4v also seen: video/mp4 | MPEG-4 video (Apple) Video | |
| .webm | video/webm | WebM video Video | |
| .ogv | video/ogg | Ogg video Video | |
| .mov | video/quicktime | QuickTime video Video | |
| .avi | video/x-msvideo | AVI video Video | |
| .mkv | video/x-matroska | Matroska video Video | |
| .mpeg | video/mpeg | MPEG video Video | |
| .mpg | video/mpeg | MPEG video Video | |
| .3gp | video/3gpp also seen: audio/3gpp | 3GPP mobile video Video | |
| .3g2 | video/3gpp2 also seen: audio/3gpp2 | 3GPP2 mobile video Video | |
| .wmv | video/x-ms-wmv | Windows Media Video Video | |
| .flv | video/x-flv | Flash video Video | |
| .ts | video/mp2t | MPEG transport stream (TypeScript source has no registered type) Video | |
| .m3u8 | application/vnd.apple.mpegurl also seen: application/x-mpegurl | HLS streaming playlist Video | |
| .zip | application/zip also seen: application/x-zip-compressed | ZIP archive Archive | |
| .gz | application/gzip also seen: application/x-gzip | Gzip compressed file Archive | |
| .tgz | application/gzip also seen: application/x-compressed-tar | Gzip-compressed tar archive Archive | |
| .tar | application/x-tar | Tar archive Archive | |
| .bz2 | application/x-bzip2 | Bzip2 compressed file Archive | |
| .xz | application/x-xz | XZ compressed file Archive | |
| .zst | application/zstd | Zstandard compressed file Archive | |
| .7z | application/x-7z-compressed | 7-Zip archive Archive | |
| .rar | application/vnd.rar also seen: application/x-rar-compressed | RAR archive Archive | |
| .jar | application/java-archive | Java archive Archive | |
| .war | application/java-archive | Java web application archive Archive | |
| .apk | application/vnd.android.package-archive | Android app package Archive | |
| .deb | application/vnd.debian.binary-package also seen: application/x-debian-package | Debian package Archive | |
| .rpm | application/x-rpm | RPM package Archive | |
| .dmg | application/x-apple-diskimage | macOS disk image Archive | |
| .iso | application/x-iso9660-image | Optical disc image Archive | |
| .cab | application/vnd.ms-cab-compressed | Windows cabinet archive Archive | |
| .epub | application/epub+zip | EPUB e-book Document | |
| application/pdf | PDF document Document | ||
| .doc | application/msword | Word document (old format) Document | |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Word document Document | |
| .docm | application/vnd.ms-word.document.macroEnabled.12 | Word document with macros Document | |
| .dotx | application/vnd.openxmlformats-officedocument.wordprocessingml.template | Word template Document | |
| .xls | application/vnd.ms-excel | Excel workbook (old format) Document | |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Excel workbook Document | |
| .xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 | Excel workbook with macros Document | |
| .xltx | application/vnd.openxmlformats-officedocument.spreadsheetml.template | Excel template Document | |
| .ppt | application/vnd.ms-powerpoint | PowerPoint presentation (old format) Document | |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | PowerPoint presentation Document | |
| .potx | application/vnd.openxmlformats-officedocument.presentationml.template | PowerPoint template Document | |
| .ppsx | application/vnd.openxmlformats-officedocument.presentationml.slideshow | PowerPoint slide show Document | |
| .odt | application/vnd.oasis.opendocument.text | OpenDocument text Document | |
| .ods | application/vnd.oasis.opendocument.spreadsheet | OpenDocument spreadsheet Document | |
| .odp | application/vnd.oasis.opendocument.presentation | OpenDocument presentation Document | |
| .odg | application/vnd.oasis.opendocument.graphics | OpenDocument drawing Document | |
| .vsd | application/vnd.visio | Visio drawing Document | |
| .vsdx | application/vnd.ms-visio.drawing | Visio drawing (XML format) Document | |
| .rtf | application/rtf also seen: text/rtf | Rich Text Format Document | |
| .md | text/markdown | Markdown text Document | |
| .ps | application/postscript | PostScript Document | |
| .eps | application/postscript | Encapsulated PostScript Document | |
| .ai | application/postscript also seen: application/illustrator | Adobe Illustrator file Document | |
| .xps | application/vnd.ms-xpsdocument also seen: application/oxps | XPS document Document | |
| .mobi | application/x-mobipocket-ebook | Mobipocket e-book Document | |
| .tex | application/x-tex | TeX source Document | |
| .csv | text/csv | Comma-separated values Data | |
| .tsv | text/tab-separated-values | Tab-separated values Data | |
| .yaml | application/yaml also seen: application/x-yaml, text/yaml | YAML data Data | |
| .yml | application/yaml also seen: application/x-yaml, text/yaml | YAML data Data | |
| .toml | application/toml | TOML configuration Data | |
| .ndjson | application/x-ndjson also seen: application/x-jsonlines | Newline-delimited JSON Data | |
| .geojson | application/geo+json | GeoJSON map data Data | |
| .kml | application/vnd.google-earth.kml+xml | Google Earth KML Data | |
| .kmz | application/vnd.google-earth.kmz | Zipped Google Earth KML Data | |
| .gpx | application/gpx+xml | GPS exchange format Data | |
| .rdf | application/rdf+xml | RDF/XML data Data | |
| .ics | text/calendar | iCalendar event Data | |
| .vcf | text/vcard also seen: text/x-vcard | vCard contact Data | |
| .sql | application/sql | SQL script Data | |
| .sqlite | application/vnd.sqlite3 also seen: application/x-sqlite3 | SQLite database Data | |
| .parquet | application/vnd.apache.parquet | Apache Parquet table Data | |
| .pem | application/x-pem-file | PEM-encoded certificate or key Data | |
| .crt | application/x-x509-ca-cert | X.509 certificate Data | |
| .cer | application/pkix-cert also seen: application/x-x509-ca-cert | X.509 certificate Data | |
| .der | application/x-x509-ca-cert | DER-encoded certificate Data | |
| .p12 | application/x-pkcs12 | PKCS#12 key store Data | |
| .pfx | application/x-pkcs12 | PKCS#12 key store Data | |
| .log | text/plain | Log file Data | |
| .ini | text/plain | INI configuration file Data | |
| .bin | application/octet-stream | Unknown binary data (the default type) Data | |
| .c | text/x-c | C source (no registered type) Source | |
| .h | text/x-c | C header (no registered type) Source | |
| .cpp | text/x-c also seen: text/x-c++src | C++ source (no registered type) Source | |
| .java | text/x-java-source | Java source (no registered type) Source | |
| .py | text/x-python also seen: text/x-script.python | Python source (no registered type) Source | |
| .php | application/x-httpd-php also seen: text/x-php | PHP script (run by the server) Source | |
| .sh | application/x-sh also seen: text/x-shellscript | Shell script Source | |
| .csh | application/x-csh | C shell script Source | |
| .bat | application/x-msdos-program | Windows batch file Source | |
| .scss | text/x-scss | Sass stylesheet (no registered type) Source | |
| .less | text/x-less | Less stylesheet (no registered type) Source | |
| .jsx | text/jsx | JSX source (no registered type) Source | |
| .exe | application/vnd.microsoft.portable-executable also seen: application/x-msdownload, application/x-dosexec | Windows executable Binary | |
| .dll | application/vnd.microsoft.portable-executable also seen: application/x-msdownload | Windows library Binary | |
| .msi | application/x-msi also seen: application/x-ole-storage | Windows installer Binary | |
| .so | application/x-sharedlib also seen: application/octet-stream | Linux shared library Binary | |
| .class | application/java-vm | Compiled Java class Binary | |
| .ipa | application/octet-stream | iOS app package Binary | |
| .torrent | application/x-bittorrent | BitTorrent file Binary |
“Header” copies a full line such as Content-Type: text/html; charset=utf-8. Types marked “no registered type” are common conventions, not IANA registrations.
Quick Examples
Typical inputs and the results this tool produces.
Overview
A MIME type, also called a media type or content type, tells a browser or server what kind of data a file holds, for example image/png or application/pdf. Web servers send it in the Content-Type header, and uploads, APIs and email attachments use it too.
This lookup lists 160 common file extensions with the MIME type most servers send for each one, grouped into web, image, font, audio, video, archive, document, data, source and binary files. Search by extension, by a whole file name or by part of a MIME type.
Each row has buttons to copy the type or a ready Content-Type header line, and notes other types seen for the same extension. It runs in your browser.
Why use this tool?
- Find the right Content-Type for a file quickly
- Search from extension to MIME type and back
- Copy a ready Content-Type header line
- See alternative types used in the wild
- Works in your browser, nothing is sent
Features
Search both ways
Type an extension, a file name such as report.pdf, or part of a MIME type.
Category filter
Narrow the table to web, image, font, audio, video, archive, document, data, source or binary.
Copy buttons
Copy the MIME type or a full Content-Type header line.
Charset option
Add charset=utf-8 to text types in the copied header.
Alternative types
Shows other types sometimes used, such as audio/x-wav for .wav.
160 common types
Web files, Office documents, fonts, media, archives and more.
How to Use
Search
Enter an extension (png), a file name (photo.webp) or a MIME type (audio/mpeg).
Filter
Pick a category to narrow the table.
Read the row
Check the MIME type, the description and any alternative types.
Copy
Use MIME for the type alone, or Header for a full Content-Type line.