Interpret the table as a one-way function: the magic number generally indicates the file type whereas the file type does not always have the given magic number. Comments, additions, and queries can be sent to Gary Kessler at list is not exhaustive although I add new files as I find them or someone contributes signatures. See also Wikipedia's List of file signatures. Jenkinson (Springer, 2000) that was my inspiration to start this list in 2002. I had found little information on this in a single place, with the exception of the table in Forensic Computing: A Practitioner's Guide by T.
This table of file signatures (aka 'magic numbers') is a continuing work-in-progress. File Signatures GCK'S FILE SIGNATURES TABLE 03 June 2023