使用方法: Magic 位元組識別器
Magic 位元組識別器 是一款免費線上檔案工具工具,可在瀏覽器中即時identify a file type from its signature bytes rather than its extension — the safe way to validate uploads。貼上資料、調整選項即可即時獲得結果——無需安裝、無需註冊,任何資料都不會上傳到伺服器。
說明
Identify a file type from its signature bytes rather than its extension — the safe way to validate uploads.
- 檔案工具
- 由於全部運算都在客戶端完成,使用 API 金鑰、權杖或私有記錄等敏感資料時,Magic 位元組識別器 同樣安全。
使用方法
使用 Magic 位元組識別器 只需三步:
- 將資料貼上到輸入框(或載入範例)。
- 依目標格式或使用情境調整選項。
- 複製、下載或檢視輸出——輸入時結果即時更新。
執行
範例
The PNG signature followed by the start of its IHDR chunk.
輸入
89504E470D0A1A0A0000000D49484452
輸出
Bytes: 89 50 4E 47 0D 0A 1A 0A ASCII: .PNG.... Detected: PNG image Signature matched: 89504E470D0A1A0A → PNG image Detection is by file signature, not by extension — this is how servers should validate uploads, since a client can rename anything to .png.
此输出由工具真实运行产生,并非人工编写。
使用場景
Magic 位元組識別器 常見的使用情境:
- Identify a file type from its signature bytes rather than its extension — the safe way to validate uploads.
參數說明
此工具沒有可設定參數,直接對輸入內容生效。
常見問題
什麼是 Magic Bytes Identifier?
Magic Bytes Identifier 用於identify a file type from its signature bytes rather than its extension — the safe way to validate uploads。它完全在瀏覽器內執行,資料保持私密。
Magic Bytes Identifier 可以免費使用嗎?
可以。Magic Bytes Identifier 免費、無次數限制,無需註冊或安裝。
我的資料會被上傳嗎?
不會。所有處理都在本機瀏覽器完成,不會傳送到任何伺服器。
注意事項
- 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。
相關工具
檔案 to Base64 轉換器Encode any local file to Base64 — nothing is uploaded.Base64to 檔案 DownloaderDecode Base64 back into the original file.檔案雜湊檢查器MD5/SHA-1/SHA-256/SHA-512 of any file, computed locally.檔案 MetadataViewerInspect name, MIME type, size and modification time.檔案 to ZIP 打包器Bundle multiple files into a ZIP archive locally.Base64 編碼器Encode text, JSON, URLs or files to Base64, standard or URL-safe.