Magic Number Lookup
Look up which file types start with a given byte signature.
What it does
Looks up which file types begin with a given byte signature, also called a magic number. Useful when you see unknown bytes at the start of a file in a hex viewer. You get the list of formats that use that signature.
How to use the Magic Number Lookup
- Copy the first bytes of the file from a hex viewer, for example 89 50 4E 47.
- Paste them as hex, with or without spaces, or type text such as %PDF.
- Untick Only signatures at the start of the file to also find signatures further in.
- Read the list of matching formats.
Related tools
More in Files & Folders
File Type Checker
Find the real type of a file from its first bytes and check its extension.
Hex Viewer
Read the bytes of any file in hex and ASCII, with offsets.
Fix File Extension
Detect the real type of a file and save it with the right extension.
File Metadata Viewer
Show the size, dates, MIME type and embedded metadata of a file.
Duplicate File Finder
Find identical files in a folder by their content.
Bulk Rename
Rename many files at once with numbers, dates or find and replace.
File Splitter
Cut a large file into numbered parts of the size you choose.
File Joiner
Join .001, .002 … parts back into the original file.
Magic Number Lookup questions
How do I use the Magic Number Lookup?
Paste the text into the Input box or open a file, set the options, then copy or download the result.