MIME Types

Content-Type values for text, images, audio, video, fonts, and more.

text9 types
text/plainPlain text with no formatting. Default for unknown text files.
.txt.text
text/htmlHTML documents rendered by browsers.
.html.htm
text/cssCascading Style Sheets for styling HTML documents.
.css
text/javascriptJavaScript source code. The current standard MIME type for JS; application/javascript is deprecated.
.js.mjs
text/csvComma-separated values. Common for spreadsheet and tabular data exchange.
.csv
text/xmlXML documents where the encoding is human-readable text. Use application/xml for non-text XML.
.xml
text/markdownMarkdown-formatted text. Not universally supported; check Accept headers.
.md.markdown
text/calendariCalendar data for calendar events and scheduling.
.ics.ifb
text/event-streamServer-Sent Events (SSE) stream. Used for real-time server-to-client push over HTTP.
app15 types
application/jsonJSON-encoded data. Default Content-Type for REST APIs.
.json
application/ld+jsonJSON-LD linked data for structured semantic data and schema.org markup.
.jsonld
application/xmlXML data not intended to be read directly by humans.
.xml
application/x-www-form-urlencodedHTML form submission data encoded as key=value pairs. Default encoding for <form> without multipart.
application/octet-streamArbitrary binary data with unknown or unspecified type. Browsers trigger a file download.
application/pdfPortable Document Format. Browsers typically render inline or prompt download.
.pdf
application/zipZIP compressed archive.
.zip
application/gzipGzip compressed data. Also used as Content-Encoding for compressed HTTP responses.
.gz.gzip
application/x-tarTape archive (tarball) without compression. Usually paired with gzip as .tar.gz.
.tar
application/wasmWebAssembly binary. Must be served with this MIME type for browsers to execute it directly.
.wasm
application/graphqlGraphQL query or mutation. Used as Content-Type for GraphQL HTTP requests.
.graphql.gql
application/x-ndjsonNewline-delimited JSON — one JSON object per line. Common for streaming APIs and log formats.
.ndjson
application/cborConcise Binary Object Representation. Compact binary alternative to JSON.
.cbor
application/msgpackMessagePack binary serialization. Efficient alternative to JSON for APIs.
.msgpack
application/sqlSQL database dump or script file.
.sql
img9 types
image/jpegJPEG compressed image. Best for photographs; lossy compression.
.jpg.jpeg
image/pngPNG lossless image. Supports transparency; best for graphics and screenshots.
.png
image/gifGIF image. Supports animation and transparency with a limited 256-color palette.
.gif
image/webpWebP image from Google. Superior compression to JPEG/PNG; supports both lossy and lossless.
.webp
image/avifAVIF image based on AV1. Excellent compression and quality; growing browser support.
.avif
image/svg+xmlScalable Vector Graphics. XML-based; resolution-independent. Can be embedded inline in HTML.
.svg
image/vnd.microsoft.iconWindows ICO format. The IANA-registered MIME type for browser favicons.
.ico
image/tiffTIFF image. High-quality lossless format common in print and photography.
.tif.tiff
image/bmpBitmap image. Uncompressed; large file sizes. Legacy Windows format.
.bmp
audio7 types
audio/mpegMP3 compressed audio. Universally supported lossy format.
.mp3
audio/oggOgg container with Vorbis audio. Open format with good compression.
.ogg.oga
audio/wavWaveform audio. Uncompressed PCM; large files but no quality loss.
.wav
audio/webmWebM container with Opus or Vorbis audio. Common for web streaming.
.weba
audio/aacAdvanced Audio Coding. Lossy compression; better quality than MP3 at the same bitrate.
.aac
audio/flacFree Lossless Audio Codec. Lossless compression; smaller than WAV.
.flac
audio/opusOpus audio codec. Excellent for low-latency streaming and VoIP; outperforms MP3 and AAC.
.opus
video5 types
video/mp4MPEG-4 video. Most widely supported format for web and mobile.
.mp4.m4v
video/webmWebM video container with VP8/VP9/AV1. Open format optimized for the web.
.webm
video/oggOgg container with Theora video. Open format; limited browser support.
.ogv
video/mpegMPEG-1 or MPEG-2 video. Legacy format; limited browser support.
.mpeg.mpg
video/quicktimeQuickTime video container from Apple. Common for high-quality exports.
.mov
font4 types
font/ttfTrueType font. Widely supported; uncompressed.
.ttf
font/otfOpenType font. Superset of TrueType with advanced typographic features.
.otf
font/woffWeb Open Font Format. Compressed TrueType/OpenType for web delivery.
.woff
font/woff2Web Open Font Format 2. Better compression than WOFF; preferred format for web fonts.
.woff2
multi3 types
multipart/form-dataHTML form submission with file uploads. Each field is a separate MIME part with its own headers.
multipart/byterangesResponse to a multi-range HTTP request (206). Each byte range is a separate part.
multipart/mixedMultiple independent body parts of different types. Common in email (MIME).
depr24 types
application/javascriptJavaScript. Obsoleted by RFC 9239 (2022) which standardized text/javascript as the sole registered type.
.js
deprecateduse: text/javascript
application/x-javascriptx- variant of the JavaScript MIME type that predates IANA registration.
.js
deprecateduse: text/javascript
text/x-javascriptEarly x- variant used before text/javascript was formally registered.
.js
deprecateduse: text/javascript
application/ecmascriptECMAScript MIME type registered alongside application/javascript. Both obsoleted by RFC 9239.
.es.ecma
deprecateduse: text/javascript
text/ecmascriptText-tree ECMAScript variant. Registered by RFC 4329, then obsoleted by RFC 9239.
.es.ecma
deprecateduse: text/javascript
application/x-gzipx- form of gzip that predates the IANA registration of application/gzip (RFC 6713).
.gz.gzip
deprecateduse: application/gzip
application/x-zip-compressedLegacy ZIP type common in older browsers and servers. IANA registration uses application/zip.
.zip
deprecateduse: application/zip
audio/x-wavx- prefix form of WAV audio used before audio/wav and audio/vnd.wav were registered.
.wav
deprecateduse: audio/wav
audio/x-aiffx- variant for AIFF audio that predates the registered audio/aiff type.
.aif.aiff.aifc
deprecateduse: audio/aiff
audio/x-mpegx- form for MPEG audio that predates the registration of audio/mpeg.
.mp3
deprecateduse: audio/mpeg
audio/m4aDeprecated MIME type for MPEG-4 audio files. Superseded by the IANA-registered audio/mp4.
.m4a
deprecateduse: audio/mp4
audio/x-m4aDeprecated x- variant for MPEG-4 audio. Both audio/m4a and audio/x-m4a should be replaced with audio/mp4.
.m4a
deprecateduse: audio/mp4
audio/x-ms-wmaWindows Media Audio. Microsoft proprietary format; largely supplanted by open codecs.
.wma
audio/x-pn-realaudioRealAudio streaming format from RealNetworks. Practically obsolete since the early 2000s.
.ra.ram
image/x-iconLegacy ICO MIME type. The IANA-registered form is image/vnd.microsoft.icon, though x-icon remains widely used.
.ico
deprecateduse: image/vnd.microsoft.icon
image/pjpegProgressive JPEG variant reported by older Internet Explorer versions. Standard clients use image/jpeg.
.jpg.jpeg
deprecateduse: image/jpeg
video/x-msvideoAVI video container with x- prefix. No formal IANA standard exists; video/avi is sometimes used instead.
.avi
deprecateduse: video/avi
video/x-flvAdobe Flash Video. Obsolete since Adobe ended Flash support on December 31, 2020.
.flv
application/x-shockwave-flashAdobe Flash (SWF). Completely obsolete; all major browsers removed Flash support in 2020–2021.
.swf
text/x-vcardEarly vCard contact format that predates the IANA registration of text/vcard (RFC 6350).
.vcf.vcard
deprecateduse: text/vcard
text/x-vcalendarLegacy vCalendar type superseded when iCalendar (RFC 5545) standardized text/calendar.
.vcs
deprecateduse: text/calendar
application/x-font-ttfx- form of TrueType fonts used before the font/* top-level type was registered.
.ttf
deprecateduse: font/ttf
application/x-font-otfx- form of OpenType fonts that predates the font/* top-level type.
.otf
deprecateduse: font/otf
application/x-font-woffx- form of WOFF used before font/woff was registered in RFC 8081.
.woff
deprecateduse: font/woff