首页
Tom Utilities

MIME 类型查询

HTML、CSS 与 JavaScript

查询文件扩展名对应的 MIME 类型并搜索完整参考表。

使用方法

Finding the right content type

Type an extension such as png or a media type such as font to filter the table. Use the value in a Content-Type header.

  1. Search by extension or MIME type.
  2. Read the matching row.
  3. Copy the list if needed.

常见问题

What is the difference between a MIME type and an extension?

The extension names a file on disk, while the MIME type is sent in Content-Type headers to tell a client how to interpret it.

What about font MIME types?

Fonts use types such as font/woff2 or application/font-woff. Search for woff2 to see the entry.