How to Add a Custom MIME Type in cPanel

Overview

MIME types (Multipurpose Internet Mail Extensions) inform web browsers how to handle different file types when downloading or rendering them. Sometimes, you may need to define a custom MIME type for specific file extensions that aren't already recognized. This is useful when working with new file formats or proprietary technologies.

Note
Before adding any new MIME types, check the list of existing ones. Creating unnecessary or incorrect MIME types may affect how your website behaves and could cause compatibility issues.
You cannot delete default system MIME types.

What is a MIME Type?

A MIME type tells the browser what kind of content it’s dealing with and how it should be processed. For example, application/pdf tells the browser the file is a PDF and should be opened in a compatible viewer.

How to Add a Custom MIME Type

  1. Log in to your cPanel account.
  2. In the ADVANCED section, click on MIME Types.
  3. Under Create A MIME Type:
    • In the MIME Type field, enter the desired type. Example: application/pdf.
    • In the Extension(s) field, enter the file extension(s). Example: mypdf.
  4. Click Add.

How to Delete a Custom MIME Type

  1. In the MIME Types section, locate the type you want to remove.
  2. Click the Delete link next to it.
  3. Confirm by clicking Delete MIME Type.
Share this:
FacebookTwitterWhatsAppViberCopy LinkTelegramLinkedIn
Updated on May 12, 2025
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support