CompleteSEOTools
Home › Developer Tools › MIME Type Lookup

MIME type lookup

Search by file extension, MIME type or a word and copy the Content-Type you need.

About MIME Type Lookup

A MIME type, also called a media type, tells a browser or a server what kind of data a file holds. It is sent in the Content-Type header and used in upload forms, email and APIs. This page lists more than 160 common file extensions with their types and a short description, and you can search either way: type png to get image/png, or type image/webp to see which extensions use it. You can also narrow the table to one top level group such as image, audio or font, and copy any type with one click.

  • Setting the right Content-Type for a download or an API response.
  • Writing an accept list for a file upload field.
  • Checking what type a server should send for a font or a video.
  • Finding which extensions belong to a type you see in a log.

How to use MIME Type Lookup

1

Step 1

Type an extension, a MIME type or a word such as spreadsheet.

2

Step 2

Use the Show only menu to limit the table to one group.

3

Step 3

Press Copy next to the type you want.

Good to know

  • Some types have an official name and a common older one, for example the registered text/javascript against the older application/javascript. The description notes the common cases.
  • Names that start with x- or are marked not registered are in wide use but are not in the IANA registry.
  • The extension only suggests a type. A server should still check the real contents of an uploaded file instead of trusting its name.

Common questions

What if my extension is not listed?

Send application/octet-stream, which means unknown binary data. Browsers will then offer to download the file rather than open it.

Why do some extensions appear twice?

Some extensions are used for two different things. For example .ts is both TypeScript source and an MPEG video stream, so both rows are shown.

Where do these types come from?

They follow the IANA media type registry where a type is registered, plus common practice for the rest. Check the registry if you need a formal reference.