tools/data/mime lookup
// datanew

mime lookup

find the right mime type for any file extension

// client-only
extension mime type content-type
// procustom extension mappingpro·bulk lookup via APIproupgrade →

// about this tool

MIME types (Media Types) tell browsers and servers what kind of data is in a file or HTTP response. Serving a file with the wrong Content-Type can cause browsers to refuse to render it, trigger security warnings, or misinterpret the data.

// when to use

  • Find the correct Content-Type header for a file you are serving
  • Check what MIME type a browser expects for a given extension
  • Configure a web server to serve obscure file types correctly
  • Verify that your API is returning the right Content-Type

// faq

Why does the wrong MIME type matter?
Browsers use the Content-Type header (not the file extension) to decide how to process a response. Serving JavaScript as text/plain prevents execution; serving an SVG as image/jpeg prevents it from rendering. Incorrect MIME types also trigger browser MIME-sniffing, which can create security vulnerabilities.
What is application/octet-stream?
This is the generic binary MIME type. Browsers treat it as a file download. Use it as a fallback when the actual type is unknown, or when you want to force a download instead of in-browser rendering.
// history
Pro Cloud Sync — upgrade
no operations yet