MIME Types
Look up the Content-Type for a file extension, or the extension for a type.
| Extension | MIME type |
|---|---|
.html | text/html |
.htm | text/html |
.css | text/css |
.js | text/javascript |
.mjs | text/javascript |
.json | application/json |
.xml | application/xml |
.txt | text/plain |
.csv | text/csv |
.md | text/markdown |
.yaml | application/yaml |
.toml | application/toml |
.ics | text/calendar |
.rtf | application/rtf |
.png | image/png |
.jpg | image/jpeg |
.jpeg | image/jpeg |
.gif | image/gif |
.webp | image/webp |
.avif | image/avif |
.svg | image/svg+xml |
.ico | image/x-icon |
.bmp | image/bmp |
.tiff | image/tiff |
.heic | image/heic |
.mp3 | audio/mpeg |
.wav | audio/wav |
.ogg | audio/ogg |
.flac | audio/flac |
.aac | audio/aac |
.m4a | audio/mp4 |
.mp4 | video/mp4 |
.webm | video/webm |
.mov | video/quicktime |
.avi | video/x-msvideo |
.mkv | video/x-matroska |
.mpeg | video/mpeg |
.pdf | application/pdf |
.zip | application/zip |
.gz | application/gzip |
.tar | application/x-tar |
.7z | application/x-7z-compressed |
.rar | application/vnd.rar |
.bz2 | application/x-bzip2 |
.doc | application/msword |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
.xls | application/vnd.ms-excel |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
.ppt | application/vnd.ms-powerpoint |
.pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
.odt | application/vnd.oasis.opendocument.text |
.ods | application/vnd.oasis.opendocument.spreadsheet |
.epub | application/epub+zip |
.woff | font/woff |
.woff2 | font/woff2 |
.ttf | font/ttf |
.otf | font/otf |
.wasm | application/wasm |
.bin | application/octet-stream |
.exe | application/vnd.microsoft.portable-executable |
.apk | application/vnd.android.package-archive |
.dmg | application/x-apple-diskimage |
.sh | application/x-sh |
.php | application/x-httpd-php |
.jar | application/java-archive |
.sql | application/sql |
.graphql | application/graphql |
.jsonld | application/ld+json |
.webmanifest | application/manifest+json |
.map | application/json |
.ts | video/mp2t |
.m3u8 | application/vnd.apple.mpegurl |