All tools

MIME Type Lookup

Find the correct MIME type for any file extension.

Showing 38 of 38 entries

ExtensionMIME TypeDescription
.htmltext/htmlHyperText Markup Language
.csstext/cssCascading Style Sheets
.jstext/javascriptJavaScript
.mjstext/javascriptJavaScript module
.jsonapplication/jsonJSON data
.xmlapplication/xmlXML data
.csvtext/csvComma-separated values
.txttext/plainPlain text
.mdtext/markdownMarkdown
.pdfapplication/pdfAdobe Portable Document Format
.zipapplication/zipZIP archive
.gzapplication/gzipGzip archive
.tarapplication/x-tarTar archive
.pngimage/pngPNG image
.jpgimage/jpegJPEG image
.jpegimage/jpegJPEG image
.gifimage/gifGIF image
.webpimage/webpWebP image
.svgimage/svg+xmlScalable Vector Graphics
.icoimage/x-iconIcon image
.avifimage/avifAV1 image format
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.oggaudio/oggOgg audio
.mp4video/mp4MP4 video
.webmvideo/webmWebM video
.wofffont/woffWeb Open Font Format
.woff2font/woff2Web Open Font Format 2
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.docapplication/mswordMicrosoft Word (legacy)
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word
.xlsapplication/vnd.ms-excelMicrosoft Excel (legacy)
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel
.pptapplication/vnd.ms-powerpointMicrosoft PowerPoint (legacy)
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint
.wasmapplication/wasmWebAssembly
.binapplication/octet-streamArbitrary binary data

What Are MIME Types?

A MIME type (also called a media type or content type) tells browsers and servers what kind of data a file contains. Setting the correct Content-Type header ensures files are interpreted correctly instead of being downloaded or rendered as plain text.

Anatomy of a MIME type

A MIME type has a type and a subtype separated by a slash, such as text/html, image/png, or application/json. The type is the general category and the subtype is the exact format.

Why it matters

  • Browsers decide how to render a response by its type
  • Wrong types cause downloads instead of display
  • APIs negotiate formats via Accept and Content-Type
  • Security tools rely on correct types to block scripts

Serving files correctly

When you serve static files or build an API, always send an accurate Content-Type header. A JSON endpoint should return application/json, a stylesheet text/css, and a download you want forced should use application/octet-stream. Mislabelled types are a common cause of broken pages and rejected uploads.

Frequently Asked Questions

Common questions about the MIME Type Lookup.

What is a MIME type?
A MIME type (or media type) such as text/html or application/json tells browsers and servers what kind of data a file contains.
Why does the Content-Type matter?
Sending the correct Content-Type header ensures files are rendered or downloaded correctly and is important for both functionality and security.
Is this tool free?
Yes. It is a free, searchable reference with no sign-up.

More Developer Utilities

View all tools →
JSON ValidatorJSON MinifierJSON to CSVCSV to JSONJSON to XMLXML to JSONJSON to YAMLYAML to JSON
File Transfer