MIME types
A MIME type is the label a server, email client or upload form attaches to a file to say what it is. It is assigned from the filename, not the content, which is why it is often wrong and why reading the bytes is the reliable check.
186 types across 9 top-level categories, each linked to the formats that use it.
application/
- application/dicomDICOM
- application/epub+zipEPUB
- application/gpx+xmlGPX
- application/gzipGZIP
- application/java-archiveJAR
- application/java-vmJAVABYTECODE
- application/jsonJSON
- application/jsonlJSONL
- application/mboxMBOX
- application/msixMSIX
- application/mswordDOC
- application/octet-streamDEX, DSSTORE, PYTORCH, SQUASHFS, STLBINARY, THUMBSDB, NPY, ONNX, PARQUET, PDB, PICKLE, PYTHONBYTECODE
- application/onenoteONE
- application/pdfPDF
- application/postscriptAI, POSTSCRIPT
- application/rdf+xmlRDF
- application/rtfRTF
- application/vnd.android.package-archiveAPK
- application/vnd.debian.binary-packageDEB
- application/vnd.ms-cab-compressedCAB
- application/vnd.ms-excelXLS
- application/vnd.ms-excel.sheet.binary.macroEnabled.12XLSB
- application/vnd.ms-htmlhelpCHM
- application/vnd.ms-outlookOUTLOOK
- application/vnd.ms-pki.seccatCAT
- application/vnd.ms-powerpointPPT
- application/vnd.oasis.opendocument.presentationODP
- application/vnd.oasis.opendocument.spreadsheetODS
- application/vnd.oasis.opendocument.textODT
- application/vnd.openxmlformats-officedocument.presentationml.presentationPPTX
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheetXLSX
- application/vnd.openxmlformats-officedocument.wordprocessingml.documentDOCX
- application/vnd.rarRAR
- application/vnd.snapSNAP
- application/vnd.sqlite3SQLITE
- application/vnd.tcpdump.pcapPCAP
- application/vnd.visioVISIO
- application/wasmWASM
- application/winhlpHLP
- application/x-7z-compressedSEVENZIP
- application/x-ace-compressedACE
- application/x-apple-diskimageDMG
- application/x-batBATCH
- application/x-bittorrentTORRENT
- application/x-bzip2BZIP
- application/x-chrome-extensionCRX
- application/x-executableELF
- application/x-hdfH5
- application/x-ipynb+jsonIPYNB
- application/x-iso9660-imageISO
- application/x-lhaLHA
- application/x-lz4LZ4
- application/x-mach-binaryMACHO
- application/x-ms-shortcutLNK
- application/x-mscompressMSCOMPRESS
- application/x-msdownloadPEBIN
- application/x-msiMSI
- application/x-mspublisherPUB
- application/x-objectCOFF
- application/x-pem-filePEM
- application/x-plistAPPLEBPLIST, APPLEPLIST
- application/x-rpmRPM
- application/x-shockwave-flashSWF
- application/x-tarTAR
- application/x-x509-ca-certCRT
- application/x-xarXAR
- application/x-xpinstallXPI
- application/x-xzXZ
- application/zipZIP, NPZ, NUPKG
- application/zlibZLIBSTREAM
- application/zstdZST
audio/
- audio/flacFLAC
- audio/midiMIDI
- audio/mpegMP3
- audio/oggOGG
- audio/wavWAV
- audio/x-mpegurlM3U
- audio/x-ms-wmaWMA
chemical/
- chemical/x-pdbPROTEINDB
font/
- font/otfOTF
- font/ttfTTF
- font/woffWOFF
- font/woff2WOFF2
image/
- image/avifAVIF
- image/bmpBMP
- image/emfEMF
- image/gifGIF
- image/heifHEIF
- image/icnsICNS
- image/jp2JP2
- image/jpegJPEG
- image/jxlJXL
- image/pngPNG
- image/svg+xmlSVG
- image/tiffTIFF
- image/vnd.adobe.photoshopPSD
- image/vnd.dwgDWG
- image/vnd.dxfDXF
- image/webpWEBP
- image/wmfWMF
- image/x-iconICO
- image/x-tgaTGA
- image/x-xcfXCF
message/
- message/rfc822EML, MHT
model/
- model/3mf3MF
text/
- text/calendarICS
- text/cssCSS
- text/csvCSV
- text/htmlHTML
- text/javascriptJAVASCRIPT
- text/markdownMARKDOWN
- text/plainAIDL, AUTOHOTKEY, AUTOIT, BAZEL, DM, DOCKERFILE, GITATTRIBUTES, GITMODULES, HCL, HTACCESS, IGNOREFILE, INI, INTERNETSHORTCUT, NPMIGNORE, PROTOBUF, SMALI, SRT, STLTEXT, SUM, TEXTPROTO, TOML, TXT, WINREGISTRY, YARA, M4, PROTO
- text/sgmlSGML
- text/tab-separated-valuesTSV
- text/typescriptTYPESCRIPT
- text/vcardVCARD
- text/vttVTT
- text/x-asmASM
- text/x-aspASP
- text/x-awkAWK
- text/x-bibtexBIB
- text/x-cC
- text/x-c++CPP
- text/x-clojureCLOJURE
- text/x-cmakeCMAKE
- text/x-cobolCOBOL
- text/x-coffeescriptCOFFEESCRIPT
- text/x-csharpCS
- text/x-dartDART
- text/x-diffDIFF
- text/x-elixirELIXIR
- text/x-erlangERLANG
- text/x-fortranFORTRAN
- text/x-gettext-translationPO
- text/x-goGO
- text/x-gradleGRADLE
- text/x-groovyGROOVY
- text/x-handlebars-templateHANDLEBARS
- text/x-haskellHASKELL
- text/x-java-sourceJAVA
- text/x-jinja2JINJA
- text/x-juliaJULIA
- text/x-kotlinKOTLIN
- text/x-lispLISP
- text/x-luaLUA
- text/x-makefileMAKEFILE
- text/x-matlabMATLAB
- text/x-nimNIM
- text/x-nixNIX
- text/x-objcOBJECTIVEC
- text/x-ocamlOCAML
- text/x-pascalPASCAL
- text/x-perlPERL
- text/x-phpPHP
- text/x-powershellPOWERSHELL
- text/x-prologPROLOG
- text/x-pythonPYTHON
- text/x-qmlQT
- text/x-rR
- text/x-rstRST
- text/x-rubyERB, GEMFILE, GEMSPEC, RUBY
- text/x-rustRUST
- text/x-scalaSCALA
- text/x-scssSCSS
- text/x-shellscriptSHELL
- text/x-soliditySOLIDITY
- text/x-sqlSQL
- text/x-swiftSWIFT
- text/x-tclTCL
- text/x-texLATEX
- text/x-twigTWIG
- text/x-vbaVBA
- text/x-verilogVERILOG
- text/x-vhdlVHDL
- text/x-vueVUE
- text/x-zigZIG
- text/xmlCSPROJ, MUM, VCXPROJ, XML
- text/yamlYAML
video/
- video/3gpp3GP
- video/mp2tMPEGTS
- video/mp4MP4
- video/webmWEBM
- video/x-flvFLV
- video/x-matroskaMKV
- video/x-ms-wmvWMV
- video/x-msvideoAVI