MIME Type Reference

Look up MIME types by file extension or find extensions by MIME type. Browse a comprehensive database of common MIME types. All processing done in your browser.

Instant Search 200+ Types Client-Side Processing

Browse by Category

How to Use MIME Type Reference

1

Search or Browse

Type an extension (.html) or MIME type in the search box, or browse categories.

2

View Results

See matching MIME types with their extensions and categories.

3

Copy

Click on any result to copy the MIME type or extension.

What are MIME Types?

MIME (Multipurpose Internet Mail Extensions) types are standardized identifiers that describe the nature and format of a document, file, or assortment of bytes. They are used in email systems, web servers, and web browsers to determine how content should be processed and displayed.

MIME Type Structure

Format

MIME types follow the format type/subtype (e.g., text/html)

Common Types

Application, audio, image, text, video, font, and model

Usage

Used in HTTP Content-Type headers, email, and file upload validation

Frequently Asked Questions

What is a MIME type used for?

MIME types tell browsers and servers what kind of content they are handling. When a web server sends a file, it includes the MIME type in the Content-Type header so the browser knows how to display or process it.

What if my file extension is not listed?

This database covers the most common MIME types. For less common types, you can refer to the IANA (Internet Assigned Numbers Authority) official registry which maintains the complete list.

Can a file have multiple MIME types?

Some file extensions can map to multiple MIME types depending on context. For example, .js can be application/javascript or text/javascript. This tool shows the most commonly used mapping.

What is the structure of a MIME type?

type/subtype plus optional parameters, standardized by RFC 6838: text/html; charset=utf-8, or multipart/form-data; boundary=----WebKitFormBoundary. The type is the broad category - application, audio, font, image, text, video, among the IANA-registered trees - and parameters carry details like charset or the multipart boundary.

What does application/octet-stream mean?

It is the fallback: unknown binary data. Servers send it when the type is unknown or when forcing a download, and clients respond by saving the file rather than opening it. Receiving octet-stream for a document you expected to render usually means a missing or wrong mapping server-side.

What is MIME sniffing and how is it disabled?

Browsers inspect the first bytes of a response to guess its actual type when Content-Type is missing or generic - and whether a payload is treated as HTML or script has security implications, so the algorithm is specified. A server sends X-Content-Type-Options: nosniff to insist the declared type be obeyed, which stops, for example, a JSON reply from being rendered as HTML.

Which MIME types matter most for web development?

text/html and text/css for pages and styles; text/javascript (the current standardized value for scripts) ; application/json for APIs; multipart/form-data for file uploads; image/svg+xml for scalable graphics; and application/wasm for WebAssembly module responses. Getting these right affects execution mode, security, and CORS handling.

What are multipart MIME types used for?

They are containers packing several parts of different types into one message, each part with its own headers and a boundary delimiter. multipart/form-data carries form file uploads in HTTP; multipart/alternative lets email offer the same content as plain text and HTML; multipart/byteranges powers resumable downloads over HTTP Range requests.

{-- * External Resources Component(#18 Phase 3b 内容佐证工程) * 工具页「权威引用」区块:RFC / W3C / WHATWG / ECMA / IANA / 官方规范站 / Wikipedia。 * * - 接受 :slug 属性 → 经 config/tool-sources.php 家族矩阵渲染该工具的权威引用 * - slug 未命中映射时不渲染(无权威来源的工具静默跳过) * - 链接 title 保持英文(引用源专名);description 经 * common.resources.descriptions.{key} 本地化,lang 未命中回退英文(线上不裸奔) * - 链接保持 dofollow(rel="noopener noreferrer") * * @param string|null $slug --}}