In a computer, a file format is the layout of a file in terms of how the data within the file is organized. A particular file format is often indicated as part of a file's name by a file name extension (suffix). Conventionally, the extension is separated by a period from the name and contains three or four letters that identify the format.
Application programs must be able to recognize and possibly access data within the file. Sometimes a program may not care whether the file has the appropriate extension name because it can examine the bits in the file to see whether the format (layout) is one it recognizes. Other times, the end user must specify what program should be used to open and work with file.
WhatIs.com has a resource to help you look up file extensions manually: Every File Format in the World
There are as many different file formats as there are different programs to process the files. A few of the more common file formats are:
- Word documents (.doc)
- Web text pages (.htm or .html)
- Web page images (.gif and .jpg)
- Adobe Postcript files (.ps)
- Adobe Acrobat files (.pdf)
- Executable programs (.exe)
- Multimedia files (.mp3 and others)