🍱 Lunchbox Hands

MIME Type Reference

Look up MIME types by file extension — searchable content-type reference

287 types
ExtensionMIME typeWhat it isCopy
.3g2video/3gpp23G2 video
.3gpvideo/3gpp3GPP video
.3gppaudio/3gpp3GPP audio
.7zapplication/x-7z-compressed7-Zip archive
.aacaudio/aacAAC audio
.adpaudio/adpcmADP audio
.adtsaudio/aacADTS audio
.aiapplication/postscriptAI document
.amraudio/amrAMR audio
.apkapplication/vnd.android.package-archiveAndroid package
.apngimage/apngAPNG image
.appcachetext/cache-manifestAPPCACHE text
.ascapplication/pgp-keysASC other
.atomapplication/atom+xmlATOM data
.auaudio/basicAU audio
.avciimage/avciAVCI image
.avcsimage/avcsAVCS image
.avivideo/x-msvideoAVI video
.avifimage/avifAVIF image
.azwapplication/vnd.amazon.ebookAZW document
.batapplication/x-msdownloadBAT other
.binapplication/octet-streamBinary data
.bmpimage/bmpBitmap image
.bozapplication/x-bzip2BOZ archive
.bpkapplication/octet-streamBPK other
.bufferapplication/octet-streamBUFFER other
.bz2application/x-bzip2Bzip2 archive
.cgmimage/cgmCGM image
.coffeetext/coffeescriptCOFFEE text
.comapplication/x-msdownloadCOM other
.conftext/plainCONF text
.crtapplication/x-x509-ca-certCRT other
.csstext/cssCSS stylesheet
.csvtext/csvComma-separated values
.debapplication/octet-streamDEB other
.deftext/plainDEF text
.deployapplication/octet-streamDEPLOY other
.derapplication/x-x509-ca-certDER other
.dibimage/bmpDIB image
.distapplication/octet-streamDIST other
.distzapplication/octet-streamDISTZ other
.dllapplication/octet-streamDLL other
.dmgapplication/octet-streamApple disk image
.dmsapplication/octet-streamDMS other
.docapplication/mswordWord 97-2003 document
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord document
.dotapplication/mswordDOT document
.dpximage/dpxDPX image
.drleimage/dicom-rleDRLE image
.dumpapplication/octet-streamDUMP other
.earapplication/java-archiveEAR archive
.ecmaapplication/ecmascriptECMA text
.elcapplication/octet-streamELC other
.emfimage/emfEMF image
.eotapplication/vnd.ms-fontobjectEmbedded OpenType font
.epsapplication/postscriptEPS document
.epubapplication/epub+zipEPUB e-book
.exeapplication/octet-streamWindows executable
.exrimage/acesEXR image
.fitsimage/fitsFITS image
.flacaudio/x-flacFLAC audio
.flvvideo/x-flvFlash video
.g3image/g3faxG3 image
.geojsonapplication/geo+jsonGEOJSON data
.gifimage/gifGIF image
.gpxapplication/gpx+xmlGPX data
.gzapplication/gzipGzip archive
.h261video/h261H261 video
.h263video/h263H263 video
.h264video/h264H264 video
.heicimage/heicHEIC image (iPhone)
.heicsimage/heic-sequenceHEICS image
.heifimage/heifHEIF image
.heifsimage/heif-sequenceHEIFS image
.hej2image/hej2kHEJ2 image
.htmtext/htmlHTML document
.htmltext/htmlHTML document
.icoimage/vnd.microsoft.iconIcon
.icstext/calendariCalendar
.iefimage/iefIEF image
.ifbtext/calendarIFB text
.imgapplication/octet-streamIMG other
.intext/plainIN text
.initext/plainINI text
.isoapplication/octet-streamDisc image
.jadetext/jadeJADE text
.jaiiimage/jaiiJAII image
.jaisimage/jaisJAIS image
.jarapplication/java-archiveJava archive
.jfifimage/pjpegJFIF image
.jhcimage/jphcJHC image
.jlsimage/jlsJLS image
.jp2image/jp2JP2 image
.jpeimage/jpegJPE image
.jpegimage/jpegJPEG image
.jpfimage/jpxJPF image
.jpgimage/jpegJPEG image
.jpg2image/jp2JPG2 image
.jpgmimage/jpmJPGM image
.jpgvvideo/jpegJPGV video
.jphimage/jphJPH image
.jpmimage/jpmJPM image
.jpximage/jpxJPX image
.jstext/javascriptJavaScript
.jsonapplication/jsonJSON data
.jsonldapplication/ld+jsonJSONLD data
.jsxtext/jsxJSX text
.jxlimage/jxlJXL image
.jxrimage/jxrJXR image
.jxraimage/jxraJXRA image
.jxrsimage/jxrsJXRS image
.jxsimage/jxsJXS image
.jxscimage/jxscJXSC image
.jxsiimage/jxsiJXSI image
.jxssimage/jxssJXSS image
.karaudio/midiKAR audio
.kmlapplication/vnd.google-earth.kml+xmlKML data
.ktximage/ktxKTX image
.ktx2image/ktx2KTX2 image
.lesstext/lessLESS text
.listtext/plainLIST text
.litcoffeetext/coffeescriptLITCOFFEE text
.logtext/plainLOG text
.lrfapplication/octet-streamLRF other
.m1vvideo/mpegM1V video
.m2aaudio/mpegM2A audio
.m2tvideo/mp2tM2T video
.m2tsvideo/mp2tM2TS video
.m2vvideo/mpegM2V video
.m3aaudio/mpegM3A audio
.m3u8application/vnd.apple.mpegurlHLS playlist
.m4aaudio/mp4MPEG-4 audio
.m4baudio/mp4M4B audio
.m4papplication/mp4M4P video
.m4svideo/iso.segmentM4S video
.m4vvideo/x-m4vMPEG-4 video
.mantext/troffMAN text
.manifesttext/cache-manifestMANIFEST text
.mapapplication/jsonMAP data
.marapplication/octet-streamMAR other
.markdowntext/markdownMarkdown
.mboxapplication/mboxMBOX data
.mdtext/markdownMarkdown
.mdxtext/mdxMDX text
.metext/troffME text
.midaudio/midiMIDI
.midiaudio/midiMIDI
.mj2video/mj2MJ2 video
.mjp2video/mj2MJP2 video
.mjstext/javascriptJavaScript module
.mk3dvideo/x-matroskaMK3D video
.mksvideo/x-matroskaMKS video
.mkvvideo/x-matroskaMatroska video
.mmltext/mathmlMML text
.mobiapplication/x-mobipocket-ebookMOBI document
.movvideo/quicktimeQuickTime video
.mp2audio/mpegMP2 audio
.mp2aaudio/mpegMP2A audio
.mp3audio/mpegMP3 audio
.mp4video/mp4MPEG-4 video
.mp4aaudio/mp4MP4A audio
.mp4sapplication/mp4MP4S video
.mp4vvideo/mp4MP4V video
.mpdapplication/dash+xmlMPD video
.mpevideo/mpegMPE video
.mpegvideo/mpegMPEG video
.mpgvideo/mpegMPEG video
.mpg4video/mp4MPG4 video
.mpgaaudio/mpegMPGA audio
.mpkgapplication/vnd.apple.installer+xmlMPKG other
.mstext/troffMS text
.msgapplication/vnd.ms-outlookMSG document
.msiapplication/octet-streamMSI other
.msmapplication/octet-streamMSM other
.mspapplication/octet-streamMSP other
.mtsvideo/mp2tMTS video
.mxmfaudio/mobile-xmfMXMF audio
.n3text/n3N3 text
.odpapplication/vnd.oasis.opendocument.presentationOpenDocument presentation
.odsapplication/vnd.oasis.opendocument.spreadsheetOpenDocument spreadsheet
.odtapplication/vnd.oasis.opendocument.textOpenDocument text
.ogaaudio/oggOgg audio
.oggaudio/oggOgg audio
.ogvvideo/oggOGV video
.ogxapplication/oggOGX audio
.opusaudio/oggOpus audio
.otffont/otfOpenType font
.p10application/pkcs10P10 other
.p12application/x-pkcs12P12 other
.p8application/pkcs8P8 other
.pdfapplication/pdfPDF document
.pemapplication/x-x509-ca-certPEM other
.pfxapplication/x-pkcs12PFX other
.phpapplication/x-httpd-phpPHP script
.pkgapplication/octet-streamPKG other
.pngimage/pngPNG image
.potapplication/vnd.ms-powerpointPOT document
.ppsapplication/vnd.ms-powerpointPPS document
.pptapplication/vnd.ms-powerpointPowerPoint 97-2003 presentation
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint presentation
.prcapplication/x-mobipocket-ebookPRC document
.psapplication/postscriptPS document
.psdimage/vnd.adobe.photoshopPhotoshop document
.qtvideo/quicktimeQT video
.rarapplication/vnd.rarRAR archive
.rmiaudio/midiRMI audio
.rngapplication/xmlRNG data
.rofftext/troffROFF text
.rssapplication/rss+xmlRSS data
.rtfapplication/rtfRTF document
.rtxtext/richtextRTX text
.s3maudio/s3mS3M audio
.sgiimage/sgiSGI image
.sgmtext/sgmlSGM text
.sgmltext/sgmlSGML text
.shapplication/x-shShell script
.shextext/shexSHEX text
.shtmltext/htmlSHTML text
.sigapplication/pgp-signatureSIG other
.silaudio/silkSIL audio
.slimtext/slimSLIM text
.slmtext/slimSLM text
.sndaudio/basicSND audio
.soapplication/octet-streamSO other
.spdxtext/spdxSPDX text
.spxaudio/oggSPX audio
.sqlapplication/sqlSQL script
.styltext/stylusSTYL text
.stylustext/stylusSTYLUS text
.svgimage/svg+xmlSVG vector image
.svgzimage/svg+xmlSVGZ image
.swfapplication/x-shockwave-flashSWF other
.ttext/troffT text
.t38image/t38T38 image
.tarapplication/x-tarTarball
.texttext/plainTEXT text
.tfximage/tiff-fxTFX image
.tifimage/tiffTIFF image
.tiffimage/tiffTIFF image
.tomlapplication/tomlTOML data
.torrentapplication/x-bittorrentTORRENT other
.trtext/troffTR text
.tsvideo/mp2tMPEG transport stream
.tsvtext/tab-separated-valuesTab-separated values
.ttcfont/collectionTTC font
.ttffont/ttfTrueType font
.ttltext/turtleTTL text
.txttext/plainPlain text
.uritext/uri-listURI text
.uristext/uri-listURIS text
.urlstext/uri-listURLS text
.vcardtext/vcardVCARD text
.vcftext/x-vcardvCard contact
.vsdapplication/vnd.visioVSD document
.vsdxapplication/vnd.visioVSDX document
.vssapplication/vnd.visioVSS document
.vstapplication/vnd.visioVST document
.vswapplication/vnd.visioVSW document
.vtttext/vttVTT text
.vtxapplication/vnd.visioVTX document
.warapplication/java-archiveWAR archive
.wasmapplication/wasmWebAssembly binary
.wavaudio/wavWAV audio
.webaaudio/webmWebM audio
.webmvideo/webmWebM video
.webmanifestapplication/manifest+jsonWEBMANIFEST data
.webpimage/webpWebP image
.wgsltext/wgslWGSL text
.wmfimage/wmfWMF image
.wmvvideo/x-ms-wmvWindows Media video
.wofffont/woffWeb font (WOFF)
.woff2font/woff2Web font (WOFF2)
.xlaapplication/vnd.ms-excelXLA document
.xlcapplication/vnd.ms-excelXLC document
.xlmapplication/vnd.ms-excelXLM document
.xlsapplication/vnd.ms-excelExcel 97-2003 spreadsheet
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel spreadsheet
.xltapplication/vnd.ms-excelXLT document
.xlwapplication/vnd.ms-excelXLW document
.xmaudio/xmXM audio
.xmlapplication/xmlXML document
.xsdapplication/xmlXSD data
.xslapplication/xmlXSL data
.xzapplication/x-xzXZ archive
.yamltext/yamlYAML data
.ymltext/yamlYAML data
.zipapplication/zipZIP archive

A quick reference for the Content-Type values behind every common file format: search by extension or MIME type, filter by kind, and copy the exact string for your server config, upload validator, or API response. The dataset is generated from the same mime-db registry Node and Express use, trimmed to the types you actually meet in practice.

Everything runs in your browser; nothing is uploaded. Debugging a response? The HTTP status code reference and HTTP header analyzer cover the rest of the response, and the Base64 encoder helps when you need a data: URI with the right media type prefix.

Frequently asked questions

What is a MIME type?

A MIME type (also called a media type or content type) is a two-part identifier like image/png or application/json that tells software what kind of data a file or HTTP response contains. Browsers use it — via the Content-Type header — to decide whether to render, play, download, or execute what the server sent, regardless of the file extension.

How do I find the MIME type for a file extension?

Type the extension into the search box above, with or without the leading dot. The table shows the registered MIME type, what the format is, and a copy button. You can also paste a MIME type like application/pdf to find which extensions map to it.

What MIME type should I use for unknown or binary files?

application/octet-stream is the generic type for arbitrary binary data. Browsers will download rather than render it. Only fall back to it when nothing more specific exists — serving a real type (say video/mp4) enables streaming, previews, and correct handling.

Why does my server send the wrong Content-Type?

Most web servers map extensions to MIME types with a lookup table, and unusual extensions fall through to a default. Fix it by adding the mapping to your server config (types block in nginx, AddType in Apache, or explicit headers on your CDN). Getting it wrong breaks things silently: JavaScript modules require text/javascript, WOFF2 fonts want font/woff2, and WebAssembly requires application/wasm for streaming compilation.

What is the difference between text/plain and application/octet-stream?

text/plain tells the browser the bytes are human-readable text and it may display them inline; application/octet-stream says "opaque binary — do not interpret", which triggers a download. Serving user uploads back as octet-stream (or with X-Content-Type-Options: nosniff) is also a common defense against content-sniffing attacks.

Get weekly dev tools and tips