代码、数据与二维码工具

MIME类型

提供MIMEtypes的交互处理。

优先本地处理无需注册隐私说明 ↗

Search a built-in list of common web, document, archive, audio, and video types. No request is made.

Enter an extension such as .json or a type such as application/pdf.

使用步骤

如何使用

  1. Enter an extension such as .png or a MIME type such as image/png.
  2. Choose whether to search extensions, MIME types, or both.
  3. Copy the matching MIME type when you need it for HTTP headers, uploads, or code.

A practical reference

The table covers common text, image, audio, video, document, archive, font, and application formats used on the web. Search is case-insensitive and accepts an optional leading dot before an extension.

MIME types depend on context

A MIME type describes the media format, but a browser or server may still apply its own sniffing, upload policy, or content-disposition rules. Confirm the type against the format you actually generated and set security headers appropriately.

常见问题

你可能还想知道

Should I include the leading dot?

Either form works. The lookup treats png and .png as the same extension.

Can this identify an unknown file from its bytes?

No. It is a reference lookup by extension or MIME name and does not inspect file contents.

Does the lookup contact a server?

No. The reference data and search run entirely in your browser.