File format

A file format is the way a file is stored (encoded) in a computer file. File formats could be defined by file extensions, but even file extensions could have multiple file formats such as executable files. These could be defined by a magic number.