Valid file and Mime types e.g XLSM, xls, txt, json

3 min read

list of mime types

Extension Mime Type Description
DOC

application/msword

Word (old)

DOT

application/msword

Word (old)

DOCX

application/vnd.openxmlformats-officedocument.wordprocessingml.document

Word (new)

DOCM

application/vnd.ms-word.document.macroEnabled.12

Word (new macro)

DOTX

application/vnd.openxmlformats-officedocument.wordprocessingml.template

Word (new template)

DOTM

application/vnd.ms-word.template.macroEnabled.12

Word (new macro template)

XLS

application/vnd.ms-excel

Excel (old)

XLT

application/vnd.ms-excel

Excel (old)

XLSM

application/vnd.ms-excel.sheet.macroEnabled.12

Excel (new macro)

XLTM

application/vnd.ms-excel.template.macroEnabled.12

Excel (new macro template)

XLSB

application/vnd.ms-excel.sheet.binary.macroEnabled.12

Excel (new binary)

XLSX

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Excel (new)

XLTX

application/vnd.openxmlformats-officedocument.spreadsheetml.template

Excel (new template)

PPT

application/vnd.ms-powerpoint

PowerPoint (old)

POT

application/vnd.ms-powerpoint

PowerPoint (old)

PPTX

application/vnd.openxmlformats-officedocument.presentationml.presentation

PowerPoint (new)

PPTM

application/vnd.ms-powerpoint.presentation.macroEnabled.12

PowerPoint (new macro)

POTX

application/vnd.openxmlformats-officedocument.presentationml.template

PowerPoint (new template)

POTM

application/vnd.ms-powerpoint.template.macroEnabled.12

PowerPoint (new macro template)

PUB

application/x-mspublisher, application/vnd.ms-publisher

Publisher

MPP

application/vnd.ms-project

Project

VSD

application/vnd.visio2013, application/vnd.visio, application/vnd.ms-visio.viewer

Visio (old)

VST

application/vnd.visio2013, application/vnd.visio, application/vnd.ms-visio.viewer

Visio (old)

VSDX

application/vnd.visio2013, application/vnd.visio, application/vnd.ms-visio.viewer

Visio (new)

VSDM

application/vnd.visio2013, application/vnd.visio, application/vnd.ms-visio.viewer

Visio (new macro)

VSTX

application/vnd.visio2013, application/vnd.visio, application/vnd.ms-visio.viewer

Visio (new template)

VSTM

application/vnd.visio2013, application/vnd.visio, application/vnd.ms-visio.viewer

Visio (new macro template)

ODT

application/vnd.oasis.opendocument.text

Text

OTT

application/vnd.oasis.opendocument.text-template

Text (template)

ODS

application/vnd.oasis.opendocument.spreadsheet

Spreadsheet

OTS

application/vnd.oasis.opendocument.spreadsheet-template

Spreadsheet (template)

ODP

application/vnd.oasis.opendocument.presentation

Presentation

OTP

application/vnd.oasis.opendocument.presentation-template

Presentation (template)

ODG

application/vnd.oasis.opendocument.graphics

Graphics

OTG

application/vnd.oasis.opendocument.graphics-template

Graphics (template)

PDF

application/pdf

PDF

XPS

application/vnd.ms-xpsdocument

XPS

TXT

text/plain

Text

HTM

text/html

HTML

HTML

text/html

HTML

XML

application/xml, text/xml

XML

CSV

text/csv, application/vnd.ms-excel

CSV

RTF

text/rtf, application/msword

RTF

EML

message/rfc822

Email

JPG

image/jpeg

JPEG

JPEG

image/jpeg

JPEG

PNG

image/png

PNG

TIF

image/tiff

TIFF

TIFF

image/tiff

TIFF

ZIP

application/zip, application/x-zip-compressed

Zip

 

A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg , or an image file image/png ).

What is mime and its types?

Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email messages to support text in character sets other than ASCII, as well as attachments of audio, video, images, and application programs.

What is the difference between file extension and MIME type?

File extensions are hints as to the kind of data the file contains. MIME types are labels for the kind of data in a file. One file extension maps to at most one MIME type

File extensions and mime types of previewed files

These types of files that contain structured data have previews:

Structured data files
Extension Mime type
AVRO  
CSV text/csv
CSV1 application/csv
JSON application/json
PARQ  
TSV  
TXT text/plain
XLSX application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
XLS application/vnd.ms-excel
XLSM application/vnd.ms-excel.sheet.macroEnabled.12


These types of image files have previews:

Image files
Extension Mime type
BMP image/bmp
GIF image/gif
JPG image/jpeg
JPEG image/jpeg
PNG image/png


These types of document files have previews:

Document files
Extension Mime type
HTML text/html
PDF application/pdf
TXT text/plain
Popular Posts
01
Everything You Need to Know About Wells Fargo in Kenya

Everything You Need to Know About Wells Fargo in Kenya

Getting Started
02
Laravel 10 - Complete Property Listing Project Guide

Laravel 10 - Complete Property Listing Project Guide

Getting Started
03
The 'A' Finder Biology Revision Book: Your Ultimate Exam Guide

The 'A' Finder Biology Revision Book: Your Ultimate Exam Guide

Getting Started
04
Ultimate Guide to Package Tracking: UPS, USPS, and FedEx

Ultimate Guide to Package Tracking: UPS, USPS, and FedEx

Getting Started
05
Overview of Nursing Training Institutions in Kenya

Overview of Nursing Training Institutions in Kenya

Getting Started
06
All KMTC Nursing Colleges for Certificate and Diploma Courses in Kenya

All KMTC Nursing Colleges for Certificate and Diploma Courses in Kenya

Getting Started