Skip to main content

MIME/Media/Content Type

Internet media type#

A media type (formerly known as MIME type) is a two-part identifier for file formats and format contents transmitted on the Internet.
As an example, an HTML file might be designated text/html; charset=UTF-8. In this example, text is the type, html is the subtype, and charset=UTF-8 is an optional parameter indicating the character encoding.

Content type example#

  • application/x-executable
  • application/graphql
  • application/javascript
  • application/json
  • application/ld+json
  • application/msword (.doc)
  • application/pdf
  • application/sql
  • application/xml
  • application/zip
  • audio/mpeg
  • audio/ogg
  • image/apng
  • image/gif
  • image/jpeg (.jpg, .jpeg, .jfif, .pjpeg, .pjp)
  • image/png
  • image/svg+xml (.svg)
  • image/webp
  • multipart/form-data
  • text/css
  • text/csv
  • text/html
  • text/php
  • text/plain
  • text/xml

Mailcap#

Mailcap (derived from the phrase "mail capability") is a type of meta file used to configure how MIME-aware applications such as mail clients and web browsers render files of different MIME-types.