The correct MIME type for doc xlsx, pptx, etc

MIME is the abbreviation of Multipurpose Internet Mail Extension, allowing files to be sent over the internet. This format allows users to send and receive spreadsheets and other documents via internet mail. This article shall discuss various correct MIME types of various extensions.

MIME types for Excel documents

Excel documents can be viewed via the internet by converting the data to MIME format. In Excel, there are various extensions, and these extensions have various MIME types. The mime type format is usually divided into two sections using the slash (/) operator.

Some of the MIME types used in excel are shown below, along with their extensions

Extensions

MIME Types

.xls application/vnd.ms-excel
.xlsx application/vnd.openxmlformatsofficedocument.spreadsheetml.sheet
.xltx application/vnd.openxmlformatsofficedocument.spreadsheetml.template
.xlsm application/vnd.ms-excel.sheet.macroEnabled.12
.xltm application/vnd.ms-excel.template.macroEnabled.12
.xlam application/vnd.ms-excel.addin.macroEnabled.12
.xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12

.xls .xls is an extension found in Microsoft Excel spreadsheet 2003. The MIME type supported by these extensions is application/vnd.ms-excel.

Note: Excel 2007 supports this extension .xls.

.xlsx This is the latest extension in Excel. It is found in excel 2007 and other latest versions of excel. If you create a document in Excel 2007, it is saved with an extension of .xlsx.

.xltx This is an extension used with Microsoft excel templates. The MIME format that supports this extension is the application/vnd.openxmlformats-office document. spreadsheet my.template.

.xlsm This is an excel document that has macro-enabled. The last "m" shows that the file contains macros.

.xlam, this extension indicates the file has an Excel macro-Enabled Add-in data.

.xlsb this is an extension for the Excel Binary Workbook file.

MIME-type for Word Document

Some of the MIME formats used with word document extensions are:

Extensions

MIME Types

.doc

application/msword

.docx

application/vnd.openxmlformatsofficedocument.wordprocessingml.document

.eot

application/vnd.msfontobject

.doc – This extension is used for saving Microsoft word files.

.docx- It is an extension that uses Microsoft documents with OpenXml.

.eot- It is an extension used in Microsoft Embedded Open Type fonts.

MIME-type for PowerPoint

There are two main extensions in PowerPoint; each of these extensions has its MIME type.

.pptx – application/vnd.openxmlformats-officedocument.presentationml.pr

.ppt –application/vnd.ms-powerpoint

Other MIME types are:

Extension

MIME Type

csv text/csv
cpt
 application/mac-compactpro
wmlc
 application/vnd.wap.wmlc
cgm
 image/cgm
I

ce
 x-conference/x-cooltalk

cmx

 image/x-cmx

xar

 application/vnd.xara

cmc

 application/vnd.cosmocaller

cpio

 application/x-cpio

clkx

 application/vnd.crick.clicker

clkk

 application/vnd.crick.clicker.keyboard

clkp

 application/vnd.crick.clicker.palette

clkt

 application/vnd.crick.clicker.template

clkw

 application/vnd.crick.clicker.wordbank

wbs

 application/vnd.criticaltools.wbs+xml

cryptonote

 application/vnd.rig.cryptonote

C

if
 chemical/x-cif

cmdf

 chemical/x-cmdf

C

u
 application/cu-seeme

cww

 application/prs.cww

curl

 text/vnd.curl

dcurl

 text/vnd.curl.dcurl

mcurl

 text/vnd.curl.mcurl

scurl

 text/vnd.curl.scurl

car

 application/vnd.curl.car

pcurl

 application/vnd.curl.pcurl

cmp

 application/vnd.yellowriver-custom-menu

dssc

 application/dssc+der

xdssc

 application/dssc+xml

deb

 application/x-debian-package

uva

 audio/vnd.dece.audio

uvi

 image/vnd.dece.graphic

uvh

 video/vnd.dece.hd

uvm

 video/vnd.dece.mobile

uvu

 video/vnd.uvvu.mp4

uvp

 video/vnd.dece.pd

uvs

 video/vnd.dece.sd

uvv

 video/vnd.dece.video

dvi

 application/x-dvi

seed

 application/vnd.fdsn.seed

dtb

 application/x-dtbook+xml

res

 application/x-dtbresource+xml

ait

 application/vnd.dvb.ait

svc

 application/vnd.dvb.service

eol

 audio/vnd.digital-winds

djvu

 image/vnd.djvu

dtd

 application/xml-dtd

mlp

 application/vnd.dolby.mlp

wad

 application/x-doom

dpg

 application/vnd.dpgraph

dra

 audio/vnd.dra

dfac

 application/vnd.dreamfactory

dts

 audio/vnd.dts

dtshd

 audio/vnd.dts.hd

dwg

 image/vnd.dwg

geo

 application/vnd.dynageo

es

 application/ecmascript

mag

 application/vnd.ecowin.chart

mmr

 image/vnd.fujixerox.edmics-mmr

rlc

 image/vnd.fujixerox.edmics-rlc

exi

 application/exi

mgz

 application/vnd.proteus.magazine

epub

 application/epub+zip

eml

 message/rfc822

nml

 application/vnd.enliven

xpr

 application/vnd.is-xpr

xif

 image/vnd.xiff

xfdl

 application/vnd.xfdl

emma

 application/emma+xml

ez2

 application/vnd.ezpix-album

ez3

 application/vnd.ezpix-package

fst

 image/vnd.fst

fvt

 video/vnd.fvt

fbs

 image/vnd.fastbidsheet

fe_launch

 application/vnd.denovo.fcselayout-link

f4v

 video/x-f4v

flv

 video/x-flv

fpx

 image/vnd.fpx

npx

 image/vnd.net-fpx

flx

 text/vnd.fmi.flexstor

fli

 video/x-fli

ftc

 application/vnd.fluxtime.clip

fdf

 application/vnd.fdf

f

 text/x-fortran

mif

 application/vnd.mif

fm

 application/vnd.framemaker

fh

 image/x-freehand

fsc

 application/vnd.fsc.weblaunch

fnc

 application/vnd.frogans.fnc

ltf

 application/vnd.frogans.ltf

ddd

 application/vnd.fujixerox.ddd

xdw

 application/vnd.fujixerox.docuworks

xbd

 application/vnd.fujixerox.docuworks.binder

oas

 application/vnd.fujitsu.oasys

oa2

 application/vnd.fujitsu.oasys2

oa3

 application/vnd.fujitsu.oasys3

fg5

 application/vnd.fujitsu.oasysgp

bh2

 application/vnd.fujitsu.oasysprs

spl

 application/x-futuresplash

fzs

 application/vnd.fuzzysheet