← All text tools

MIME Type Lookup

Look up the MIME type for a file extension, or the extensions for a MIME type, in a searchable table of several hundred entries.

  • Free
  • No sign-up
  • Works on any device

About MIME Type Lookup

Web servers, upload checks and email attachments all depend on the media type, which is sent in the Content-Type header, for example text/css for a stylesheet or image/webp for a picture. This lookup holds several hundred common file extensions. Type an extension such as pdf or .docx to get its MIME type, or type part of a MIME type to list every extension that uses it. A column shows older names that you may still meet, such as image/x-icon for icons, and you can limit the table to text, image, audio, video, font or application types.

How to use MIME Type Lookup

  1. Type a file extension, a MIME type or part of either into the search box.
  2. Optionally limit the table to one kind, such as image or audio.
  3. Copy the type from the highlighted result or from the table row.

Why use this tool?

Also known as

Frequently asked questions

What MIME type should I use for an unknown file?

Use application/octet-stream. It means arbitrary binary data, and browsers treat it as a download instead of trying to display the file.

Should I add a charset to the Content-Type?

For text types, yes: text/html; charset=utf-8 tells the browser how to decode the bytes. Binary types such as image/png or application/pdf do not use a charset.

Why do some extensions list a second name?

Over the years vendors used unregistered names like application/x-gzip before standard ones existed. The extra column shows those so you can recognise them in old configuration.

Is MIME Type Lookup free?

Yes. MIME Type Lookup on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put MIME Type Lookup on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools