utilitech

MIME Type Lookup

Find the MIME type for a file extension or the extensions for a type, or drop a file to detect its real type.

94 MIME types

ExtensionMIME typeDescription
.html .htmtext/htmlHTML document
.csstext/cssCSS stylesheet
.txt .text .logtext/plainPlain text
.csvtext/csvComma-separated values
.tsvtext/tab-separated-valuesTab-separated values
.md .markdowntext/markdownMarkdown
.icstext/calendariCalendar event
.vcftext/vcardvCard contact
.rtfapplication/rtfRich Text Format
.js .mjs .cjstext/javascriptJavaScript
.ts .mts .ctstext/typescriptTypeScript (often served as video/mp2t — set it explicitly)
.jsonapplication/jsonJSON
.jsonldapplication/ld+jsonJSON-LD
.mapapplication/jsonSource map
.webmanifestapplication/manifest+jsonWeb app manifest
.xmlapplication/xmlXML
.xsl .xsltapplication/xslt+xmlXSLT stylesheet
.rssapplication/rss+xmlRSS feed
.atomapplication/atom+xmlAtom feed
.yaml .ymlapplication/yamlYAML
.tomlapplication/tomlTOML
.sqlapplication/sqlSQL
.wasmapplication/wasmWebAssembly
.graphql .gqlapplication/graphql-response+jsonGraphQL
.phpapplication/x-httpd-phpPHP script
.pytext/x-pythonPython script
.shapplication/x-shShell script
.pngimage/pngPNG image
.jpg .jpeg .jfifimage/jpegJPEG image
.gifimage/gifGIF image
.webpimage/webpWebP image
.avifimage/avifAVIF image
.svg .svgzimage/svg+xmlSVG vector image
.icoimage/vnd.microsoft.iconIcon (also image/x-icon)
.bmpimage/bmpBitmap image
.tif .tiffimage/tiffTIFF image
.heicimage/heicHEIC image (iPhone)
.heifimage/heifHEIF image
.jxlimage/jxlJPEG XL image
.psdimage/vnd.adobe.photoshopPhotoshop document
.apngimage/apngAnimated PNG
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.ogg .ogaaudio/oggOgg audio
.opusaudio/opusOpus audio
.m4aaudio/mp4MPEG-4 audio
.aacaudio/aacAAC audio
.flacaudio/flacFLAC audio
.webaaudio/webmWebM audio
.mid .midiaudio/midiMIDI
.mp4 .m4vvideo/mp4MPEG-4 video
.webmvideo/webmWebM video
.ogvvideo/oggOgg video
.movvideo/quicktimeQuickTime video
.avivideo/x-msvideoAVI video
.mkvvideo/x-matroskaMatroska video
.mpeg .mpgvideo/mpegMPEG video
.3gpvideo/3gpp3GPP video
.m3u8application/vnd.apple.mpegurlHLS playlist
.woff2font/woff2WOFF2 font
.wofffont/woffWOFF font
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.eotapplication/vnd.ms-fontobjectEmbedded OpenType font
.pdfapplication/pdfPDF document
.docapplication/mswordWord 97–2003
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord document
.xlsapplication/vnd.ms-excelExcel 97–2003
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel workbook
.pptapplication/vnd.ms-powerpointPowerPoint 97–2003
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint presentation
.odtapplication/vnd.oasis.opendocument.textOpenDocument text
.odsapplication/vnd.oasis.opendocument.spreadsheetOpenDocument spreadsheet
.odpapplication/vnd.oasis.opendocument.presentationOpenDocument presentation
.epubapplication/epub+zipEPUB e-book
.zipapplication/zipZIP archive
.gz .tgzapplication/gzipGzip archive
.tarapplication/x-tarTar archive
.7zapplication/x-7z-compressed7-Zip archive
.rarapplication/vnd.rarRAR archive
.bz2application/x-bzip2Bzip2 archive
.xzapplication/x-xzXZ archive
.zstapplication/zstdZstandard archive
.exe .dllapplication/vnd.microsoft.portable-executableWindows program
.msiapplication/x-msiWindows installer
.apkapplication/vnd.android.package-archiveAndroid app
.dmgapplication/x-apple-diskimagemacOS disk image
.debapplication/vnd.debian.binary-packageDebian package
.isoapplication/x-iso9660-imageDisc image
.jarapplication/java-archiveJava archive
.sqlite .dbapplication/vnd.sqlite3SQLite database
.binapplication/octet-streamBinary data (the generic fallback)
.pem .crt .cerapplication/x-pem-fileCertificate (PEM; DER is application/pkix-cert)
.p12 .pfxapplication/x-pkcs12PKCS#12 key store
How to use
  • Type an extension (.webp), part of a type (image/) or a word (font) to find the right Content-Type. Click the copy icon to copy it.
  • Drop files to see what they really are. The type is read from the file's first bytes (its “magic number”), so a renamed file — say a .exe renamed to .pdf — is caught.
Good to know
  • Servers send the MIME type in the Content-Type header. A wrong type can stop scripts or styles loading (browsers block them with X-Content-Type-Options: nosniff).
  • For text types add a charset: text/html; charset=utf-8.
  • application/octet-stream means “unknown binary” — browsers download it instead of opening it.
  • Files are checked in your browser and never uploaded.