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/x-iconWindows ICO format. Used 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).