Using Different MIME Types in cPanel

cPanel tutorials & how to guides
Tips and tricks on how to better optimize your cPanel

View different file extensions

Updated: January 19, 2023
By: RSH Web Editorial Staff

Contact Us

cPanel Version 108.0.15  -  Theme Version Jupiter

cPanel Tutorials MIME Types

cPanel - Advanced - MIME Types

MIME Types
• MIME stands for Multi-purpose Internet Mail Extensions
• MIME types form a standard way of classifying file types on the Internet
• MIME types relay information to the browser about how to view different file extensions and new file types as they become available
• Internet programs such as Web servers and browsers all have a list of MIME types, so that they can transfer files of the same type in the same way

MIME types

Create a MIME Type

To add a MIME type, perform the following steps:

1) Enter the name of the file type’s handler in the MIME Type text box.

    ◦ For example, application/cgi represents the handler for the .cgi file extension.

2) Enter the file extension in the Extension(s) text box.

    ◦ A file extension represents the letters after the dot (.) in a file name. For example, filename.fileextension.

3) Click Add.

Delete a user-defined MIME type

To delete a MIME type, click the corresponding Delete link under the Remove heading, and then click Delete MIME Type to confirm that you wish to remove the MIME type.

Note: You cannot delete MIME types from the System MIME Types table

MIME Type Examples

IANA is the official registry of MIME media types and maintains a list of official MIME types.
This table lists more common MIME types used on the:

ExtensionKind of documentMIME Type
.aacAAC audioaudio/aac
.abwAbiWord documentapplication/x-abiword
.arcArchive document (multiple files embedded)application/x-freearc
.avifAVIF imageimage/avif
.aviAVI: Audio Video Interleavevideo/x-msvideo
.azwAmazon Kindle eBook formatapplication/
.binAny kind of binary dataapplication/octet-stream
.bmpWindows OS/2 Bitmap Graphicsimage/bmp
.bzBZip archiveapplication/x-bzip
.bz2BZip2 archiveapplication/x-bzip2
.cdaCD audioapplication/x-cdf
.cshC-Shell scriptapplication/x-csh
.cssCascading Style Sheets (CSS)text/css
.csvComma-separated values (CSV)text/csv
.docMicrosoft Wordapplication/msword
.docxMicrosoft Word (OpenXML)application/vnd.openxmlformats-officedocument.wordprocessingml.document
.eotMS Embedded OpenType fontsapplication/
.epubElectronic publication (EPUB)application/epub+zip
.gzGZip Compressed Archiveapplication/gzip
.gifGraphics Interchange Format (GIF)image/gif
.htm, .htmlHyperText Markup Language (HTML)text/html
.icoIcon formatimage/
.icsiCalendar formattext/calendar
.jarJava Archive (JAR)application/java-archive
.jpeg, .jpgJPEG imagesimage/jpeg
.jsJavaScripttext/javascript HTML and RFC 9239
.jsonJSON formatapplication/json
.jsonldJSON-LD formatapplication/ld+json
.mid, .midiMusical Instrument Digital Interface (MIDI)audio/midi, audio/x-midi
.mjsJavaScript moduletext/javascript
.mp3MP3 audioaudio/mpeg
.mp4MP4 videovideo/mp4
.mpegMPEG Videovideo/mpeg
.mpkgApple Installer Packageapplication/
.odpOpenDocument presentation documentapplication/vnd.oasis.opendocument.presentation
.odsOpenDocument spreadsheet documentapplication/vnd.oasis.opendocument.spreadsheet
.odtOpenDocument text documentapplication/vnd.oasis.opendocument.text
.ogaOGG audioaudio/ogg
.ogvOGG videovideo/ogg
.opusOpus audioaudio/opus
.otfOpenType fontfont/otf
.pngPortable Network Graphicsimage/png
.pdfAdobe Portable Document Format (PDF)application/pdf
.phpHypertext Preprocessor (Personal Home Page)application/x-httpd-php
.pptMicrosoft PowerPointapplication/
.pptxMicrosoft PowerPoint (OpenXML)application/vnd.openxmlformats-officedocument.presentationml.presentation
.rarRAR archiveapplication/vnd.rar
.rtfRich Text Format (RTF)application/rtf
.shBourne shell scriptapplication/x-sh
.svgScalable Vector Graphics (SVG)image/svg+xml
.tarTape Archive (TAR)application/x-tar
.tif, .tiffTagged Image File Format (TIFF)image/tiff
.tsMPEG transport streamvideo/mp2t
.ttfTrueType Fontfont/ttf
.txtText, (generally ASCII or ISO 8859-n)text/plain
.vsdMicrosoft Visioapplication/vnd.visio
.wavWaveform Audio Formataudio/wav
.webaWEBM audioaudio/webm
.webmWEBM videovideo/webm
.webpWEBP imageimage/webp
.woffWeb Open Font Format (WOFF)font/woff
.woff2Web Open Font Format (WOFF)font/woff2
.xlsMicrosoft Excelapplication/
.xlsxMicrosoft Excel (OpenXML)application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xmlXMLapplication/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default.
.zipZIP archiveapplication/zip
.3gp3GPP audio/video containervideo/3gpp; audio/3gpp if it doesn't contain video
.3g23GPP2 audio/video containervideo/3gpp2; audio/3gpp2 if it doesn't contain video
.7z7-zip archiveapplication/x-7z-compressed

More about MIME types

Mozilla's list of most common MIME types

For more information, read cPanels Webmaster Toolkit list of MIME types.

You can also use your preferred search engine to research the MIME type that you wish to add.

Related cPanel Tutorials and How To Guides
Regular updates, maintenance improvements and security measures

Tweet  Share  Pin  Email

We welcome your comments, questions, corrections and additional information relating to this article. Please be aware that off-topic comments will be deleted.
If you need specific help with your account, feel free to contact us anytime
Thank you

More Articles Of Interest

As the leading provider of cPanel hosting solutions, RSH Web Services provides a full range of hosting products for any business, personal or professional website. From domain name registration to high security and easy management