Skip to content
QKQuickKit日本語
Files & BinaryLOCALRuns in your browser

Magic Number Reference

Identify a likely file format from its leading bytes, or search a curated table of file signatures by name or extension.

This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.

Result

How it works

Paste the first few bytes of a file as hex to see which format signatures match, or type a format name or extension to browse the table. Signatures come from the format specifications and the file(1) magic database (checked 2026-09-01). A match is a strong hint, not proof: ZIP backs docx/xlsx/jar/apk/epub, RIFF backs WAV/WebP/AVI, and CAFEBABE is both a Java class and a Mach-O fat binary. Bytes starting FF FE may be a UTF-16 LE or a UTF-32 LE BOM (FF FE 00 00), and the result says so. When several signatures match, the result says so instead of choosing one, and each entry has a short English and Japanese explanation plus a caution where the leading bytes cannot settle the format (containers, short signatures, byte order marks). A match never shows that a file is complete, safe to open, or what its extension claims, and no match does not mean the file is damaged. Names are searched by format, extension, MIME type, or words of the explanations in either language. Only the first 512 bytes (one tar header block, enough to reach the ustar magic at offset 257) are examined and nothing is transmitted. Use the ELF and PE header tools for a structural breakdown of executables.