MIME Types
Extensions to Content-Type, searchable.
| Extension | MIME type |
|---|---|
| .html | text/html |
| .css | text/css |
| .js | text/javascript |
| .mjs | text/javascript |
| .json | application/json |
| .map | application/json |
| .xml | application/xml |
| .xhtml | application/xhtml+xml |
| .wasm | application/wasm |
| .webmanifest | application/manifest+json |
| .txt | text/plain |
| .csv | text/csv |
| .tsv | text/tab-separated-values |
| .md | text/markdown |
| .yaml | application/yaml |
| .yml | application/yaml |
| .toml | application/toml |
| .ics | text/calendar |
| .vcf | text/vcard |
| .log | text/plain |
| .png | image/png |
| .jpg | image/jpeg |
| .jpeg | image/jpeg |
| .gif | image/gif |
| .webp | image/webp |
| .avif | image/avif |
| .svg | image/svg+xml |
| .ico | image/x-icon |
| .bmp | image/bmp |
| .tif | image/tiff |
| .tiff | image/tiff |
| .heic | image/heic |
| .heif | image/heif |
| .mp3 | audio/mpeg |
| .wav | audio/wav |
| .ogg | audio/ogg |
| .oga | audio/ogg |
| .flac | audio/flac |
| .aac | audio/aac |
| .m4a | audio/mp4 |
| .opus | audio/opus |
| .mp4 | video/mp4 |
| .m4v | video/mp4 |
| .webm | video/webm |
| .mov | video/quicktime |
| .avi | video/x-msvideo |
| .mkv | video/x-matroska |
| .ogv | video/ogg |
| application/pdf | |
| .doc | application/msword |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| .xls | application/vnd.ms-excel |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| .ppt | application/vnd.ms-powerpoint |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
| .odt | application/vnd.oasis.opendocument.text |
| .ods | application/vnd.oasis.opendocument.spreadsheet |
| .odp | application/vnd.oasis.opendocument.presentation |
| .rtf | application/rtf |
| .epub | application/epub+zip |
| .zip | application/zip |
| .gz | application/gzip |
| .tar | application/x-tar |
| .tgz | application/gzip |
| .bz2 | application/x-bzip2 |
| .xz | application/x-xz |
| .7z | application/x-7z-compressed |
| .rar | application/vnd.rar |
| .zst | application/zstd |
| .woff | font/woff |
| .woff2 | font/woff2 |
| .ttf | font/ttf |
| .otf | font/otf |
| .eot | application/vnd.ms-fontobject |
| .py | text/x-python |
| .sh | application/x-sh |
| .sql | application/sql |
| .graphql | application/graphql |
| .proto | application/x-protobuf |
| .jar | application/java-archive |
| .apk | application/vnd.android.package-archive |
| .dmg | application/x-apple-diskimage |
| .iso | application/x-iso9660-image |
| .exe | application/vnd.microsoft.portable-executable |
| .dll | application/vnd.microsoft.portable-executable |
| .bin | application/octet-stream |
| .dat | application/octet-stream |
| .sqlite | application/vnd.sqlite3 |
| .db | application/vnd.sqlite3 |
| .pem | application/x-pem-file |
| .crt | application/x-x509-ca-cert |
| .cer | application/pkix-cert |
| .p12 | application/x-pkcs12 |
| .key | application/octet-stream |
| .sig | application/pgp-signature |
The canonical registry lives at IANA; this table covers the extensions web servers and upload validators ask about most. Anything unrecognized should be served as application/octet-stream.
About this tool
Look up the MIME type for any common file extension — images, documents, archives, fonts and code — for Content-Type headers and upload validation.
It runs completely in your browser — no input is sent anywhere, and this page loads no ads or third-party scripts, so it is safe to use with data you would not paste into a hosted service.