Magic Number Lookup

Look up which file types start with a given byte signature.

Magic Number Lookup

Paste text or open a file to see the result.

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

  1. Copy the first bytes of the file from a hex viewer, for example 89 50 4E 47.
  2. Paste them as hex, with or without spaces, or type text such as %PDF.
  3. Untick Only signatures at the start of the file to also find signatures further in.
  4. Read the list of matching formats.

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.