AIWalay Tools

MIME Type Lookup

Find the correct MIME type for any file extension, or search MIME types by name. Covers images, audio, video, fonts, documents and archives. Free.

About the MIME Type Lookup

This MIME type lookup helps you set the right Content-Type header for any file. Type an extension like .webp, .woff2 or .csv and get the correct MIME type instantly, or search the other way — enter part of a MIME string or a description to find matching formats.

The reference covers the file types web developers deal with every day: images (including modern AVIF and WebP), audio and video codecs, web fonts, Office and OpenDocument documents, archives and executables, plus text and code formats. It reflects current standards, such as text/javascript for .js per RFC 9239 and application/yaml for YAML.

Getting the MIME type right matters — browsers use it to decide whether to render, download or reject a file, and a wrong Content-Type is a common cause of broken downloads and blocked scripts. Copy any type with one click. The whole database is on the page, so search is instant and offline.

How to Use the MIME Type Lookup

  1. 1Type a file extension (with or without the dot) or a MIME keyword.
  2. 2Browse the matching extensions and MIME types in the table.
  3. 3Copy the exact MIME type you need for your Content-Type header.
  4. 4Use the description column to confirm you've got the right format.

Frequently Asked Questions

What is a MIME type used for?

A MIME type (also called a media type or content type) tells the browser what kind of data a file contains, via the Content-Type header. It decides whether the browser renders the file, offers a download, or refuses it. Serving the wrong type is a frequent cause of broken images, fonts and scripts.

What MIME type should JavaScript files use?

The current standard is text/javascript for .js and .mjs files, as specified in RFC 9239. Older types like application/javascript still work in browsers, but text/javascript is now the recommended value.

What type do I use for an unknown or binary file?

application/octet-stream is the generic type for arbitrary binary data. Browsers treat it as a download rather than trying to render it, which makes it a safe default when no specific type applies.

Why do .doc and .docx have such different MIME types?

The old .doc format uses application/msword, while the modern .docx is an Office Open XML package, so it has the much longer application/vnd.openxmlformats-officedocument.wordprocessingml.document. The same split applies to .xls/.xlsx and .ppt/.pptx.

Related Tools