File Formats with Types and Extensions
Last Updated :
27 Jul, 2025
File Formats store a large variety of raw information in a structured format so that the data can be easily stored, processed, and harnessed. A file format is a standard way of storing data in a computer file. There are multiple types of file formats present which can be used to store and retrieve data efficiently. We will discuss the unique features and use cases for different kinds of file formats and compare them.
- Defines how data is structured and stored in a file.
- Many types of file formats exist to serve different needs.
- Each format is designed to handle specific types of data, such as text, images, or audio.
- The right file format helps with easy storage, retrieval, and processing of data.
Text file formats are some of the most basic and widely used formats for storing textual data. They don’t include additional formatting or media. These formats are easily editable and can be opened with any text editor.
Extension | Full Form | Description |
---|
.txt | Plain Text | The most basic text file format, containing only ASCII characters and carriage returns to separate lines. |
---|
.rtf | Rich Text Format | A more advanced text file format that allows basic formatting like bold, italics, and font styles. |
---|
.docx | Word Open XML Document | Commonly used by Microsoft Word for storing and saving documents |
---|
.csv | Comma-Separated Values | A simple format for storing tabular data, with each row representing a data record and commas separating fields. |
---|
.doc | Word Document | Used for word processing documents stored in Microsoft Word Binary File Format |
---|
.wps | WPS Office Word Document | A proprietary document file format developed by Kingsoft Office. |
---|
.wpd | WordPerfect Document | A document file format associated with WordPerfect, a word processing software. |
---|
.msg | Message
| Microsoft Outlook message format; contains email messages with formatting, attachments, and other information. |
---|
Image file formats determine how pictures are saved and shown. Choosing the right format affects the file size, quality, and how well it works with different devices, especially for photography, websites, and design.
Extension | Full Form | Description |
---|
.jpg | Joint Photographic Experts Group | A lossy compression format that is commonly used for photographs and other images with a lot of detail. |
---|
.png | Portable Network Graphics | A lossless compression format that is commonly used for images with sharp edges or text. |
---|
.webp | Web Picture Format | It Supports both lossy and lossless image compression with support of 24-bit RGB color. |
---|
.gif | Graphics Interchange Format | The limited-color format is commonly used for animations and small images. |
---|
.tif | Tagged Image File Format | High-quality format that is commonly used for professional photography and printing. |
---|
.bmp | Bitmap | An uncompressed format that is commonly used by Microsoft Windows. |
---|
.eps | Encapsulated PostScript file | A vector format that is commonly used for print graphics. |
---|
Audio files come in different formats based on how much they need to be compressed, their quality, and file size. Whether you need top-quality sound or streaming, there are many formats to pick from.
Extension | Full Form | Description |
---|
.mp3 | MP3 Audio File | Commonly used for storing and distributing music. |
---|
.wma | Windows Media Audio | Developed by Microsoft for audio compression, often used for streaming and downloading music. |
---|
.snd | Sound | A generic file extension for sound files, often associated with audio data. |
---|
.wav | WAVE Audio File | Commonly used for storing and recording audio. |
---|
.ra | RealAudio | It's a playlist file format that is commonly used for storing and distributing playlists. |
---|
.au | Audio | Used for storing audio data, commonly associated with Sun Microsystems.
|
---|
.aac | Advanced Audio Coding | Used as an in-vogue sound field design for packed virtual sound and tune data.
|
---|
Video files need special formats to store both the video and audio. Knowing the different video formats can help you pick the best one for quality, file size, and compatibility.
Extension | Full Form | Description |
---|
.mp4 | MPEG-4 Video File | Multimedia container format that commonly stores video and audio data. |
---|
.3gp | 3GPP Multimedia File | Multimedia container format that is commonly used for mobile phones. |
---|
.avi | Audio Video Interleave File | An older multimedia container format that is still supported by many devices. |
---|
.mpg | MPEG Video File | Older video compression format that is still supported by some devices. |
---|
.mov | Apple QuickTime Movie | The format that is commonly used by Apple devices. |
---|
.wmv | Windows Media Video File | The format that is commonly used by Microsoft devices. |
---|
These formats are used to store source code and scripts written in various programming languages. They allow developers to write, compile, and run programs.
Extension | Full Form | Description |
---|
.c | C/C++ Source Code File | General-purpose programming language developed by Dennis Ritchie at Bell Labs between 1969 and 1972. |
---|
.cpp | C++ source Code File | A general-purpose programming language developed by Bjarne Stroustrup as an extension to the C programming language. |
---|
.java | Java Source Code File | Programming language created by Sun Microsystems that is now owned by Oracle Corporation. |
---|
.py | Python script | The programming language was developed by Guido van Rossum and first released in 1991. |
---|
.js | JavaScript | A scripting language that is primarily used to add interactivity to web pages. |
---|
.ts | TypeScript | A superset of JavaScript that adds optional static typing. |
---|
.cs | C# Ssource Code File | A programming language developed by Microsoft as part of the .NET framework. |
---|
.swift | Swift Source Code File | Programming language developed by Apple for developing iOS, macOS, watchOS, tvOS, and Linux applications |
---|
.dta | Document Type Definition File | A data storage format commonly used by Stata, a statistical software program. |
---|
.pl | Perl Script | A programming language developed by Larry Wall at the University of California, Santa Cruz in the early 1980s. |
---|
.sh | Bash Shell Script | A shell scripting language commonly used to automate tasks on Unix-like operating systems |
---|
.bat | Batch file | Batch file format used to automate tasks on Windows systems; contains a series of commands to be executed by the command interpreter. |
---|
.com | Command file | A COM file is an executable file format used for programs on older Windows systems. COM files have limited functionality compared to modern formats. |
---|
.exe | Executable file | An executable file is a type of computer file that contains compiled code that can be run directly by the operating system. Executable files are commonly used to run programs. |
---|
Compressed or archive file formats reduce the size of files and group multiple files into one archive. These formats are used for file transfer and storage efficiency.
Extension | Full Form | Description |
---|
.rar | WinRAR Compressed Archive | A proprietary file archiver developed by Eugene Roshal. |
---|
.zip | Zipped File | A lossless data compression format that packages multiple files into a single archive file. |
---|
.hqx | BinHex | A Macintosh binary-to-text encoding format, often used to transfer binary files through email. |
---|
.arj | Archived by Robert Jung | A file compression format, similar to ZIP and RAR, used to compress and archive files. |
---|
.tar | Compressed Tarball File | This file archiving format groups multiple files into a single archive file. |
---|
.arc | ARC archive file | An ARC file is an archive file format used for compressing and storing files. ARC is an outdated format and has been replaced by ZIP and other newer options. |
---|
.sit | StuffIt archive file | A SIT file is an archive file format used on Macintosh systems. SIT is similar to ARC but is specific to Macs. |
---|
.gz | GZIP compressed file | A GZ file is a file format created with gzip compression. Gzip shrinks the size of files for storage and transmission. |
---|
.z | Compressed file | A Z file is a compressed file format associated with the "compress" compression program on Unix systems. |
---|
Web page file formats are used to create and style web pages. They include markup languages, style sheets, and scripts that determine how web pages are structured and presented.
Extension | Full Form | Description |
---|
.html | HyperText Markup Language File | HTML is the standard markup language for creating web pages. |
---|
.htm | HyperText Markup Language File | Hypertext Markup Language (HTML) document format with the less common file extension; identical to .html files. |
---|
.xhtml | Extensible Hypertext markup language File | This is a markup language that combines HTML with XML. |
---|
.asp | Active Server page | A web development technology that allows developers to create dynamic web pages using server-side scripting. |
---|
.css | Cascading Style Sheet | This is a style sheet language used to describe the presentation of a web page. |
---|
.aspx | Active Server Page Extended File | This allows developers to create dynamic web pages using server-side scripting in ASP.NET. |
---|
.rss | Rich Site Summary | This is a web feed format that allows users to subscribe to updates from websites. |
---|
- Structure Data: File Formats have a basic structure of how data should be stored in the file.
- Extension: Extensions are useful so that the operating system can check which type of file is being used.
- Metadata: This is the data that stores useful information about the file such as author name, license, etc.
- Interoperability: This feature enables multiple systems to use the same file format.
Similar Reads
File Formats with Types and Extensions File Formats store a large variety of raw information in a structured format so that the data can be easily stored, processed, and harnessed. A file format is a standard way of storing data in a computer file. There are multiple types of file formats present which can be used to store and retrieve d
8 min read
Text File Formats
Text File FormatsTXT file format is a format that is developed for storing plain text with no formatting such as graphics, bolding, italicization, font style, alignment, and so on. It is one of the most basic file types and the most widely used file formats on computers. These files are smaller than other file forma
7 min read
DOC File Format | .doc ExtensionThe doc file format, which has been in play for decades now, is a common text-based document format recognized around the world. This article will look at what a .doc file is, how it can be used, opening and creating .doc files, its advantages, and applications that use this format. Table of Content
4 min read
Text File Format | .txt ExtensionTXT file format is the default choice for basic data storage in current-day computing. The reason behind this is that it can be easily created, and edited and is also compatible with most hardware. Therefore, it is widely used for storing data, writing codes, saving logs etc. Table of Content What i
4 min read
DOCX File Format | .docx ExtensionDocx is a popular file format used in many word-processing applications that are highly compatible and feature-rich. This is the standard layout of Microsoft Word, a widely used word-processing program across the globe. In this article, We will explore the DOCX text format, including its application
4 min read
RTF File Format | .rtf ExtensionRTF stands for rich text format which is commonly used in storing text and text formatting information that can be applied in the creation or sharing of documents. in this article, article, we'll delve into the details of RTF explaining what it is, where and how it can be used, opening and creating
4 min read
Message File Format | .msg ExtensionThe MSG file format is a proprietary format developed by Microsoft for storing individual email messages. It is primarily associated with Microsoft Outlook, an email client widely used for personal and professional communication. The MSG file contains a structured set of data, including the email's
5 min read
Image File Formats
Image FormatsImage formats are different types of file types used for saving pictures, graphics, and photos. Choosing the right image format is important because it affects how your images look, load, and perform on websites, social media, or in print. Common formats include JPEG, PNG, GIF, and SVG, each with it
5 min read
Audio File Formats
Audio File FormatsAn audio file format is a file format for storing digital audio data on a computer system. The bit layout of the audio data (excluding metadata) is called the audio coding format and can be uncompressed, or compressed to reduce the file size, often using lossy compression. 12 SOUND FILE FORMATSWhat
5 min read
AAC File: What a .aac is and How to Open ItAdvanced Audio Coding (AAC) is a popular audio file format widely used for compressing and streaming digital audio files. Known for its efficient data compression and high audio quality, the .aac format is a go-to choice for music streaming services, digital devices, and multimedia applications. Her
6 min read
Audio File Format | .au ExtensionAu sound format is a file format developed by Sun Microsystems they are also known as Unix audio files most commonly they are used to audio files and embed the audio files on web pages. AU files are smaller and thus have poor sound quality. Table of Content Uses of the AU file formatHow to Run AU fi
4 min read
WAVE File Format | .wav ExtensionFile format is the way in which information is organized and stored in a computer. For different types of data such as text, documents, images, video, and music there are different file formats used. Example: For a text document, the file format to save normal text is TXT, for images file format use
4 min read
Video File Formats
Program File Formats
Compressed/Archive File Formats
Compressed File FormatsThe compressed file format has become an indispensable part of our digital environment, enabling the compression and transmission of large amounts of data while saving precious space in storage. This article will explore some of the common compressed file formats, understand their nature, what they
6 min read
TAR File Format | .tar ExtensionA tar tape document record design is a chronicle made by tar, a UNIX-based utility used to bundle documents together for reinforcement or dissemination purposes. It contains various records (otherwise called a tarball) put away in an uncompressed design alongside metadata about the file. Tar documen
8 min read
SIT File Format | .sit ExtensionThe StuffIt file format, denoted by the ".sit" extension, is associated with the StuffIt compression and archiving software. Developed by Aladdin Systems (now part of Smith Micro Software), StuffIt was a popular tool for compressing and archiving files, especially on the Macintosh platform. Table of
4 min read
Z File Format | .z ExtensionA Z file is a compressed UNIX file used to archive files and save space. Like many UNIX compression formats, a Z file can only contain one file. However, it can be used to deliver a group of files as long as they have been archived by a multi-file archive tool first. Table of Content What is the z-c
10 min read
GZIP File Format | .gz ExtensionThe Gz compressed file is also known as Gzip, it's miles a broadly used record compression format. It makes use of the DEFLATE compression set of rules, which reduces the size of documents and data without dropping data integrity. Gzip is characterized via the .gz record extension, and it's normally
3 min read
ARC File Format | .arc ExtensionThere are many ways to optimize data storage in the real world of data file formats. There are several types of files that use this format such as ARC. This format of the files can also be known as ARC or compressed arc, which offers the users the ability to save space with the disk files and stream
5 min read
WinRAR File Format | .rar ExtensionRAR stands for Roshal Archive. It is a simple compressed format that supports data compression and data recovery. It was developed by Eugene Roshal It is used widely for compression and file and archiving files. The file format extension is `.rar`.The 'rar' compression has many advantages.The 'rar'
4 min read
Zipped File Format | .zip ExtensionFile compression formats are crucial in making data manageable, more efficient, and easier to access in the era of digital data storage and transfer. This format includes the Zip Compressed Format which is very common. In this article, We will discuss what that file format is, its use, how to use th
7 min read
Web page File Formats
PDF File Format PDF, which means a portable document, is a ubiquitous format. The PDF file format was developed by Adobe in the early 1990s, and it is a must-have tool for communicating, viewing, and archiving document copies. In this article, we will delve into the world of PDF text files, exploring what they are,
4 min read
WPD File Format The origins of the WPD (WordPerfect Document) file format may be traced back to the early years of word processing. WPD files, which were created by Corel Corporation, have been crucial in the development of document generation and editing. We shall examine the features, functionality, and applicabi
5 min read