Content-Type values for the file types web developers meet most often. Download: CSV · JSON.
| Extension | MIME type | Description |
|---|---|---|
| .html | text/html | HTML document |
| .css | text/css | Cascading style sheet |
| .js | text/javascript | JavaScript (RFC 9239) |
| .mjs | text/javascript | JavaScript module |
| .json | application/json | JSON data |
| .xml | application/xml | XML document |
| .txt | text/plain | Plain text |
| .csv | text/csv | Comma-separated values |
| .md | text/markdown | Markdown |
| .ics | text/calendar | iCalendar event |
| .png | image/png | PNG image |
| .jpg | image/jpeg | JPEG image |
| .jpeg | image/jpeg | JPEG image |
| .gif | image/gif | GIF image |
| .webp | image/webp | WebP image |
| .avif | image/avif | AVIF image |
| .svg | image/svg+xml | SVG vector image |
| .ico | image/vnd.microsoft.icon | Icon file |
| .bmp | image/bmp | Bitmap image |
| .tiff | image/tiff | TIFF image |
| .mp3 | audio/mpeg | MP3 audio |
| .wav | audio/wav | WAV audio |
| .ogg | audio/ogg | Ogg audio |
| .weba | audio/webm | WebM audio |
| .mp4 | video/mp4 | MP4 video |
| .webm | video/webm | WebM video |
| .mpeg | video/mpeg | MPEG video |
| .ogv | video/ogg | Ogg video |
| application/pdf | PDF document | |
| .zip | application/zip | ZIP archive |
| .gz | application/gzip | Gzip archive |
| .tar | application/x-tar | Tape archive |
| .7z | application/x-7z-compressed | 7-Zip archive |
| .rar | application/vnd.rar | RAR archive |
| .doc | application/msword | Word (legacy) |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Word document |
| .xls | application/vnd.ms-excel | Excel (legacy) |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Excel workbook |
| .ppt | application/vnd.ms-powerpoint | PowerPoint (legacy) |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | PowerPoint presentation |
| .odt | application/vnd.oasis.opendocument.text | OpenDocument text |
| .ods | application/vnd.oasis.opendocument.spreadsheet | OpenDocument spreadsheet |
| .epub | application/epub+zip | EPUB e-book |
| .rtf | application/rtf | Rich text format |
| .wasm | application/wasm | WebAssembly module |
| .woff | font/woff | Web font WOFF |
| .woff2 | font/woff2 | Web font WOFF2 |
| .ttf | font/ttf | TrueType font |
| .otf | font/otf | OpenType font |
| .webmanifest | application/manifest+json | Web app manifest |
| .php | application/x-httpd-php | PHP script |
| .sh | application/x-sh | Shell script |
| .bin | application/octet-stream | Arbitrary binary data |