Below is a list of mime-types I come across most often. Suggest others that should be a part of the list by leaving a comment below. You can also view my article on finding the mime-type of a file by check out my article on PHP Function To Get File Mime Type.

Text

PHP – text/html
HTML – text/html
HTM – text/html
CSS – text/css

Multipart

Application

PDF – application/pdf
ZIP – application/zip
JAVASCRIPT – application/javascript

Image

GIF – image/gif
JPEG – image/jpg
JPG – image/jpg
PNG – image/png

Video

MPEG-1 – video/mpeg
MP4 Video – video/mp4
Quicktime – video/quicktime
WMV – video/x-ms-wmv
3GP – video/3gpp

Audio

MP3 – audio/mpeg
MP4 – audio/mp4
Ogg Vorbis – audio/ogg

Leave A Comment