MIME Type Reference

Type an extension into the browser’s find bar to locate it: every extension is listed once, mainstream formats carry the current registered value, and x- prefixed entries are kept as legacy spellings. Confirm the value on your own server before you deploy it.

Runs locally in your browser
File ExtensionContent-Type(Mime-Type)File ExtensionContent-Type(Mime-Type)
.* (generic binary data when the file type is unknown)application/octet-stream
.001application/x-001
.301application/x-301
.323text/h323
.3gpvideo/3gpp
.7zapplication/x-7z-compressed
.906application/x-906
.907drawing/907
.a11application/x-a11
.aacaudio/aac
.acpaudio/x-mei-aac
.aiapplication/postscript
.aifaudio/aiff
.aifcaudio/aiff
.aiffaudio/aiff
.anvapplication/x-anv
.apkapplication/vnd.android.package-archive
.asatext/asa
.asfvideo/x-ms-asf
.asptext/asp
.asxvideo/x-ms-asf
.atomapplication/atom+xml
.auaudio/basic
.avivideo/x-msvideo
.avifimage/avif
.awfapplication/vnd.adobe.workflow
.binapplication/octet-stream
.biztext/xml
.bmpimage/bmp
.botapplication/x-bot
.c4tapplication/x-c4t
.c90application/x-c90
.calapplication/x-cals
.catapplication/vnd.ms-pki.seccat
.cdfapplication/x-netcdf
.cdrapplication/x-cdr
.celapplication/x-cel
.cerapplication/x-x509-ca-cert
.cg4application/x-g4
.cgmapplication/x-cgm
.citapplication/x-cit
.classapplication/java-vm
.cmltext/xml
.cmpapplication/x-cmp
.cmxapplication/x-cmx
.cotapplication/x-cot
.crlapplication/pkix-crl
.crtapplication/x-x509-ca-cert
.csiapplication/x-csi
.csstext/css
.csvtext/csv
.cutapplication/x-cut
.dbfapplication/x-dbf
.dbmapplication/x-dbm
.dbxapplication/x-dbx
.dcdtext/xml
.dcxapplication/x-dcx
.derapplication/x-x509-ca-cert
.dgnapplication/x-dgn
.dibapplication/x-dib
.dllapplication/x-msdownload
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotapplication/msword
.drwapplication/x-drw
.dtdtext/xml
.dwfmodel/vnd.dwf
.dwgapplication/x-dwg
.dxbapplication/x-dxb
.dxfapplication/x-dxf
.ednapplication/vnd.adobe.edn
.emfapplication/x-emf
.emlmessage/rfc822
.enttext/xml
.eotapplication/vnd.ms-fontobject
.epiapplication/x-epi
.epsapplication/postscript
.epubapplication/epub+zip
.etdapplication/x-ebx
.exeapplication/x-msdownload
.faximage/fax
.fdfapplication/vnd.fdf
.fifapplication/fractals
.flacaudio/flac
.flvvideo/x-flv
.fotext/xml
.frmapplication/x-frm
.g4application/x-g4
.gbrapplication/x-gbr
.gifimage/gif
.gl2application/x-gl2
.gp4application/x-gp4
.gzapplication/gzip
.heicimage/heic
.hglapplication/x-hgl
.hmrapplication/x-hmr
.hpgapplication/x-hpgl
.hplapplication/x-hpl
.hqxapplication/mac-binhex40
.hrfapplication/x-hrf
.htaapplication/hta
.htctext/x-component
.htmtext/html
.htmltext/html
.htttext/webviewhtml
.htxtext/html
.icbapplication/x-icb
.icoimage/x-icon
.iffapplication/x-iff
.ig4application/x-g4
.igsapplication/x-igs
.iiiapplication/x-iphone
.imgapplication/x-img
.insapplication/x-internet-signup
.ipaapplication/vnd.iphone
.ispapplication/x-internet-signup
.IVFvideo/x-ivf
.javatext/x-java-source
.jfifimage/jpeg
.jpeimage/jpeg
.jpegimage/jpeg
.jpgimage/jpeg
.jstext/javascript
.jsonapplication/json
.jsonldapplication/ld+json
.jsptext/html
.la1audio/x-liquid-file
.larapplication/x-laplayer-reg
.latexapplication/x-latex
.lavsaudio/x-liquid-secure
.lbmapplication/x-lbm
.lmsffaudio/x-la-lms
.lstext/javascript
.ltrapplication/x-ltr
.m1vvideo/x-mpeg
.m2vvideo/x-mpeg
.m3uaudio/x-mpegurl
.m4aaudio/x-m4a
.m4evideo/mp4
.m4vvideo/x-m4v
.macapplication/x-mac
.manapplication/x-troff-man
.mathtext/xml
.mdtext/markdown
.mdbapplication/x-msaccess
.mfpapplication/x-shockwave-flash
.mhtmessage/rfc822
.mhtmlmessage/rfc822
.miapplication/x-mi
.midaudio/mid
.midiaudio/mid
.milapplication/x-mil
.mjstext/javascript
.mmltext/xml
.mndaudio/x-musicnet-download
.mnsaudio/x-musicnet-stream
.mochatext/javascript
.movvideo/quicktime
.movievideo/x-sgi-movie
.mp1audio/mp1
.mp2audio/mp2
.mp2vvideo/mpeg
.mp3audio/mpeg
.mp4video/mp4
.mpavideo/x-mpg
.mpdapplication/vnd.ms-project
.mpevideo/x-mpeg
.mpegvideo/mpg
.mpgvideo/mpg
.mpgaaudio/rn-mpeg
.mppapplication/vnd.ms-project
.mpsvideo/x-mpeg
.mptapplication/vnd.ms-project
.mpvvideo/mpg
.mpv2video/mpeg
.mpwapplication/vnd.ms-project
.mpxapplication/vnd.ms-project
.mtxtext/xml
.mxpapplication/x-mmxp
.netimage/pnetvue
.nrfapplication/x-nrf
.nwsmessage/rfc822
.odctext/x-ms-odc
.odpapplication/vnd.oasis.opendocument.presentation
.odsapplication/vnd.oasis.opendocument.spreadsheet
.odtapplication/vnd.oasis.opendocument.text
.oggaudio/ogg
.ogvvideo/ogg
.otffont/otf
.outapplication/x-out
.p10application/pkcs10
.p12application/x-pkcs12
.p7bapplication/x-pkcs7-certificates
.p7capplication/pkcs7-mime
.p7mapplication/pkcs7-mime
.p7rapplication/x-pkcs7-certreqresp
.p7sapplication/pkcs7-signature
.pc5application/x-pc5
.pciapplication/x-pci
.pclapplication/x-pcl
.pcxapplication/x-pcx
.pdfapplication/pdf
.pdxapplication/vnd.adobe.pdx
.pemapplication/x-x509-ca-cert
.pfxapplication/x-pkcs12
.pglapplication/x-pgl
.picapplication/x-pic
.pkoapplication/vnd.ms-pki.pko
.plapplication/x-perl
.plgtext/html
.plsaudio/scpls
.pltapplication/x-plt
.pngimage/png
.potapplication/vnd.ms-powerpoint
.ppaapplication/vnd.ms-powerpoint
.ppmapplication/x-ppm
.ppsapplication/vnd.ms-powerpoint
.pptapplication/vnd.ms-powerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.prapplication/x-pr
.prfapplication/pics-rules
.prnapplication/x-prn
.prtapplication/x-prt
.psapplication/postscript
.ptnapplication/x-ptn
.pwzapplication/vnd.ms-powerpoint
.pytext/x-python
.r3ttext/vnd.rn-realtext3d
.raaudio/vnd.rn-realaudio
.ramaudio/x-pn-realaudio
.rarapplication/x-rar-compressed
.rasapplication/x-ras
.ratapplication/rat-file
.rdftext/xml
.recapplication/vnd.rn-recording
.redapplication/x-red
.rgbapplication/x-rgb
.rjsapplication/vnd.rn-realsystem-rjs
.rjtapplication/vnd.rn-realsystem-rjt
.rlcapplication/x-rlc
.rleapplication/x-rle
.rmapplication/vnd.rn-realmedia
.rmfapplication/vnd.adobe.rmf
.rmiaudio/mid
.rmjapplication/vnd.rn-realsystem-rmj
.rmmaudio/x-pn-realaudio
.rmpapplication/vnd.rn-rn_music_package
.rmsapplication/vnd.rn-realmedia-secure
.rmvbapplication/vnd.rn-realmedia-vbr
.rmxapplication/vnd.rn-realsystem-rmx
.rnxapplication/vnd.rn-realplayer
.rpimage/vnd.rn-realpix
.rpmaudio/x-pn-realaudio-plugin
.rsmlapplication/vnd.rn-rsml
.rssapplication/rss+xml
.rttext/vnd.rn-realtext
.rtfapplication/rtf
.rvvideo/vnd.rn-realvideo
.samapplication/x-sam
.satapplication/x-sat
.sdpapplication/sdp
.sdwapplication/x-sdw
.shapplication/x-sh
.sisapplication/vnd.symbian.install
.sisxapplication/vnd.symbian.install
.sitapplication/x-stuffit
.slbapplication/x-slb
.sldapplication/x-sld
.slkdrawing/x-slk
.smiapplication/smil
.smilapplication/smil
.smkapplication/x-smk
.sndaudio/basic
.soltext/plain
.sortext/plain
.spcapplication/x-pkcs7-certificates
.splapplication/futuresplash
.spptext/xml
.ssmapplication/streamingmedia
.sstapplication/vnd.ms-pki.certstore
.stlapplication/vnd.ms-pki.stl
.stmtext/html
.styapplication/x-sty
.svgimage/svg+xml
.swfapplication/x-shockwave-flash
.tarapplication/x-tar
.tdfapplication/x-tdf
.tg4application/x-tg4
.tgaapplication/x-tga
.tifimage/tiff
.tiffimage/tiff
.tldtext/xml
.topdrawing/x-top
.torrentapplication/x-bittorrent
.tsdtext/xml
.ttffont/ttf
.txttext/plain
.uinapplication/x-icq
.ulstext/iuls
.vcftext/x-vcard
.vdaapplication/x-vda
.vdxapplication/vnd.visio
.vmltext/xml
.vpgapplication/x-vpeg005
.vsdapplication/vnd.visio
.vssapplication/vnd.visio
.vstapplication/vnd.visio
.vswapplication/vnd.visio
.vsxapplication/vnd.visio
.vtxapplication/vnd.visio
.vxmltext/xml
.wasmapplication/wasm
.wavaudio/wav
.waxaudio/x-ms-wax
.wb1application/x-wb1
.wb2application/x-wb2
.wb3application/x-wb3
.wbmpimage/vnd.wap.wbmp
.webmvideo/webm
.webmanifestapplication/manifest+json
.webpimage/webp
.wizapplication/msword
.wk3application/x-wk3
.wk4application/x-wk4
.wkqapplication/x-wkq
.wksapplication/x-wks
.wmvideo/x-ms-wm
.wmaaudio/x-ms-wma
.wmdapplication/x-ms-wmd
.wmfapplication/x-wmf
.wmltext/vnd.wap.wml
.wmvvideo/x-ms-wmv
.wmxvideo/x-ms-wmx
.wmzapplication/x-ms-wmz
.wofffont/woff
.woff2font/woff2
.wp6application/x-wp6
.wpdapplication/x-wpd
.wpgapplication/x-wpg
.wplapplication/vnd.ms-wpl
.wq1application/x-wq1
.wr1application/x-wr1
.wriapplication/x-wri
.wrkapplication/x-wrk
.wsapplication/x-ws
.ws2application/x-ws
.wsctext/scriptlet
.wsdltext/xml
.wvxvideo/x-ms-wvx
.x_bapplication/x-x_b
.x_tapplication/x-x_t
.xapapplication/x-silverlight-app
.xdpapplication/vnd.adobe.xdp
.xdrtext/xml
.xfdapplication/vnd.adobe.xfd
.xfdfapplication/vnd.adobe.xfdf
.xhtmlapplication/xhtml+xml
.xlsapplication/vnd.ms-excel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xlwapplication/x-xlw
.xmltext/xml
.xplaudio/scpls
.xqtext/xml
.xqltext/xml
.xquerytext/xml
.xsdtext/xml
.xsltext/xml
.xslttext/xml
.xwdapplication/x-xwd
.yamlapplication/yaml
.ymlapplication/yaml
.zipapplication/zip

How to use the Content-Type table

This is a static look-up table: every row pairs a file extension with the Content-Type (MIME type) value a web server sends for it. The page has no input field and no script of its own, so the values are part of the document the browser renders.

Each row carries one extension and the Content-Type value a server sends for it. The extension column keeps the leading dot, and the first row covers files whose type is unknown: they are served as application/octet-stream.

  1. Press Ctrl+F (Cmd+F on a Mac) and type an extension such as .json, or a value such as image/svg+xml, to jump to the entry you need.
  2. Narrow the list from the search box above the table: it filters as you type and the counter reports how many rows match. The button beside an extension copies that extension.
  3. Match the whole extension. The table separates .js from .mjs and .yaml from .yml because both spellings are served with the same value.
  4. Read the value before you copy it into a configuration: entries with an x- prefix such as application/x-dxf are older registry spellings that some servers still send, while mainstream formats carry the current registered type.
  5. Confirm against your own server before deploying: nginx ships its mapping in mime.types, and the browser DevTools Network panel shows the Content-Type a response actually carried.

What the listed values are, and how far they reach

What changed in this revision

The table used to repeat rows that gave one extension two different values: .jpg, .png, .tif, .xls, .ppt, .vsd, .vst, .ico, .jpe, .ps, .eps, .mdb, .dwf and .pdf each appeared twice, and .tif three times. Each extension now appears once, and a row that listed the extension "." with the cut-off value application/x- was removed.

Values for widely used formats were corrected against the nginx mapping and the Python mimetypes database: .js, .mp3, .mp4, .svg, .bmp, .avi, .rtf, .xhtml and .m3u now read text/javascript, audio/mpeg, video/mp4, image/svg+xml, image/bmp, video/x-msvideo, application/rtf, application/xhtml+xml and audio/x-mpegurl. .class and .java showed the placeholder java/* and now read application/java-vm and text/x-java-source.

Extensions that were added

Forty-four extensions the older list never covered are now included, among them .json, .zip, .gz, .csv, .md, .docx, .xlsx, .pptx, .odt, .epub, .webp, .avif, .heic, .woff, .woff2, .wasm, .yaml and .webmanifest. Their values come from the nginx mime.types file and from Python's mimetypes database; where both were silent the IANA-registered type is used, as with text/markdown for .md, application/yaml for .yaml and .yml, and application/ld+json for .jsonld. The table lists 372 entries in total.

Historical entries from the old list were kept, because extensions such as .wk4 or .wq1 still appear in server logs and configuration files. Those rows show the spelling that was imported, so the x- prefixed values should be read as legacy.

How far a listed value goes

A Content-Type header is decided by the server, not by the file: the same .txt can be sent as text/plain or as application/octet-stream, depending on configuration, and a browser may ignore the header when it recognises the content itself.

Use the table for look-ups and for writing configuration, then check the response headers to see what is really sent. To inspect a file you already have, the MIME & File Signature Detector on this site reads its leading bytes and reports the likely type.

Recent tools: