Pages

Thursday, November 22, 2012

A list of Mime Types

Following is a list of mime types of most used file types. I wish I had found this earlier
ExtensionMime TypesFile Types
Audio formats
.sndaudio/basicSun/NeXT audio format
.auaudio/basicSun/NeXT audio format
.aiffaudio/x-aiffApple audio format
.aifcaudio/x-aiffApple audio format
.aifaudio/x-aiffApple audio format
.wavaudio/x-wavWindows WAV format
.midaudio/midWindows MIDI format
.rmiaudio/midWindows MIDI format
Image formats
.bmpimage/bmpWindows bitmap format
.gifimage/gifGIF
.iefimage/iefImage Exchange format
.jpgimage/jpegJPEG
.jpeimage/jpegJPEG
.jpegimage/jpegJPEG
.tifimage/tiffTIFF
.tiffimage/tiffTIFF
.rasimage/cmu-rasterCMU raster format
.pngimage/pngPNG
.pnmimage/x-portable-anymapPBM Anymap format
.pbmimage/x-portable-bitmapPBM Pixmap format
.pgmimage/x-portable-graymapPBM Graymap format
.ppmimage/x-portable-pixmapPBM Pixmap format
.rgbimage/x-rgbRGB format
.xbmimage/x-xbitmap7bit-X bitmap
.xpmimage/x-xpixmapX pixmap format
.xwdimage/x-xwindowdumpX window dump (xwd)
.cmximage/x-cmxCorel CMX format
.icoimage/x-iconX-Icon format
Video formats
.mpgvideo/mpegMPEG
.mpevideo/mpegMPEG
.mpegvideo/mpegMPEG
.qtvideo/quicktimeQuickTime
.movvideo/quicktimeQuickTime
.avivideo/aviMS Video for Windows
.movievideo/x-sgi-movieSGImovieplayer
.asfvideo/x-ms-asfMS Active streaming format
.asxvideo/x-ms-asfMS Active streaming format
.vdovideo/x-vdoliveVDOLive script
Message formats
.emlmessage/rfc822Outlook Mail Message
.mhtmessage/rfc822Mail Message
.mhtmlmessage/rfc822Mail Message
Text formats
.htmltext/html8bit-HTML
.htmtext/html8bit-HTML variant
.htmlstext/html8bit-HTML w/ Server-side includes
.shtmltext/html8bit-HTML w/ Server-side includes
.csstext/css8bit-Cascading Style Sheet
.xmltext/xml8bit-XML
.htctext/x-component8bit-HTML component
.ctext/plain7bit-C source
.htext/plain7bit-C headers
.cctext/plain7bit-C++ source
.cpptext/plain7bit-C++ source
.cxxtext/plain7bit-C++ source
.hhtext/plain7bit-C++ headers
.hxxtext/plain7bit-C++ headers
.mtext/plain7bit-Objective-C source
.f90text/plain7bit-Fortran 90 source
.txttext/plain7bit-Plain text
.rtxtext/richtext7bit-MIME Richtext format
.tsvtext/tab-separated-values7bit-Tab-separated values
.etxtext/x-setext7bit-Structure Enhanced Text
.fortext/plain7bit-Fortran
.martext/plain7bit-MACRO
.logtext/plain7bit-logfiles9
.comtext/plain7bit-scripts
.sdmltext/plain7bit-SDML
.listtext/plain7bit-listfiles
.lsttext/plain7bit-listfiles
.deftext/plain7bit-definition files
.conftext/plain7bit-definition files
.cnftext/plain7bit-definition files
.vcftext/x-vcard7bit-VCard
.manifesttext/cache-manifest7bit-manifest file
Compressed file formats
.gz application/x-gzipGNU Zip
.zipapplication/x-zipPKZIP
.tarapplication/x-tar4.3BSD tar
.ustarapplication/x-ustarPOSIX tar
Lotus application formats
.123application/vnd.lotus-1-2-3Lotus 1-2-3 97
.wk4application/vnd.lotus-1-2-3Lotus 1-2-3 97
.wk3application/vnd.lotus-1-2-3Lotus 1-2-3 97
.wk1application/vnd.lotus-1-2-3Lotus 1-2-3 97
.wksapplication/vnd.lotus-1-2-3Lotus 1-2-3 97
.scmapplication/vnd.lotus-screencamLotus ScreenCam Movie
.lwpapplication/vnd.lotus-wordproLotus Freelance 97
.samapplication/vnd.lotus-wordproLotus Freelance 97
.przapplication/vnd.lotus-freelanceLotus Freelance 97
.preapplication/vnd.lotus-freelanceLotus Freelance 97
.impapplication/vnd.lotus-improvLotus Improv
.odtapplication/vnd.oasis.opendocument.textLotus Symphony OpenDocument Text
.odpapplication/vnd.oasis.opendocument.presentationLotus Symphony OpenDocument Presentation
.odsapplication/vnd.oasis.opendocument.spreadsheetLotus Symphony Opendocument Spreadsheet
Microsoft application formats
.docapplication/mswordMicrosoft Word
.dotapplication/mswordMicrosoft Word
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotxapplication/vnd.openxmlformats-officedocument.wordprocessingml.template
.docmapplication/vnd.ms-word.document.macroEnabled.12
.dotmapplication/vnd.ms-word.template.macroEnabled.12
.pubapplication/x-mspublisherMicrosoft Publisher
.mppapplication/vnd.ms-projectMicrosoft Project
.potapplication/vnd.ms-powerpointMicrosoft Powerpoint
.pptapplication/vnd.ms-powerpointMicrosoft Powerpoint
.ppsapplication/vnd.ms-powerpointMicrosoft Powerpoint
.ppaapplication/vnd.ms-powerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.potxapplication/vnd.openxmlformats-officedocument.presentationml.template
.ppsxapplication/vnd.openxmlformats-officedocument.presentationml.slideshow
.ppamapplication/vnd.ms-powerpoint.addin.macroEnabled.12
.pptmapplication/vnd.ms-powerpoint.presentation.macroEnabled.12
.potmapplication/vnd.ms-powerpoint.presentation.macroEnabled.12
.ppsmapplication/vnd.ms-powerpoint.slideshow.macroEnabled.12
.scdapplication/vnd.ms-scheduleMicrosoft Schedule
.wcmapplication/vnd.ms-worksMicrosoft Works
.wdbapplication/vnd.ms-worksMicrosoft Works
.wpsapplication/vnd.ms-worksMicrosoft Works
.wriapplication/x-mswriteMicrosoft Write
.xlaapplication/vnd.ms-excelMicrosoft Excel
.xlcapplication/vnd.ms-excelMicrosoft Excel
.xlmapplication/vnd.ms-excelMicrosoft Excel
.xlsapplication/vnd.ms-excelMicrosoft Excel
.xltapplication/vnd.ms-excelMicrosoft Excel
.xlwapplication/vnd.ms-excelMicrosoft Excel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltxapplication/vnd.openxmlformats-officedocument.spreadsheetml.template
.xlsmapplication/vnd.ms-excel.sheet.macroEnabled.12
.xltmapplication/vnd.ms-excel.template.macroEnabled.12
.xlamapplication/vnd.ms-excel.addin.macroEnabled.12
.xlsbapplication/vnd.ms-excel.sheet.binary.macroEnabled.12
Macromedia formats
.dcrapplication/x-directorShockwave for Director
.dirapplication/x-directorShockwave for Director
.dxrapplication/x-directorShockwave for Director
.swfapplication/x-shockwave-flashShockwave Flash
.splapplication/futuresplashFuture Splash Animator
RealAudio formats
.rmapplication/vnd.rn-realmediaRealPlayer
.rpmaudio/x-pn-realaudio-pluginRealAudio plug-in
.raaudio/x-pn-realaudioRealPlayer
.ramaudio/x-pn-realaudioRealPlayer
.rvvideo/vnd.rn-realvideoRealPlayer
VRML formats
.wrlx-world/x-vrmlVRML
.wrzx-world/x-vrmlVRML
.xafx-world/x-vrmlVRML
.xofx-world/x-vrmlVRML
Other application formats
.cdfapplication/x-cdfChannel file
.323application/h323H.323 Internet Telephony
.jsapplication/x-javascriptJavaScript
.classapplication/octet-streamJava class file
.binapplication/octet-streamUninterpreted binary
.wp5application/wordperfect5.1WordPerfect
.odaapplication/odaOpen Document Architecture
.pdfapplication/pdfAdobe Acrobat
.aiapplication/postscript8bit-Adobe Illustrator
.epsapplication/postscript8bit-Encapulated PostScript
.psapplication/postscript8bit-PostScript
.rtfapplication/x-rtf7bit-RTF
.cshapplication/x-csh7bit-C-shell script
.dviapplication/x-dviTeX DVI
.hdfapplication/x-hdfNCSA HDF data file
.latexapplication/x-latex8bit-LaTeX source
.ncapplication/x-netcdfUnidata netCDF data
.shapplication/x-sh7bit-Shell-script
.tclapplication/x-tcl7bit-TCL-script
.texapplication/x-tex8bit-TeX source
.texiapplication/x-texinfo7bit-Texinfo
.texinfoapplication/x-texinfo7bit-Texinfo
.tapplication/x-troff7bit-Troff
.roffapplication/x-troff7bit-Troff
.trapplication/x-troff7bit-Troff
.manapplication/x-troff-man7bit-Troff with man macros
.meapplication/x-troff-me7bit-Troff with me macros
.msapplication/x-troff-ms7bit-Troff with ms macros
.srcapplication/x-wais-source7bitWAIS source
.bcpioapplication/x-bcpioOld binary CPIO
.cpioapplication/x-cpioPOSIX CPIO
.gtarapplication/x-gtarGnu tar
.sharapplication/x-shar8bit-Shell archive
.sv4cpioapplication/x-sv4cpioSVR4 CPIO
.sv4crcapplication/x-sv4crcSVR4 CPIO with CRC
.icex-conference/x-cooltalkCooltalk
.rrfapplication/x-InstallFromWebInstallFromTheWeb
.wisapplication/x-InstallFromWebInstallFromTheWeb plug-in
.jnlpapplication/x-java-jnlp-fileJava Web Start
.crlapplication/pkix-crlCertificate Revocation List
Hope this helps :)


No comments:

Post a Comment