MIME (Multipurpose Internet Mail Extensions)
MIME (Multipurpose Internet Mail Extensions) とは電子メールでテキスト以外のデータ形式を扱う仕組みです。HTMLでも利用されています。この記事では、MIMEタイプの一覧をご紹介します。
MIMEタイプの一覧
- application
- atom+xml
- ecmascript
- feed+json
- javascript
- json
- msword
- octet-stream
- pdf
- rss+xml
- soap+xml
- x-httpd-cgi
- x-sh
- x-www-form-urlencoded
- xhtml+xml
- xml-dtd
- xslt+xml
- audio
- mpeg
- image
- avif
- gif
- jpeg
- png
- svg+xml
- vnd.microsoft.icon
- webp
- x-icon
- multipart
- form-data
- text
- css
- csv
- ecmascript
- html
- javascript
- plain
- vbscript
- xml
- xsl
- video
- mpeg
MIMEタイプには次のようなものがあります。
- application/atom+xml
- Atom
- application/ecmascript
- かつては ECMAScript だったが、もはや使われていない。現在は text/javascript になっている。
- application/feed+json
- JSON Feed
- application/javascript
- かつては JavaScript だったが、もはや使われていない。現在は text/javascript になっている。
- application/json
- JSON
- application/msword
- Microsoft Word 文書
- application/octet-stream
- バイナリデータ
- application/pdf
- PDF
- application/rss+xml
- RSS
- application/soap+xml
- SOAPメッセージ
- application/x-httpd-cgi
- CGI スクリプト
- application/x-sh
- Bシェルスクリプト
- application/x-www-form-urlencoded
- HTTPのPOSTメソッドによるフォームデータの送信
- application/xhtml+xml
- XHTML文書
- application/xml-dtd
- Document Type Definition (DTD)
- application/xslt+xml
- XSL Transformations (XSLT)
- audio/mpeg
- MP3 音声
- image/avif
- AVIF (AV1 Image File Format) 形式の画像
- image/gif
- GIF (Graphics Interchange Format) 形式の画像
- image/jpeg
- JPEG (Joint Photographic Expert Group image) 形式の画像
- image/png
- PNG (Portable Network Graphics) 形式の画像
- image/svg+xml
- SVG (Scalable Vector Graphics) 形式の画像
- image/vnd.microsoft.icon
- アイコンファイル(*.ico)
- image/webp
- WebP (Web Picture format) 形式の画像
- image/x-icon
- アイコンファイル(*.ico)
正式なMIMEタイプではなく、「image/vnd.microsoft.icon」がIANAへ登録される前に独自拡張されたMIMEタイプ。
- multipart/form-data
- HTTPのPOSTメソッドによるフォームデータの送信(ファイルのアップロードを伴う場合)
- text/css
- CSS (Cascading Style Sheet) テキスト
- text/csv
- CSV (Comma Separated Value) 形式のテキスト
- text/ecmascript
- かつては ECMAScript だったが、もはや使われていない。現在は text/javascript になっている。
- text/html
- HTML 形式のテキスト
- text/javascript
- JavaScript
- text/plain
- プレーン(通常の)テキスト
- text/vbscript
- VBScript
- text/xml
- XML 形式のテキスト
- text/xsl
- XSLスタイルシート 形式のテキスト
- video/mpeg
- MPEG 動画
参考文献
Internet Assigned Numbers Authority (2022) Media Types
Internet Engineering Task Force (2006) RFC 4329: Scripting Media Types
Internet Engineering Task Force (2022) RFC 9239: Updates to ECMAScript Media Types