使用方法: 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.