Häufige Medientypen

Dieses Thema listet die häufigsten MIME-Typen mit den entsprechenden Dokumenttypen auf, geordnet nach ihren üblichen Erweiterungen.

Die folgenden zwei wichtigen MIME-Typen sind die Standardtypen:

  • text/plain ist der Standardwert für Textdateien. Eine Textdatei sollte von Menschen lesbar sein und darf keine Binärdaten enthalten.
  • application/octet-stream ist der Standardwert für alle anderen Fälle. Ein unbekannter Dateityp sollte diesen Typ verwenden. Browser sind besonders vorsichtig, wenn sie mit diesen Dateien umgehen, um Nutzer vor Softwareschwachstellen und möglichem gefährlichen Verhalten zu schützen.

IANA ist das offizielle Register der MIME-Mediendateitypen und pflegt eine Liste aller offiziellen MIME-Typen. Diese Tabelle listet wichtige MIME-Typen für das Web auf:

Erweiterung Art des Dokuments MIME-Typ
.aac AAC-Audio audio/aac
.abw AbiWord-Dokument application/x-abiword
.apng Animated Portable Network Graphics (APNG)-Bild image/apng
.arc Archivdokument (mehrere Dateien eingebettet) application/x-freearc
.avif AVIF-Bild image/avif
.avi AVI: Audio Video Interleave video/x-msvideo
.azw Amazon Kindle eBook-Format application/vnd.amazon.ebook
.bin Jede Art von Binärdaten application/octet-stream
.bmp Windows OS/2 Bitmap-Grafiken image/bmp
.bz BZip-Archiv application/x-bzip
.bz2 BZip2-Archiv application/x-bzip2
.cda CD-Audio application/x-cdf
.csh C-Shell-Skript application/x-csh
.css Cascading Style Sheets (CSS) text/css
.csv Kommagetrennte Werte (CSV) text/csv
.doc Microsoft Word application/msword
.docx Microsoft Word (OpenXML) application/vnd.openxmlformats-officedocument.wordprocessingml.document
.eot MS Embedded OpenType-Schriften application/vnd.ms-fontobject
.epub Elektronische Publikation (EPUB) application/epub+zip
.gz GZip-komprimiertes Archiv application/gzip. Beachten Sie, dass Windows und macOS .gz-Dateien mit dem nicht standardisierten MIME-Typ application/x-gzip hochladen.
.gif Graphics Interchange Format (GIF) image/gif
.htm, .html HyperText Markup Language (HTML) text/html
.ico Icon-Format image/vnd.microsoft.icon
.ics iCalendar-Format text/calendar
.jar Java-Archiv (JAR) application/java-archive
.jpeg, .jpg JPEG-Bilder image/jpeg
.js JavaScript text/javascript (Spezifikationen: HTML und RFC 9239)
.json JSON-Format application/json
.jsonld JSON-LD-Format application/ld+json
.md Markdown text/markdown
.mid, .midi Musical Instrument Digital Interface (MIDI) audio/midi, audio/x-midi
.mjs JavaScript-Modul text/javascript
.mp3 MP3-Audio audio/mpeg
.mp4 MP4-Video video/mp4
.mpeg MPEG-Video video/mpeg
.mpkg Apple Installer-Paket application/vnd.apple.installer+xml
.odp OpenDocument-Präsentationsdokument application/vnd.oasis.opendocument.presentation
.ods OpenDocument-Tabellendokument application/vnd.oasis.opendocument.spreadsheet
.odt OpenDocument-Textdokument application/vnd.oasis.opendocument.text
.oga Ogg-Audio audio/ogg
.ogv Ogg-Video video/ogg
.ogx Ogg application/ogg
.opus Opus-Audio im Ogg-Container audio/ogg
.otf OpenType-Schriftart font/otf
.png Portable Network Graphics image/png
.pdf Adobe Portable Document Format (PDF) application/pdf
.php Hypertext Preprocessor (Personal Home Page) application/x-httpd-php
.ppt Microsoft PowerPoint application/vnd.ms-powerpoint
.pptx Microsoft PowerPoint (OpenXML) application/vnd.openxmlformats-officedocument.presentationml.presentation
.rar RAR-Archiv application/vnd.rar
.rtf Rich Text Format (RTF) application/rtf
.sh Bourne-Shell-Skript application/x-sh
.svg Scalable Vector Graphics (SVG) image/svg+xml
.tar Tape-Archiv (TAR) application/x-tar
.tif, .tiff Tagged Image File Format (TIFF) image/tiff
.ts MPEG-Transportstream video/mp2t
.ttf TrueType-Schriftart font/ttf
.txt Text, (allgemein ASCII oder ISO 8859-n) text/plain
.vsd Microsoft Visio application/vnd.visio
.wav Waveform Audio Format audio/wav
.weba WEBM-Audio audio/webm
.webm WEBM-Video video/webm
.webmanifest Webanwendungsmanifest application/manifest+json
.webp WEBP-Bild image/webp
.woff Web Open Font Format (WOFF) font/woff
.woff2 Web Open Font Format (WOFF) font/woff2
.xhtml XHTML application/xhtml+xml
.xls Microsoft Excel application/vnd.ms-excel
.xlsx Microsoft Excel (OpenXML) application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xml XML application/xml wird gemäß RFC 7303 (Abschnitt 4.1) empfohlen, aber text/xml wird manchmal noch verwendet. Sie können einem .xml-Dateityp einen spezifischen MIME-Typ zuweisen, je nachdem, wie seine Inhalte interpretiert werden sollen. Zum Beispiel ist ein Atom-Feed application/atom+xml, aber application/xml dient als gültiger Standard.
.xul XUL application/vnd.mozilla.xul+xml
.zip ZIP-Archiv application/zip. Beachten Sie, dass Windows .zip-Dateien mit dem nicht standardisierten MIME-Typ application/x-zip-compressed hochlädt.
.3gp 3GPP-Audio/Video-Container video/3gpp; audio/3gpp, wenn es kein Video enthält
.3g2 3GPP2-Audio/Video-Container video/3gpp2; audio/3gpp2, wenn es kein Video enthält
.7z 7-Zip-Archiv application/x-7z-compressed

Siehe auch