MIME Type Lookup

Look up a media type by filename extension or find extensions for a media type.

Input

Processed on your device

How to use MIME Type Lookup

Look up known media types to choose a Content-Type or understand an extension. The result shows matching entries from the bundled MIME database.

  1. Enter a type such as image/webp or a file extension such as .webp.
  2. Run the lookup and compare entries when several types use the same suffix.
  3. Select Process input and review the result.
Example input
.webp

Example use

Find the likely Content-Type for a WebP download or check which file suffixes a known media type uses.

Output and compatibility

This is a catalog lookup. It does not inspect the bytes of a file, enforce what a server sends or guarantee how an application will treat an ambiguous extension.

Troubleshooting

If a matching type is absent, consult the specification for the destination. For unknown local bytes, use File Type Detector.

Use File to Base64 to build a data URI when you specifically need embedded bytes.

Frequently asked questions

Can several MIME types share an extension?

Yes. The result can include more than one candidate.

Can it set headers on my website?

It returns lookup information for you to apply in your hosting configuration.

Find a tool