File types

Table Of Contents

Intro

There are many file types many you use daily like when you screenshot something it downloads it as a png. Right now while your looking at this page it is configured and made up of HTML files. If you didn't know the extension of a file dosen't determine what kind of file it is. It help tell the user and Operating system know what to do with the file. In fact, you can rename the extension of any file to anything. This can be the reason we don't list a lot of files because they could just be a renamed ZIP file

Image files

There are many types of Image files that include .png, .jpg, .jpeg, .svg, .ico, etc. SVG files are unique because they are actually stored as text formatted similar to XML files.

PNG vs JPG

Most people don't know the difference beteween JPG (or JPEG) files and PNG files. JPG is ideal for photos and web images needing small file sizes, using lossy compression that reduces quality for speed. PNG is best for graphics, logos, and images needing transparent backgrounds, using lossless compression that retains high qu.ality but results in larger files.

SVG and ICO

In web development, SVG (Scalable Vector Graphics) and ICO (Icon file) files serve distinct yet complementary roles in branding and iconography. The problem with SVG files is that because the graphics are calculated every time it's not good for complex graphics and animations, but it's perfect for simple graphics like logos and icons. SVG is an XML-based vector format that allows graphics to scale infinitely without losing quality, making it ideal for responsive logos and modern web icons that must look sharp on any display. Its text-based nature also allows for unique features like CSS styling and dark-mode adaptation through embedded media queries. In contrast, ICO is a legacy container format specifically designed to store multiple versions of an image at different sizes (such as 16x16 or 32x32 pixels) in a single file. While modern browsers increasingly support SVG favicons, the ICO format remains essential as a fallback for older browsers and for consistent display across Windows desktop environments.

WEBP files

WEBP files are a modern format developed by Google. This filetype is uncommon and It is often difficult to open these files as they are not widely supported by most Operating systems However, WEBP files support animation, and images with transparency. WEBP files use both lossy and lossless compression methods to reduce file size while maintaining image quality.

Document files

There are many file types of documents including PDF, TXT, ODP, PPTX, etc. These file types store things from your School Essay to your Work spreadsheet.Document databases work by storing data in flexible, self-contained units, often these document files can't be read as "plain text" they are actually just a renamed ZIP archive that contains multiple XML files that store data about the document. For example, a .docx file is actually a ZIP file that contains multiple XML files that store data about the document, such as the text, formatting, and images. This allows for more complex documents with rich formatting and media to be stored in a single file. You can open these files with software like Microsoft Word, LibreOffice Writer or Google Docs, which can read the XML data and display the document as intended.

Other filetypes

XML files

XML files are common for many things that need to store data in a structured way. For example, SVG files are actually XML files that store data about how to draw the image. XML files are also used for configuration files and other things that need to store data in a structured way.

Archive files

There are many types of files that are used to compress data the most popular one you are probably aware of is the ZIP filetype. This filetype is most common because most operating systems have built in support for it. There are other filetypes that are used to compress data such as RAR, 7z, TAR, GZ, XZ, BZ2, etc. These filetypes use different compression algorithms and have different features, but they all serve the same purpose of compressing data to save space and make it easier to transfer.

It is likely that you have never heard of some of these filetypes because they are not as common as ZIP files. For example, TAR files are often used in Linux and Unix systems to create archives of files and directories. GZ, XZ, and BZ2 files are often used to compress files in Linux and Unix systems.

JSON files

JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans to read and write and easy for machines to parse and generate. It is a text-based format that is used to store and transfer data between systems. JSON is often used in web applications to send data from a server to a client, or vice versa. but sometimes it is used to store data or configurations in a file that don't require javascript. JSON files typically have a .json extension and contain data in a structured format that can be easily parsed and manipulated by programming languages.

EXE files

A EXE file is also known as a Executable file. This is a portable format of scripts that originiated in Microsoft DOS and has been used in every version of Windows ever since.

HTML files

HTML stands for Hyper Text Markup Language. HTML is not a standard programming langauge, it is a markup language (based on XML) so it dosen't need to be compiled. you can make a game, website and much more. You can learn about HTML in our Programming Languages Page

ISO and IMG files

".ISO" and ".IMG" files are typically used for storage Operating system images. IMG files are more often used for booting operating systems that have read and write capabilities. While ISO files are read only images mainly for booting Operating system installers from a external drive or from Virtual machines. (Virtual machines can boot both) If you want to download a Operating system it will ussually be downloaded as a . ISO file. These files store data on how and info about partitions and data on those filesystems

TOR files

TOR file are also called Torrents. This filetype is not like other filetypes because it does not store its data. A TOR file is a file that contains a list of IP addresses. These IPs are the list of the people that are sharing small parts file that you want to download. When you open a TOR file with a torrent client (You need to have a torrent client in order to open a TOR file), the client will connect to the IP addresses in the TOR file and download the files from those IP addresses and then reassemble them into a complete file. This was originally designed to share files for piracy purposes (We don't condone piracy) so no one can physically take down the file because it's not stored in one place. However, TOR files are very common for sharing large files that are not pirated such as Linux ISOs, game updates, and much more because it is faster than downloading from a single source.