How many types of file are there

File types include document, image, video, and audio, but they don’t stop there. Learn the different types of files and when it’s best to use each.

When you save any type of file, you have to choose a file type. Different file types serve different purposes, with some file types being better suited for the web while others are better suited for print or other media. To make matters even more complicated, there are different file types for documents, image files, audio files, and video files.

Whether you’re building a website or crafting emails for your marketing campaign, choosing the right file type is important. For example, selecting the right image file types can help speed up web page and email loading times, which helps keep your readers engaged. If you use images or videos that are too large in size, your web page can take longer to load and visitors may leave before you get a chance to grab their attention.

In this guide, we’ll explore some of the different types of files for the 4 primary file types: document, image, video, and audio. If you’re having trouble optimizing your website or your email marketing campaign with the right types of file formats, here’s everything you need to know.

Why are there different types of files?

Different types of files are compatible with different software and can achieve different things. While you can use an SRT file to add subtitles to a video, you can’t achieve that with a regular text document or RTF file. When it comes to image file types, some file types are better for print while others are better for digital graphics.

How many types of file are there

There are also different types of files for the web. Internet users expect things to happen quickly, and certain file types are significantly smaller and easier to load. When you’re building a website or sending out marketing emails, using the right file formats can help reduce bounce rates and increase engagement.

Simply put, choosing the right file type can help you optimize your web strategy and marketing campaign and get an advantage over your competition.

Learn how to develop your unique brand voice, design a beautiful website, and create content that grabs attention with a little help from us.

There are hundreds of different file extensions and file types used with computers, and you can find a complete list on our computer files and file extensions page. However, it would be impossible for most people to memorize all file extensions and their associated programs. Below is a list of the most common file extensions, broken into categories by type of files.

Audio file formats by file extensions

There are several audio file formats, standards, and file extensions used today. Below is a list of the most common audio file extensions.

  • .aif - AIF audio file
  • .cda - CD audio track file
  • .mid or .midi - MIDI audio file.
  • .mp3 - MP3 audio file
  • .mpa - MPEG-2 audio file
  • .ogg - Ogg Vorbis audio file
  • .wav - WAV file
  • .wma - WMA audio file
  • .wpl - Windows Media Player playlist

Compressed file extensions

How many types of file are there

Most computer users are familiar with the .zip compressed files, but there are other types of compressed files. Below is a list of the most common compressed file extensions.

  • .7z - 7-Zip compressed file
  • .arj - ARJ compressed file
  • .deb - Debian software package file
  • .pkg - Package file
  • .rar - RAR file
  • .rpm - Red Hat Package Manager
  • .tar.gz - Tarball compressed file
  • .z - Z compressed file
  • .zip - Zip compressed file

Disc and media file extensions

When making an image of a disc or other media, all of the contained files are saved to an image file. Below are the most common disc image file extensions.

  • .bin - Binary disc image
  • .dmg - macOS X disk image
  • .iso - ISO disc image
  • .toast - Toast disc image
  • .vcd - Virtual CD

Data and database file extensions

A data file could be any file, but for this list, we've listed the most common data files that relate to data used for a database, errors, information, importing, and exporting.

  • .csv - Comma separated value file
  • .dat - Data file
  • .db or .dbf - Database file
  • .log - Log file
  • .mdb - Microsoft Access database file
  • .sav - Save file (e.g., game save file)
  • .sql - SQL database file
  • .tar - Linux / Unix tarball file archive
  • .xml - XML file

E-mail file extensions

How many types of file are there

Below is a list of the most common file extensions for e-mail and related files.

  • .email - Outlook Express e-mail message file.
  • .eml - E-mail message file from multiple e-mail clients, including Gmail.
  • .emlx - Apple Mail e-mail file.
  • .msg - Microsoft Outlook e-mail message file.
  • .oft - Microsoft Outlook e-mail template file.
  • .ost - Microsoft Outlook offline e-mail storage file.
  • .pst - Microsoft Outlook e-mail storage file.
  • .vcf - E-mail contact file.

Executable file extensions

How many types of file are there

The most common executable file are files ending with the .exe file extension. However, other files can also be run by themselves or with the aid of an interpreter.

  • .apk - Android package file
  • .bat - Batch file
  • .bin - Binary file
  • .cgi or .pl - Perl script file
  • .com - MS-DOS command file
  • .exe - Executable file
  • .gadget - Windows gadget
  • .jar - Java Archive file
  • .msi - Windows installer package
  • .py - Python file
  • .wsf - Windows Script File

Font file extensions

Below are the most common file extensions used with fonts.

  • .fnt - Windows font file
  • .fon - Generic font file
  • .otf - Open type font file
  • .ttf - TrueType font file

Image file formats by file extension

How many types of file are there

There are many different image types and image file extensions that can be used when creating and saving images on the computer. Below is a list of the most common image file extensions.

  • .ai - Adobe Illustrator file
  • .bmp - Bitmap image
  • .gif - GIF image
  • .ico - Icon file
  • .jpeg or .jpg - JPEG image
  • .png - PNG image
  • .ps - PostScript file
  • .psd - PSD image
  • .svg - Scalable Vector Graphics file
  • .tif or .tiff - TIFF image

The Internet is the most used resource on the computer and because web servers supply the files, there are many different file extensions utilized. Below are a list of the most common file extensions on the web.

Note

, , and other extensions listed on this page could also be included with these file extensions mentioned below.

  • .asp and .aspx - Active Server Page file
  • .cer - Internet security certificate
  • .cfm - ColdFusion Markup file
  • .cgi or .pl - Perl script file
  • .css - Cascading Style Sheet file
  • .htm and .html - HTML file
  • .js - JavaScript file
  • .jsp - Java Server Page file
  • .part - Partially downloaded file
  • .php - PHP file
  • .py - Python file
  • .rss - RSS file
  • .xhtml - XHTML file

Presentation file formats by file extension

Today, there are a few programs that can create a presentation. Below is a list of the most common file extensions associated with presentation programs.

  • .key - Keynote presentation
  • .odp - OpenOffice Impress presentation file
  • .pps - PowerPoint slide show
  • .ppt - PowerPoint presentation
  • .pptx - PowerPoint Open XML presentation

Programming files by file extensions

Many file extensions are used for programs before they are compiled or used as scripts. Below is a list of the most common file extensions associated with programming.

Tip

Many of the could also be included with these file extensions mentioned below.

  • .c - C and C++ source code file
  • .cgi and .pl - Perl script file.
  • .class - Java class file
  • .cpp - C++ source code file
  • .cs - Visual C# source code file
  • .h - C, C++, and Objective-C header file
  • .java - Java Source code file
  • .php - PHP script file.
  • .py - Python script file.
  • .sh - Bash shell script
  • .swift - Swift source code file
  • .vb - Visual Basic file

Note

There are hundreds of programming languages and the above list is only a small fraction of the most common file extentions.

Spreadsheet file formats by file extension

Below are the most common file extensions used to save spreadsheet files to a computer.

  • .ods - OpenOffice Calc spreadsheet file
  • .xls - Microsoft Excel file
  • .xlsm - Microsoft Excel file with macros
  • .xlsx - Microsoft Excel Open XML spreadsheet file
How many types of file are there

Like all other programs, your operating system uses files and has file extensions that are more common than others. Below is a list of the most common file extensions used on operating systems.

Note

The executable file extensions and all other files could also be included in this list.

  • .bak - Backup file
  • .cab - Windows Cabinet file
  • .cfg - Configuration file
  • .cpl - Windows Control panel file
  • .cur - Windows cursor file
  • .dll - DLL file
  • .dmp - Dump file
  • .drv - Device driver file
  • .icns - macOS X icon resource file
  • .ico - Icon file
  • .ini - Initialization file
  • .lnk - Windows shortcut file
  • .msi - Windows installer package
  • .sys - Windows system file
  • .tmp - Temporary file

Video file formats by file extension

How many types of file are there

Today, several file types are associated with video files to add different types of compression, compatibility, and DRM to video files. Below is a list of the most commonly found video file extensions.

  • .3g2 - 3GPP2 multimedia file
  • .3gp - 3GPP multimedia file
  • .avi - AVI file
  • .flv - Adobe Flash file
  • .h264 - H.264 video file
  • .m4v - Apple MP4 video file
  • .mkv - Matroska Multimedia Container
  • .mov - Apple QuickTime movie file
  • .mp4 - MPEG4 video file
  • .mpg or .mpeg - MPEG video file
  • .rm - RealMedia file
  • .swf - Shockwave flash file
  • .vob - DVD Video Object
  • .wmv - Windows Media Video file

Word processor and text file formats by file extension

Creating text files and using a word processor is one of the most common tasks on a computer. Below is the most common file extensions used with text files and documents.

What are 5 types of files?

6 Different Types of Files and How to Use Them.
JPEG (Joint Photographic Experts Group) ... .
PNG (Portable Network Graphics) ... .
GIF (Graphics Interchange Format) ... .
PDF (Portable Document Format) ... .
SVG (Scalable Vector Graphics) ... .
MP4 (Moving Picture Experts Group).

What are 3 file types?

5 types of document files.
Portable document format (PDF) A PDF file is a common file type in many work environments. ... .
Word document (DOC and DOCX) ... .
Hypertext markup language (HTML and HTM) ... .
Microsoft excel spreadsheet file (XLS and XLSX) ... .
Text file (TXT).

What is file and its types?

Types of files.

What are 4 types of files and their uses?

Understanding files: 4 types of files and their uses.
DOC. One of the most common document types used today is the Microsoft Word Document, which ends with . ... .
PDF. PDFs are another common document file type, so it's helpful to compare the two when you're choosing a file type. ... .
JPEG. ... .