File Signature (Magic Number) Lookup
Paste a file's leading bytes in hex to identify its file type.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
Most file formats begin with a fixed sequence of bytes called a magic number or file signature — for example JPEG images start with FF D8 FF, PDFs with 25 50 44 46 ("%PDF"), and ZIP-based formats (including DOCX and XLSX) with 50 4B 03 04 — that identify the format regardless of the file's extension. Because signatures live in the file's actual content rather than its name, they're the basis for tools like the Unix `file` command and are far more reliable than trusting a renamed or extension-stripped file.
This lookup takes the leading bytes of a file, entered as hex, and matches them against a reference table of common image, archive, document, and executable signatures to identify the true format. Digital forensics investigators, malware analysts, and developers building upload validators or file-type detectors use it to confirm what a file actually is — catching disguised executables, corrupted downloads, or mislabeled files that a simple extension check would miss.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)