Skip to main content.

Web Based Programming Tutorials

Homepage | Forum - Join the forum to discuss anything related to programming! | Programming Resources

Teach Yourself Web Publishing with HTML 3.2 in 14 Days

Appendix E -- MIME Types and File Extensions

Appendix E

MIME Types and File Extensions

Table E.1 lists the file extensions and MIME Content-types supported by many popular Web servers. If your server does not list an extension for a particular content-type or if the type you want to use is not listed at all, you will have to add support for that type to your server configuration.

Table E.1. MIME types and HTTPD support.

MIME TypeWhat It Is (If Noted) File Extensions
application/acad AutoCAD Drawing filesdwg, DWG
application/arj  arj
application/clariscad ClarisCAD filesccAD
application/drafting MATRA Prelude draftingDRW
application/dxf DXF (AutoCAD)dxf, DXF
application/excel Microsoft Excelxl
application/i-deas SDRC I-DEAS filesunv, UNV
application/iges IGES graphics formatigs, iges, IGS, IGES
application/mac-binhex40 Macintosh BinHex formathqx
application/msword Microsoft Wordword, w6w, doc
application/mswrite Microsoft Writewri
application/octet-stream Uninterpreted binarybin
application/oda  oda
application/pdf PDF (Adobe Acrobat)pdf
application/postscript PostScriptai, PS, ps, eps
application/pro_eng PTC Pro/ENGINEERprt, PRT, part
application/rtf Rich Text Formatrtf
application/set SET (French CAD standard)set, SET
application/sla Stereolithographystl, STL
application/solids MATRA Prelude SolidsSOL
application/STEP ISO-10303 STEP data filesstp, STP, step, STEP
application/vda VDA-FS Surface datavda, VDA
application/x-director Macromedia Directordir, dcr, dxr
application/x-mif FrameMaker MIF Formatmif
application/x-csh C-shell scriptcsh
application/x-dvi TeX DVI dvi
application/x-gzip GNU Zipgz, gzip
application/x-hdf ncSA HDF Data Filehdf
application/x-latex LaTeX sourcelatex
application/x-netcdf Unidata netCDFnc,cdf
application/x-sh Bourne shell scriptsh
application/x-stuffit Stiffut Archivesit
application/x-tcl TCL scripttcl
application/x-tex TeX sourcetex
application/x-texinfo Texinfo (Emacs)texinfo,texi
application/x-troff Trofft, tr, roff
application/x-troff-man Troff with MAN macrosman
application/x-troff-me Troff with ME macrosme
application/x-troff-ms Troff with MS macrosms
application/x-wais-source WAIS sourcesrc
application/x-bcpio Old binary CPIObcpio
application/x-cpio POSIX CPIOcpio
application/x-gtar GNU targtar
application/x-shar Shell archiveshar
application/x-sv4cpio SVR4 CPIOsv4cpio
application/x-sv4crc SVR4 CPIO with CRCsv4crc
application/x-tar 4.3BSD tar formattar
application/x-ustar POSIX tar formatustar
application/x-winhelp Windows Helphlp
application/zip ZIP archivezip
audio/basic Basic audio (usually m-law) au, snd
audio/x-aiff AIFF audioaif, aiff, aifc
audio/x-pn-realaudio RealAudiora, ram
audio/x-pn-realaudio-plugin RealAudio (plug-in)rpm
audio/x-wav Windows WAVE audiowav
image/gif GIF imagegif
image/ief Image Exchange Formatief
image/jpeg JPEG imagejpg, JPG, JPE, jpe, JPEG, jpeg
image/pict Macintosh PICTpict
image/tiff TIFF imagetiff, tif
image/x-cmu-raster CMU raster ras
image/x-portable-anymap PBM Anymap formatpnm
image/x-portable-bitmap PBM Bitmap formatpbm
image/x-portable-graymap PBM Graymap formatpgm
image/x-portable-pixmap PBM Pixmap formatppm
image/x-rgb RGB Imagergb
image/x-xbitmap X Bitmapxbm
image/x-xpixmap X Pixmapxpm
image/x-xwindowdump X Windows dump (xwd) formatxwd
multipart/x-zip PKZIP Archivezip
multipart/x-gzip GNU ZIP Archivegzip
text/html HTMLhtml, htm
text/plain Plain texttxt, g, h, C, cc, hh, m, f90
text/richtext MIME Richtextrtx
text/tab-separated-values Text with tab-separated valuestsv
text/x-setext Struct enhanced textetx
video/mpeg MPEG videompeg, mpg, MPG, MPE, mpe, MPEG, mpeg
video/quicktime QuickTime Videoqt, mov
video/msvideo Microsoft Windows Videoavi
video/x-sgi-movie SGI Movieplayer formatmovie
x-world/x-vrml VRML Worldswrl