MIME Type Lookup

Type a file name or extension to get its MIME type, or a MIME type to see which extensions use it.

Use the tool

Loading the tool…

About MIME Type Lookup

Find the MIME type for a file name or extension, such as .webp, or look up the extensions that go with a MIME type, such as application/pdf. MIME types tell a browser or server what kind of file it is sending.

Worked example

Enter `photo.JPG` to see its MIME type. Enter `application/pdf` to see the extensions that match it.

Limits

The lookup covers the common types in the tool's list. A file's real type depends on its contents, so a renamed file can still be a different type.

How to use MIME Type Lookup

  1. Choose the direction.
  2. Type the file name, extension or MIME type.
  3. Copy the result.

Good to know

  • Only the end of the file name is used, with a few double endings such as .tar.gz.
  • The table covers common types only. The full list is kept by IANA.
  • A MIME type says how a server describes a file, not what the file really is.

Frequently asked questions

What is a MIME type?

A label such as text/html or image/png that tells software what kind of data a file holds.

What if my type is missing?

Servers use application/octet-stream for unknown binary files.