MIME types & file extensions
ClientSearch a curated list of common MIME types and typical file extensions—useful for HTTP headers, form uploads, and static hosting configs. Copy a type with one click.
Using MIME types in real workflows
Browsers, CDNs, and APIs use Content-Type to describe bytes on the wire. When a server omits the header or sends a generic type, this table helps you pick a conventional type for your extension before you fix hosting rules or API responses.
Pair lookups with the Data URL helper when you inline small assets, and with HTTP headers when you verify request or response metadata end-to-end.
Lookup
?
This is a curated list for common web, developer, and media workflows—not a complete IANA registry. It now includes source code, mobile packages, geo data, subtitles, and more. Servers may still choose different types for the same extension.
218 types
Try examples
| Extensions | MIME type | Note | Copy |
|---|---|---|---|
| .bin, .dat | application/octet-stream | Generic binary fallback. | |
| application/pdf | — | ||
| .zip | application/zip | — | |
| .gz, .gzip | application/gzip | — | |
| .tar | application/x-tar | — | |
| .bz2 | application/x-bzip2 | — | |
| .xz | application/x-xz | — | |
| .7z | application/x-7z-compressed | — | |
| .rar | application/x-rar-compressed | — | |
| .wasm | application/wasm | — | |
| .js, .mjs, .cjs | application/javascript | Legacy .js often served as text/javascript. | |
| .json | application/json | — | |
| .jsonld | application/ld+json | JSON-LD structured data. | |
| .xml, .xsd, .xsl | application/xml | Also see text/xml. | |
| .xhtml, .xht | application/xhtml+xml | — | |
| .rss | application/rss+xml | — | |
| .atom | application/atom+xml | — | |
| .webmanifest | application/manifest+json | Web app manifest. | |
| — | application/vnd.api+json | JSON API media type; often .json files. | |
| — | application/x-www-form-urlencoded | HTML forms; not a file extension. | |
| .doc | application/msword | — | |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Office Open XML Word. | |
| .xls | application/vnd.ms-excel | — | |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Office Open XML Excel. | |
| .ppt | application/vnd.ms-powerpoint | — | |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | Office Open XML PowerPoint. | |
| .rtf | application/rtf | — | |
| .epub | application/epub+zip | — | |
| .sh | application/x-sh | Shell script; often text/plain on disk. | |
| .exe, .dll | application/x-msdownload | Windows PE; use with care. | |
| .jar, .war, .ear | application/java-archive | — | |
| .sql | application/sql | Sometimes text/plain. | |
| — | application/graphql | GraphQL over HTTP; body is query string. | |
| — | application/grpc | Binary RPC; not a file extension. | |
| .pb | application/protobuf | Often application/x-protobuf in APIs. | |
| .msgpack | application/x-msgpack | MessagePack binary; common in APIs. | |
| .cbor | application/cbor | CBOR binary JSON-like. | |
| .jwt | application/jwt | JSON Web Token file; often inline JSON. | |
| — | application/problem+json | RFC 7807 API error bodies. | |
| — | application/hal+json | Hypermedia API responses. | |
| .ndjson, .jsonl | application/x-ndjson | Newline-delimited JSON streams. | |
| .toml | application/toml | TOML config; also text/x-toml on disk. | |
| .parquet | application/vnd.apache.parquet | Columnar analytics data. | |
| .avro | application/avro | Apache Avro binary schema records. | |
| .torrent | application/x-bittorrent | BitTorrent metainfo. | |
| .ps, .eps | application/postscript | PostScript / EPS vector. | |
| .ai | application/vnd.adobe.illustrator | Adobe Illustrator. | |
| .msg | application/vnd.ms-outlook | Outlook message file. | |
| .apk | application/vnd.android.package-archive | Android install package. | |
| .aab | application/vnd.android.aab | Android App Bundle. | |
| .pkg | application/vnd.apple.installer+xml | macOS installer package. | |
| .dmg | application/x-apple-diskimage | macOS disk image. | |
| .ipa | application/x-ios-app | iOS app archive; non-standard label. | |
| .msi | application/x-msi | Windows Installer package. | |
| .cab | application/vnd.ms-cab-compressed | Windows Cabinet archive. | |
| .pem | application/x-pem-file | Privacy-Enhanced Mail cert/key text. | |
| .crt, .cer | application/x-x509-ca-cert | X.509 certificate. | |
| .cer | application/pkix-cert | DER-encoded PKIX certificate. | |
| .p12, .pfx | application/x-pkcs12 | PKCS#12 cert + key bundle. | |
| .p7m, .p7s | application/pkcs7-mime | S/MIME signed or enveloped data. | |
| .crl | application/pkix-crl | Certificate revocation list. | |
| .kml | application/vnd.google-earth.kml+xml | Google Earth / maps markup. | |
| .kmz | application/vnd.google-earth.kmz | Compressed KML archive. | |
| .gpx | application/gpx+xml | GPS exchange format. | |
| .geojson | application/geo+json | GeoJSON map data. | |
| .odt | application/vnd.oasis.opendocument.text | OpenDocument Writer. | |
| .ods | application/vnd.oasis.opendocument.spreadsheet | OpenDocument Calc. | |
| .odp | application/vnd.oasis.opendocument.presentation | OpenDocument Impress. | |
| .odg | application/vnd.oasis.opendocument.graphics | OpenDocument Draw. | |
| .xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 | Excel macro-enabled workbook. | |
| .dotx | application/vnd.openxmlformats-officedocument.wordprocessingml.template | Word template (Open XML). | |
| .xltx | application/vnd.openxmlformats-officedocument.spreadsheetml.template | Excel template (Open XML). | |
| .mdb, .accdb | application/vnd.ms-access | Microsoft Access database. | |
| .vsd, .vsdx | application/vnd.visio | Microsoft Visio diagram. | |
| .key | application/vnd.apple.keynote | Apple Keynote presentation. | |
| .pages | application/vnd.apple.pages | Apple Pages document. | |
| .numbers | application/vnd.apple.numbers | Apple Numbers spreadsheet. | |
| .mobi | application/x-mobipocket-ebook | Mobipocket e-book. | |
| .azw, .azw3 | application/vnd.amazon.ebook | Kindle e-book. | |
| .blend | application/x-blender | Blender 3D project. | |
| .dwg | application/vnd.autocad | AutoCAD drawing. | |
| .dxf | application/dxf | AutoCAD exchange format. | |
| .zst, .zstd | application/zstd | Zstandard compression. | |
| .lzma, .lz | application/x-lzma | LZMA compression. | |
| .cpio | application/x-cpio | Unix cpio archive. | |
| .m3u8 | application/vnd.apple.mpegurl | HTTP Live Streaming playlist. | |
| .mpd | application/dash+xml | MPEG-DASH manifest. | |
| .srt | application/x-subrip | SubRip subtitle captions. | |
| .plist | application/x-plist | Apple property list (XML or binary). | |
| .properties | application/x-java-properties | Java .properties config. | |
| .php | application/x-httpd-php | PHP source; often text/plain on disk. | |
| .ppsx | application/vnd.openxmlformats-officedocument.presentationml.slideshow | PowerPoint slideshow. | |
| .txt, .text, .log, .ini, .conf, .cfg | text/plain | Generic UTF-8 text. | |
| .html, .htm | text/html | — | |
| .css | text/css | — | |
| .csv | text/csv | — | |
| — | text/xml | XML as text; overlaps application/xml. | |
| .md, .markdown | text/markdown | — | |
| — | text/javascript | Legacy script MIME; prefer application/javascript. | |
| — | text/ecmascript | Legacy; rarely used for files. | |
| .ics, .ifb | text/calendar | iCalendar events. | |
| .vcf, .vcard | text/vcard | — | |
| .appcache | text/cache-manifest | Deprecated AppCache manifest. | |
| .yaml, .yml | text/yaml | Often application/x-yaml in the wild. | |
| — | application/x-yaml | Alternate YAML label. | |
| .tsv | text/tab-separated-values | Tab-separated values. | |
| .ts | text/typescript | TypeScript source. | |
| .tsx | text/tsx | TypeScript + JSX; often served as JS. | |
| .jsx | text/jsx | JSX source; often served as JavaScript. | |
| .py, .pyw, .pyi | text/x-python | Python source. | |
| .rb, .erb | text/x-ruby | Ruby source. | |
| .go | text/x-go | Go source. | |
| .rs | text/x-rust | Rust source. | |
| .java | text/x-java-source | Java source. | |
| .kt, .kts | text/x-kotlin | Kotlin source. | |
| .swift | text/x-swift | Swift source. | |
| .c, .h | text/x-c | C source/header. | |
| .cpp, .cc, .cxx, .hpp, .hh | text/x-c++ | C++ source/header. | |
| .cs | text/x-csharp | C# source. | |
| .scala, .sc | text/x-scala | Scala source. | |
| .pl, .pm | text/x-perl | Perl source. | |
| .lua | text/x-lua | Lua source. | |
| .r | text/x-r | R source. | |
| .clj, .cljs, .cljc | text/x-clojure | Clojure source. | |
| .dart | text/x-dart | Dart source. | |
| .vue | text/x-vue | Vue single-file component. | |
| .svelte | text/x-svelte | Svelte component. | |
| — | text/x-toml | Alternate TOML label on disk. | |
| .vtt | text/vtt | WebVTT captions. | |
| .ass, .ssa | text/x-ssa | SubStation Alpha subtitles. | |
| .dockerfile | text/x-dockerfile | Often text/plain without extension. | |
| .mk | text/x-makefile | Make build file; often Makefile with no ext. | |
| .bash, .zsh | text/x-shellscript | Shell script; overlaps application/x-sh. | |
| .bat, .cmd | text/x-batch | Windows batch script. | |
| .ps1, .psm1 | text/x-powershell | PowerShell script. | |
| .tex, .ltx | text/x-latex | LaTeX source. | |
| .bib | text/x-bibtex | BibTeX bibliography. | |
| .diff, .patch | text/x-diff | Unified diff / patch. | |
| .jpg, .jpeg, .jpe, .jfif | image/jpeg | — | |
| .png | image/png | — | |
| .gif | image/gif | — | |
| .webp | image/webp | — | |
| .svg, .svgz | image/svg+xml | — | |
| .avif | image/avif | — | |
| .heic, .heif | image/heic | Apple HEIF/HEIC. | |
| .bmp, .dib | image/bmp | — | |
| .tif, .tiff | image/tiff | — | |
| .ico | image/x-icon | Favicon; also image/vnd.microsoft.icon. | |
| .ico | image/vnd.microsoft.icon | — | |
| .apng | image/apng | — | |
| .jxl | image/jxl | JPEG XL next-gen raster. | |
| .jp2, .j2k, .jpf | image/jp2 | JPEG 2000. | |
| .psd | image/vnd.adobe.photoshop | Adobe Photoshop document. | |
| .dxf | image/vnd.dxf | Drawing exchange; also application/dxf. | |
| .emf | image/x-emf | Enhanced Metafile (Windows). | |
| .wmf | image/x-wmf | Windows Metafile. | |
| .ppm, .pgm, .pbm | image/x-portable-pixmap | Netpbm PPM/PGM/PBM. | |
| .pnm | image/x-portable-anymap | Netpbm generic PNM. | |
| .xbm | image/x-xbitmap | X11 bitmap. | |
| .xpm | image/x-xpixmap | X11 pixmap. | |
| .mp3, .mpga | audio/mpeg | — | |
| .wav | audio/wav | — | |
| .oga, .ogg, .opus | audio/ogg | Opus in Ogg container. | |
| — | audio/webm | WebM audio track. | |
| .aac | audio/aac | — | |
| .flac | audio/flac | — | |
| .m4a, .mp4a | audio/mp4 | AAC in MP4; .m4a common. | |
| .mid, .midi | audio/x-midi | — | |
| .wma | audio/x-ms-wma | Windows Media Audio. | |
| .aif, .aiff, .aifc | audio/x-aiff | Audio Interchange File Format. | |
| .amr | audio/amr | Adaptive Multi-Rate mobile speech. | |
| .m4b | audio/x-m4b | Audiobook in MP4 container. | |
| .caf | audio/x-caf | Core Audio Format (Apple). | |
| .mp4, .m4v | video/mp4 | — | |
| .webm | video/webm | — | |
| .ogv | video/ogg | — | |
| .mov, .qt | video/quicktime | — | |
| .avi | video/x-msvideo | — | |
| .mpeg, .mpg, .mpe | video/mpeg | — | |
| .mkv, .mka | video/x-matroska | Matroska video/audio container. | |
| .wmv | video/x-ms-wmv | Windows Media Video. | |
| .flv | video/x-flv | Adobe Flash video. | |
| .3gp, .3g2 | video/3gpp | 3GPP mobile video. | |
| .asf | video/x-ms-asf | Advanced Systems Format. | |
| .ts, .m2ts, .mts | video/mp2t | MPEG transport stream; not TypeScript. | |
| .gltf | model/gltf+json | glTF 3D model (JSON). | |
| .glb | model/gltf-binary | glTF 3D model (binary). | |
| .obj | model/obj | Wavefront OBJ 3D mesh. | |
| .stl | model/stl | Stereolithography 3D mesh. | |
| .usdz | model/vnd.usdz+zip | Universal Scene Description (AR). | |
| .woff | font/woff | — | |
| .woff2 | font/woff2 | — | |
| .ttf | font/ttf | — | |
| .otf | font/otf | — | |
| — | application/font-woff | Deprecated; use font/woff. | |
| .eot | application/vnd.ms-fontobject | Embedded OpenType (legacy IE). | |
| — | multipart/form-data | File uploads in HTTP. | |
| — | multipart/related | MIME email / SOAP attachments. | |
| .eml | message/rfc822 | Raw email message. | |
| .sqlite, .db, .sqlite3 | application/vnd.sqlite3 | SQLite database file. | |
| .iso | application/x-iso9660-image | Optical disc image. | |
| .deb | application/x-debian-package | — | |
| .rpm | application/x-rpm | — | |
| .com | application/x-msdos-program | DOS executable. | |
| .mobileconfig | application/x-apple-aspen-config | Apple configuration profile. | |
| .wbxml | application/vnd.wap.wbxml | WAP binary XML. | |
| .class | application/java-vm | Java bytecode. | |
| — | application/x-httpd-eruby | Legacy Ruby template MIME. | |
| .pcap, .cap | application/vnd.tcpdump.pcap | Packet capture file. | |
| .p7b | application/x-pkcs7-certificates | PKCS#7 cert chain. | |
| .p8 | application/pkcs8 | Private key (PKCS#8). | |
| — | application/x-x509-user-cert | User certificate; often .crt. | |
| .fdf | application/vnd.fdf | Forms Data Format (PDF forms). | |
| .fb2 | application/x-fictionbook+xml | FictionBook e-book (XML). | |
| .dvi | application/x-dvi | TeX DVI output. | |
| .tex | application/x-tex | TeX source; often text/x-latex. | |
| — | application/x-font-ttf | Legacy; prefer font/ttf. | |
| — | application/x-font-opentype | Legacy; prefer font/otf. |
Nearby workflows on Toolcore
- HTTP headers reference — for other common request/response header names beside Content-Type.
- Open Graph preview — when social cards need image MIME and dimension hints.
Common use cases
- Pick a Content-Type for static hosting or CDN rules before uploading assets.
- Decode a browser file input’s empty type field by cross-checking the extension here.
- Pair with the Data URL tool when building inline data: URLs with a correct MIME prefix.
Common mistakes to avoid
Treating this table as the only valid mapping
Servers and operating systems may use application/octet-stream or text/plain for unknown files; APIs sometimes deviate from common conventions.
Confusing charset parameters with the MIME type
Headers often look like text/html; charset=utf-8—the charset is a parameter on the same type, not a separate MIME.
Assuming file extension always equals Content-Type
Trust response headers and magic bytes for security; extensions are hints only.
FAQ
Is this list sent to Toolcore?
No. Filtering and display run entirely in your browser—no Content-Type or filename you type is uploaded.
Why is my extension missing?
The table covers common web, API, media, office, mobile, and developer types—roughly 200 entries—not every IANA registration. Niche vendor formats may still be omitted.
Does this cover every IANA MIME type?
No. It is a curated subset for quick lookup—use official registries when you need exhaustive coverage.
Common search terms
Phrases people search for that match this tool. See the full long-tail keyword index.
- mime type lookup
- file extension to content-type
- common mime types reference
More tools
Related utilities you can open in another tab—mostly client-side.
Data URL encoder & decoder
ClientBuild data: URLs from UTF-8 text or small files; decode and preview images or text locally.
HTTP status codes
ClientHTTP response status reference: search 1xx–5xx, short meanings, copy status lines—client-side.
HTTP methods
ClientGET, POST, PUT, PATCH, DELETE—safe, idempotent, body usage—quick reference for APIs, client-side.
HTTP headers
ClientCommon request and response header fields—names, direction, and short summaries—filterable client-side.