MIME types & file extensions

Client

Search 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.

What this lookup covers

A curated MIME type ↔ file extension table for web, API, media, office, and developer workflows—roughly 200 common entries, not the full IANA registry.

How to pick Content-Type

Filter by extension or type keyword, then copy the value for static hosting, upload forms, or API responses. Verify with HTTP headers when debugging end-to-end metadata.

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

ExtensionsMIME typeCopy
.bin, .datapplication/octet-stream
.pdfapplication/pdf
.zipapplication/zip
.gz, .gzipapplication/gzip
.tarapplication/x-tar
.bz2application/x-bzip2
.xzapplication/x-xz
.7zapplication/x-7z-compressed
.rarapplication/x-rar-compressed
.wasmapplication/wasm
.js, .mjs, .cjsapplication/javascript
.jsonapplication/json
.jsonldapplication/ld+json
.xml, .xsd, .xslapplication/xml
.xhtml, .xhtapplication/xhtml+xml
.rssapplication/rss+xml
.atomapplication/atom+xml
.webmanifestapplication/manifest+json
—application/vnd.api+json
—application/x-www-form-urlencoded
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.xlsapplication/vnd.ms-excel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.pptapplication/vnd.ms-powerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.rtfapplication/rtf
.epubapplication/epub+zip
.shapplication/x-sh
.exe, .dllapplication/x-msdownload
.jar, .war, .earapplication/java-archive
.sqlapplication/sql
—application/graphql
—application/grpc
.pbapplication/protobuf
.msgpackapplication/x-msgpack
.cborapplication/cbor
.jwtapplication/jwt
—application/problem+json
—application/hal+json
.ndjson, .jsonlapplication/x-ndjson
.tomlapplication/toml
.parquetapplication/vnd.apache.parquet
.avroapplication/avro
.torrentapplication/x-bittorrent
.ps, .epsapplication/postscript
.aiapplication/vnd.adobe.illustrator
.msgapplication/vnd.ms-outlook
.apkapplication/vnd.android.package-archive
.aabapplication/vnd.android.aab
.pkgapplication/vnd.apple.installer+xml
.dmgapplication/x-apple-diskimage
.ipaapplication/x-ios-app
.msiapplication/x-msi
.cabapplication/vnd.ms-cab-compressed
.pemapplication/x-pem-file
.crt, .cerapplication/x-x509-ca-cert
.cerapplication/pkix-cert
.p12, .pfxapplication/x-pkcs12
.p7m, .p7sapplication/pkcs7-mime
.crlapplication/pkix-crl
.kmlapplication/vnd.google-earth.kml+xml
.kmzapplication/vnd.google-earth.kmz
.gpxapplication/gpx+xml
.geojsonapplication/geo+json
.odtapplication/vnd.oasis.opendocument.text
.odsapplication/vnd.oasis.opendocument.spreadsheet
.odpapplication/vnd.oasis.opendocument.presentation
.odgapplication/vnd.oasis.opendocument.graphics
.xlsmapplication/vnd.ms-excel.sheet.macroEnabled.12
.dotxapplication/vnd.openxmlformats-officedocument.wordprocessingml.template
.xltxapplication/vnd.openxmlformats-officedocument.spreadsheetml.template
.mdb, .accdbapplication/vnd.ms-access
.vsd, .vsdxapplication/vnd.visio
.keyapplication/vnd.apple.keynote
.pagesapplication/vnd.apple.pages
.numbersapplication/vnd.apple.numbers
.mobiapplication/x-mobipocket-ebook
.azw, .azw3application/vnd.amazon.ebook
.blendapplication/x-blender
.dwgapplication/vnd.autocad
.dxfapplication/dxf
.zst, .zstdapplication/zstd
.lzma, .lzapplication/x-lzma
.cpioapplication/x-cpio
.m3u8application/vnd.apple.mpegurl
.mpdapplication/dash+xml
.srtapplication/x-subrip
.plistapplication/x-plist
.propertiesapplication/x-java-properties
.phpapplication/x-httpd-php
.ppsxapplication/vnd.openxmlformats-officedocument.presentationml.slideshow
.txt, .text, .log, .ini, .conf, .cfgtext/plain
.html, .htmtext/html
.csstext/css
.csvtext/csv
—text/xml
.md, .markdowntext/markdown
—text/javascript
—text/ecmascript
.ics, .ifbtext/calendar
.vcf, .vcardtext/vcard
.appcachetext/cache-manifest
.yaml, .ymltext/yaml
—application/x-yaml
.tsvtext/tab-separated-values
.tstext/typescript
.tsxtext/tsx
.jsxtext/jsx
.py, .pyw, .pyitext/x-python
.rb, .erbtext/x-ruby
.gotext/x-go
.rstext/x-rust
.javatext/x-java-source
.kt, .ktstext/x-kotlin
.swifttext/x-swift
.c, .htext/x-c
.cpp, .cc, .cxx, .hpp, .hhtext/x-c++
.cstext/x-csharp
.scala, .sctext/x-scala
.pl, .pmtext/x-perl
.luatext/x-lua
.rtext/x-r
.clj, .cljs, .cljctext/x-clojure
.darttext/x-dart
.vuetext/x-vue
.sveltetext/x-svelte
—text/x-toml
.vtttext/vtt
.ass, .ssatext/x-ssa
.dockerfiletext/x-dockerfile
.mktext/x-makefile
.bash, .zshtext/x-shellscript
.bat, .cmdtext/x-batch
.ps1, .psm1text/x-powershell
.tex, .ltxtext/x-latex
.bibtext/x-bibtex
.diff, .patchtext/x-diff
.jpg, .jpeg, .jpe, .jfifimage/jpeg
.pngimage/png
.gifimage/gif
.webpimage/webp
.svg, .svgzimage/svg+xml
.avifimage/avif
.heic, .heifimage/heic
.bmp, .dibimage/bmp
.tif, .tiffimage/tiff
.icoimage/x-icon
.icoimage/vnd.microsoft.icon
.apngimage/apng
.jxlimage/jxl
.jp2, .j2k, .jpfimage/jp2
.psdimage/vnd.adobe.photoshop
.dxfimage/vnd.dxf
.emfimage/x-emf
.wmfimage/x-wmf
.ppm, .pgm, .pbmimage/x-portable-pixmap
.pnmimage/x-portable-anymap
.xbmimage/x-xbitmap
.xpmimage/x-xpixmap
.mp3, .mpgaaudio/mpeg
.wavaudio/wav
.oga, .ogg, .opusaudio/ogg
—audio/webm
.aacaudio/aac
.flacaudio/flac
.m4a, .mp4aaudio/mp4
.mid, .midiaudio/x-midi
.wmaaudio/x-ms-wma
.aif, .aiff, .aifcaudio/x-aiff
.amraudio/amr
.m4baudio/x-m4b
.cafaudio/x-caf
.mp4, .m4vvideo/mp4
.webmvideo/webm
.ogvvideo/ogg
.mov, .qtvideo/quicktime
.avivideo/x-msvideo
.mpeg, .mpg, .mpevideo/mpeg
.mkv, .mkavideo/x-matroska
.wmvvideo/x-ms-wmv
.flvvideo/x-flv
.3gp, .3g2video/3gpp
.asfvideo/x-ms-asf
.ts, .m2ts, .mtsvideo/mp2t
.gltfmodel/gltf+json
.glbmodel/gltf-binary
.objmodel/obj
.stlmodel/stl
.usdzmodel/vnd.usdz+zip
.wofffont/woff
.woff2font/woff2
.ttffont/ttf
.otffont/otf
—application/font-woff
.eotapplication/vnd.ms-fontobject
—multipart/form-data
—multipart/related
.emlmessage/rfc822
.sqlite, .db, .sqlite3application/vnd.sqlite3
.isoapplication/x-iso9660-image
.debapplication/x-debian-package
.rpmapplication/x-rpm
.comapplication/x-msdos-program
.mobileconfigapplication/x-apple-aspen-config
.wbxmlapplication/vnd.wap.wbxml
.classapplication/java-vm
—application/x-httpd-eruby
.pcap, .capapplication/vnd.tcpdump.pcap
.p7bapplication/x-pkcs7-certificates
.p8application/pkcs8
—application/x-x509-user-cert
.fdfapplication/vnd.fdf
.fb2application/x-fictionbook+xml
.dviapplication/x-dvi
.texapplication/x-tex
—application/x-font-ttf
—application/x-font-opentype

Nearby workflows on Toolcore

  • HTTP headers — when Content-Type sits beside cache or CORS headers.
  • Data URL — when inlining small assets with a correct MIME prefix.
  • Image convert — when output format should match the declared media type.
  • HTTP fetch — to read the Content-Type a live response actually returns.

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

Related utilities you can open in another tab—mostly client-side.