MIME Types
A filterable reference of common MIME types with their file extensions and categories.
What is a MIME type?
A MIME type (also called media type or content type) is a two-part label in the form
type/subtype that describes the format of a resource. Servers send it in the Content-Type
header so browsers and clients know how to interpret the response.
How to use this reference
Filter by type, extension or description with the search box below. The list covers the most
common types; the authoritative registry is maintained by IANA. A few legacy aliases that are
still widely used (such as text/javascript) are noted in their description.
| MIME type | Extension(s) | Category | Description |
|---|---|---|---|
text/plain | .txt | text | Plain unformatted text. |
text/html | .html, .htm | text | HTML documents rendered by the browser. |
text/css | .css | text | Cascading Style Sheets. |
text/csv | .csv | text | Comma-separated values, commonly opened in spreadsheets. |
text/javascript | .js, .mjs | text | JavaScript. Legacy alias; application/javascript is the recommended type. |
text/markdown | .md | text | Markdown source text. |
application/json | .json | application | JSON data (the standard for most APIs). |
application/xml | .xml | application | XML data. text/xml is also widely used. |
application/pdf | .pdf | application | Portable Document Format files. |
application/zip | .zip | application | ZIP compressed archive. |
application/gzip | .gz | application | Gzip-compressed data (a single file, unlike .tar.gz bundles). |
application/x-7z-compressed | .7z | application | 7-Zip compressed archive. |
application/x-tar | .tar | application | Tar archive (uncompressed container). |
application/x-rar-compressed | .rar | application | RAR compressed archive. |
application/x-www-form-urlencoded | — | application | Default encoding for HTML forms submitted with POST. |
application/octet-stream | .bin | application | Generic arbitrary binary data; the browser treats it as a download. |
application/wasm | .wasm | application | WebAssembly binary module. |
application/ld+json | — | application | JSON-LD structured data embedded in a script tag. |
application/msword | .doc | application | Legacy Microsoft Word document. |
application/vnd.openxmlformats-officedocument.wordprocessingml.document | .docx | application | Microsoft Word (Open XML) document. |
application/vnd.ms-excel | .xls | application | Legacy Microsoft Excel spreadsheet. |
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | .xlsx | application | Microsoft Excel (Open XML) spreadsheet. |
image/jpeg | .jpg, .jpeg | image | JPEG photographs; lossy compression, no transparency. |
image/png | .png | image | PNG raster images; lossless with alpha transparency. |
image/gif | .gif | image | GIF images; supports animation and a 256-color palette. |
image/webp | .webp | image | Modern WebP format; lossy and lossless with good compression. |
image/svg+xml | .svg | image | Scalable Vector Graphics described in XML. |
image/avif | .avif | image | AV1 Image Format; very efficient modern compression. |
image/x-icon | .ico | image | Icon format used for favicons. |
image/bmp | .bmp | image | Windows bitmap, uncompressed raster image. |
image/tiff | .tif, .tiff | image | Tagged Image File Format, common in print and scanning. |
audio/mpeg | .mp3 | audio | MP3 compressed audio. |
audio/ogg | .oga | audio | Audio in the Ogg container (typically Vorbis or Opus). |
audio/wav | .wav | audio | Waveform audio, usually uncompressed PCM. |
audio/webm | .weba | audio | Audio in the WebM container. |
audio/aac | .aac | audio | Advanced Audio Coding, common for streaming. |
audio/flac | .flac | audio | Free Lossless Audio Codec. |
video/mp4 | .mp4 | video | MPEG-4 video, the most widely supported container. |
video/webm | .webm | video | Open WebM video container. |
video/ogg | .ogv | video | Video in the Ogg container. |
video/quicktime | .mov | video | Apple QuickTime movie container. |
video/x-matroska | .mkv | video | Matroska multimedia container. |
font/woff | .woff | font | Web Open Font Format (compressed TrueType/OpenType). |
font/woff2 | .woff2 | font | WOFF2, the modern compressed web font format. |
font/ttf | .ttf | font | TrueType font. |
font/otf | .otf | font | OpenType font. |
multipart/form-data | — | multipart | Used for HTML forms that upload files. |
multipart/byteranges | — | multipart | Used when a response contains multiple byte ranges. |