MIME types reference

Used in the HTTP Content-Type header to tell the browser how to handle a response body.

ExtensionMIME type
.htmltext/html
.htmtext/html
.csstext/css
.jstext/javascript
.jsonapplication/json
.xmlapplication/xml
.txttext/plain
.csvtext/csv
.pdfapplication/pdf
.zipapplication/zip
.gzapplication/gzip
.tarapplication/x-tar
.rarapplication/vnd.rar
.7zapplication/x-7z-compressed
.pngimage/png
.jpg / .jpegimage/jpeg
.gifimage/gif
.webpimage/webp
.svgimage/svg+xml
.icoimage/vnd.microsoft.icon
.bmpimage/bmp
.tiffimage/tiff
.mp3audio/mpeg
.wavaudio/wav
.oggaudio/ogg
.mp4video/mp4
.webmvideo/webm
.avivideo/x-msvideo
.movvideo/quicktime
.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
.odtapplication/vnd.oasis.opendocument.text
.epubapplication/epub+zip
.wofffont/woff
.woff2font/woff2
.ttffont/ttf
.otffont/otf
.phpapplication/x-httpd-php
.shapplication/x-sh
.exeapplication/vnd.microsoft.portable-executable
.wasmapplication/wasm
.apkapplication/vnd.android.package-archive
(none/unknown)application/octet-stream

What is MIME types reference?

A MIME type tells a browser or email client how to handle a file — whether to render it as HTML, display it as an image, or offer it as a download — sent in the HTTP Content-Type header.

How to use it

Search by file extension or by part of the MIME type to find the match.

Example

Searching ".pdf" shows: .pdf -> application/pdf