Magic Number Reference
A searchable table of file signatures with hex bytes, offsets, extensions and MIME types, plus a box to identify a file from its first bytes.
- Free
- No sign-up
- Works on any device
About Magic Number Reference
A magic number is a fixed byte pattern at a known offset that identifies a file format, such as 89 50 4E 47 for PNG or 25 50 44 46 for PDF. This table lists about eighty signatures with their offsets, usual extensions and MIME types, and can be searched by any of them. Paste the first bytes of an unknown file in hex and the page lists every signature that matches. Many formats share a prefix: Office files, JAR and APK are ZIP files, and WAV, AVI and WebP are RIFF containers.
How to use Magic Number Reference
- Search the table by format name, extension, MIME type or hex bytes.
- Or paste the first 16 or more bytes of an unknown file to see which signatures match.
- Check the offset column, since a few signatures such as TAR do not start at byte 0.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
Can a file signature prove what a file really is?
No. It shows what the file claims to be. A renamed or crafted file can start with any bytes, so signatures help to identify files but do not prove that a file is safe.
Why does a signature sit at a later offset?
Some formats put a header or reserved area first. TAR holds ustar at byte 257, DICOM holds DICM at byte 128, and ISO 9660 images hold CD001 at byte 32,769.
Where do the signatures in this table come from?
They come from the public specifications and long-standing documentation of each format. Check the official specification for the exact variant you handle.
Is Magic Number Reference free?
Yes. Magic Number Reference on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.