跳到主要内容
bobob

MIME 类型查询

按文件扩展名或内容类型查询常见 MIME 类型,用于响应标头和上传检查。

只在浏览器里处理输入的内容不会发送到服务器。

输入与结果

输入的内容只存在这个浏览器。重新打开可以还原上次的操作。

  • 按文件扩展名或内容类型查询常见 MIME 类型,用于响应标头和上传检查。
  • 以浏览器本地方式处理输入,并在复制前检查结果。
常见输入
photo.JPG
用此示例检查 MIME 类型查询 的输入流程。
典型输出
image/jpeg / IANA registered / Content-Type: image/jpeg
复制前用于确认结果格式和后续检查点。
  • 如果浏览器本地处理方式和真实输入结构不一致,输出不能直接信任。
  • 复制的值中如果混入生产密钥、客户数据或内部 URL,分享前必须移除。
  • 计算在浏览器里完成,输入特别长时出结果前可能会卡一下。
  1. 1再次比较原始输入和输出形态。
  2. 2确认目标运行时、编码、时区和安全策略差异。
  • The IANA Media Types registry

    This is where MIME types are officially registered. The 'IANA registered' mark in this tool comes from downloading the registry's CSV files (application, audio, font, image, text, video) on 2026-11-28 and matching every row of the table against them. Names in wide use that the registry does not list, such as video/webm, audio/wav and application/x-tar, are marked as common practice instead.

    依据:IANA Media Types, checked 2026-11-28

  • JavaScript is text/javascript

    RFC 9239 settles JavaScript on the single media type text/javascript and marks application/javascript, application/ecmascript and similar names obsolete. That is why the tool points an old name from legacy code to the registered one.

    依据:RFC 9239 (2022)

  • JSON has no charset parameter

    Section 11 of RFC 8259 registers application/json and notes that no charset parameter is defined for it, because JSON text is exchanged as UTF-8. So the header this tool copies adds ; charset=utf-8 to text/* types only.

    依据:RFC 8259

MIME 类型查询 的输入在哪里处理?

可行的处理会在浏览器中执行,但不要输入生产密钥或客户数据。

结果可以直接用于生产吗?

复制前请再次确认运行环境、编码、时区和安全策略等环境差异。