What Is the Purpose of a File Extension?

A file extension allows a computer's operating system to decide which program is used to open a file. They can also show what type of file something is, such as image, video, audio or text. For example, .gif, .jpg and .png are all image file types.

ADVERTISEMENT