Common MIME types – HTTP | MDN
.aac
AAC audio
audio/aac
.abw
AbiWord document
application/x-abiword
.arc
Archive document (multiple files embedded)
application/x-freearc
.avif
AVIF image
image/avif
.avi
AVI: Audio Video Interleave
video/x-msvideo
.azw
Amazon Kindle eBook format
application/vnd.amazon.ebook
.bin
Any kind of binary data
application/octet-stream
.bmp
Windows OS/2 Bitmap Graphics
image/bmp
.bz
BZip archive
application/x-bzip
.bz2
BZip2 archive
application/x-bzip2
.cda
CD audio
application/x-cdf
.csh
C-Shell script
application/x-csh
.css
Cascading Style Sheets (CSS)
text/css
.csv
Comma-separated values (CSV)
text/csv
.doc
Microsoft Word
application/msword
.docx
Microsoft Word (OpenXML)
application/vnd.openxmlformats-officedocument.wordprocessingml.document
.eot
MS Embedded OpenType fonts
application/vnd.ms-fontobject
.epub
Electronic publication (EPUB)
application/epub+zip
.gz
GZip Compressed Archive
application/gzip
.gif
Graphics Interchange Format (GIF)
image/gif
.htm
, .html
HyperText Markup Language (HTML)
text/html
.ico
Icon format
image/vnd.microsoft.icon
.ics
iCalendar format
text/calendar
.jar
Java Archive (JAR)
application/java-archive
.jpeg
, .jpg
JPEG images
image/jpeg
.js
JavaScript
text/javascript
(Specifications: HTML and RFC 9239).json
JSON formatapplication/json
.jsonld
JSON-LD formatapplication/ld+json
.mid
, .midi
Musical Instrument Digital Interface (MIDI)audio/midi
, audio/x-midi
.mjs
JavaScript moduletext/javascript
.mp3
MP3 audioaudio/mpeg
.mp4
MP4 videovideo/mp4
.mpeg
MPEG Videovideo/mpeg
.mpkg
Apple Installer Packageapplication/vnd.apple.installer+xml
.odp
OpenDocument presentation documentapplication/vnd.oasis.opendocument.presentation
.ods
OpenDocument spreadsheet documentapplication/vnd.oasis.opendocument.spreadsheet
.odt
OpenDocument text documentapplication/vnd.oasis.opendocument.text
.oga
OGG audioaudio/ogg
.ogv
OGG videovideo/ogg
.ogx
OGGapplication/ogg
.opus
Opus audioaudio/opus
.otf
OpenType fontfont/otf
.png
Portable Network Graphicsimage/png
.pdf
Adobe Portable Document Format (PDF)application/pdf
.php
Hypertext Preprocessor (Personal Home Page)application/x-httpd-php
.ppt
Microsoft PowerPointapplication/vnd.ms-powerpoint
.pptx
Microsoft PowerPoint (OpenXML)application/vnd.openxmlformats-officedocument.presentationml.presentation
.rar
RAR archiveapplication/vnd.rar
.rtf
Rich Text Format (RTF)application/rtf
.sh
Bourne shell scriptapplication/x-sh
.svg
Scalable Vector Graphics (SVG)image/svg+xml
.tar
Tape Archive (TAR)application/x-tar
.tif
, .tiff
Tagged Image File Format (TIFF)image/tiff
.ts
MPEG transport streamvideo/mp2t
.ttf
TrueType Fontfont/ttf
.txt
Text, (generally ASCII or ISO 8859-n)text/plain
.vsd
Microsoft Visioapplication/vnd.visio
.wav
Waveform Audio Formataudio/wav
.weba
WEBM audioaudio/webm
.webm
WEBM videovideo/webm
.webp
WEBP imageimage/webp
.woff
Web Open Font Format (WOFF)font/woff
.woff2
Web Open Font Format (WOFF)font/woff2
.xhtml
XHTMLapplication/xhtml+xml
.xls
Microsoft Excelapplication/vnd.ms-excel
.xlsx
Microsoft Excel (OpenXML)application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xml
XMLapplication/xml
is recommended as of RFC 7303 (section 4.1), but text/xml
is still used sometimes. You can assign a specific MIME type to a file with .xml
extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml
, but application/xml
serves as a valid default.
.xul
XULapplication/vnd.mozilla.xul+xml
.zip
ZIP archiveapplication/zip
.3gp
3GPP audio/video containervideo/3gpp
; audio/3gpp
if it doesn’t contain video
.3g2
3GPP2 audio/video containervideo/3gpp2
; audio/3gpp2
if it doesn’t contain video