Developer Tools Runs in your browser Free · no account

MIME Type Lookup

Search a reference of file extensions and their media (MIME) types. Enter an extension such as .webp or a type such as application/pdf to see the match, whether it is text or binary, and whether it is safe to serve inline.

Options
Search 0 characters
MIME types

Your result will appear here.

Not sure where to start? Use Load example.

Results update automatically and are calculated on your device. Nothing you type is sent to a server.

Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.

How to use the MIME Type Lookup

  1. Type a file extension, a MIME type, or a general word such as "image".
  2. Read the matching rows, including whether the format is text or binary.
  3. Use the group filter to browse a whole family of types.

Example

Input
webp
Output
.webp → image/webp (binary, safe to serve inline)

Common use cases

  • Setting the correct Content-Type header when serving a file.
  • Configuring an upload allow-list by media type rather than by extension.
  • Working out why a browser downloads a file instead of displaying it.

Limitations and things to watch for

  • The list covers common web and desktop formats rather than the complete IANA registry, which contains thousands of rarely used entries.
  • A MIME type describes what a file claims to be. Never trust a client-supplied Content-Type for security decisions — validate the file contents on the server as well.

Frequently asked questions

What is a MIME type?
A short label such as text/html or image/png that tells a client what kind of data it is receiving. On the web it is sent in the Content-Type response header and determines how the browser handles the file. The official term is now "media type".
Why does my file download instead of displaying?
Usually because the Content-Type is wrong — often the generic application/octet-stream — or because a Content-Disposition: attachment header is set.
Can I rely on MIME type for upload security?
No. The type a browser sends is supplied by the client and can be forged. Check the file contents server-side and serve user uploads from a separate origin with a strict Content-Type and nosniff header.

Share this tool