跳到主要內容
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 類型查詢 的輸入在哪裡處理?

可行的處理會在瀏覽器中執行,但不要輸入正式密鑰或客戶資料。

結果可以直接用於正式環境嗎?

複製前請再次確認執行環境、編碼、時區與安全政策等環境差異。