.html .htm | text/html | HTML document |
.css | text/css | CSS stylesheet |
.js .mjs .cjs | text/javascript | JavaScript (RFC 9239; application/javascript is the older name) |
.json | application/json | JSON |
.jsonld | application/ld+json | JSON-LD linked data |
.map | application/json | Source map |
.webmanifest | application/manifest+json | Web app manifest |
.xml | application/xml | XML (text/xml is also used) |
.xhtml | application/xhtml+xml | XHTML document |
.rss | application/rss+xml | RSS feed |
.atom | application/atom+xml | Atom feed |
.txt | text/plain | Plain text |
.csv | text/csv | Comma-separated values |
.tsv | text/tab-separated-values | Tab-separated values |
.md .markdown | text/markdown | Markdown |
.ics | text/calendar | iCalendar event |
.vcf | text/vcard | vCard contact |
.yaml .yml | application/yaml | YAML (RFC 9512) |
.toml | application/toml | TOML |
.wasm | application/wasm | WebAssembly |
.pdf | application/pdf | PDF document |
.zip | application/zip | ZIP archive |
.gz | application/gzip | Gzip archive |
.tar | application/x-tar | Tar archive |
.tgz | application/gzip | Gzipped tar archive |
.bz2 | application/x-bzip2 | Bzip2 archive |
.7z | application/x-7z-compressed | 7-Zip archive |
.rar | application/vnd.rar | RAR archive |
.xz | application/x-xz | XZ archive |
.zst | application/zstd | Zstandard archive |
.jar | application/java-archive | Java archive |
.apk | application/vnd.android.package-archive | Android app package |
.exe .dll | application/vnd.microsoft.portable-executable | Windows executable (often served as application/octet-stream) |
.msi | application/x-msi | Windows installer |
.dmg | application/x-apple-diskimage | macOS disk image |
.deb | application/vnd.debian.binary-package | Debian package |
.rpm | application/x-rpm | RPM package |
.iso | application/x-iso9660-image | ISO disk image |
.bin | application/octet-stream | Arbitrary binary data (the generic fallback) |
.sql | application/sql | SQL |
.sh | application/x-sh | Shell script |
.py | text/x-python | Python source |
.php | application/x-httpd-php | PHP source |
.doc | application/msword | Word 97–2003 document |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Word document |
.xls | application/vnd.ms-excel | Excel 97–2003 workbook |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Excel workbook |
.ppt | application/vnd.ms-powerpoint | PowerPoint 97–2003 presentation |
.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 |
.odp | application/vnd.oasis.opendocument.presentation | OpenDocument presentation |
.rtf | application/rtf | Rich Text Format |
.epub | application/epub+zip | EPUB e-book |
.png | image/png | PNG image |
.jpg .jpeg .jfif | 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 (image/x-icon is widely used too) |
.bmp | image/bmp | Bitmap image |
.tif .tiff | image/tiff | TIFF image |
.heic | image/heic | HEIC image (iPhone photos) |
.heif | image/heif | HEIF image |
.jxl | image/jxl | JPEG XL image |
.psd | image/vnd.adobe.photoshop | Photoshop document |
.mp3 | audio/mpeg | MP3 audio |
.wav | audio/wav | WAV audio |
.ogg .oga | audio/ogg | Ogg audio |
.opus | audio/opus | Opus audio |
.flac | audio/flac | FLAC audio |
.aac | audio/aac | AAC audio |
.m4a | audio/mp4 | MPEG-4 audio |
.weba | audio/webm | WebM audio |
.mid .midi | audio/midi | MIDI |
.mp4 .m4v | video/mp4 | MP4 video |
.webm | video/webm | WebM video |
.ogv | video/ogg | Ogg video |
.mov | video/quicktime | QuickTime video |
.avi | video/x-msvideo | AVI video |
.mkv | video/x-matroska | Matroska video |
.mpeg .mpg | video/mpeg | MPEG video |
.ts | video/mp2t | MPEG transport stream (also TypeScript source, by extension) |
.m3u8 | application/vnd.apple.mpegurl | HLS playlist |
.mpd | application/dash+xml | MPEG-DASH manifest |
.3gp | video/3gpp | 3GPP video |
.woff | font/woff | WOFF font |
.woff2 | font/woff2 | WOFF2 font |
.ttf | font/ttf | TrueType font |
.otf | font/otf | OpenType font |
.eot | application/vnd.ms-fontobject | Embedded OpenType font |
.crt .cer .der | application/pkix-cert | X.509 certificate (DER) |
.pem | application/x-pem-file | PEM certificate or key |
.p12 .pfx | application/x-pkcs12 | PKCS#12 key store |
.csr | application/pkcs10 | Certificate signing request |
.eml | message/rfc822 | Email message |
| — | multipart/form-data | HTML form with file uploads (request body) |
| — | application/x-www-form-urlencoded | HTML form fields as key=value&… (request body) |
| — | text/event-stream | Server-Sent Events stream |
| — | application/x-ndjson | Newline-delimited JSON (JSON Lines) |
| — | application/problem+json | Problem Details for HTTP APIs (RFC 9457 error format) |
| — | application/graphql-response+json | GraphQL over HTTP response |
| — | application/merge-patch+json | JSON Merge Patch (RFC 7386) |
| — | application/json-patch+json | JSON Patch (RFC 6902) |
| — | application/vnd.api+json | JSON:API |
| — | application/grpc | gRPC |
| — | application/x-protobuf | Protocol Buffers (also application/protobuf) |
| — | application/cbor | CBOR binary data |
| — | application/msgpack | MessagePack |
| — | application/jwt | JSON Web Token |
| — | application/octet-stream | Unknown binary data; browsers download it |