MIME类型
提供MIMEtypes的交互处理。
使用步骤
如何使用
- Enter an extension such as .png or a MIME type such as image/png.
- Choose whether to search extensions, MIME types, or both.
- 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.