Index Ai Academy
Glossary · Phase 7 · Software engineering

File signature

Also written: file signatures, magic number, magic numbers

The fixed bytes at the start of a file format, such as 89 50 4E 47 for PNG, that show what a file really is whatever its name.

Try it now

Ignore the file name: only the first bytes count.

Learn it properly

Binary files · Bytes as numbers, endianness, struct records, file signatures and checking uploads. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write