🔹 What is a File Format?

A file format defines how data is encoded inside a file.
It determines how a program reads, writes, and interprets the contents of that file.

⚠️ Important: Don’t confuse a file's format with its extension:

  • The format refers to how the data is organized and encoded.

  • The extension is part of the filename (e.g., .docx, .pdf) that helps the operating system identify which application should open it.


🔧 Changing a File Format

To change the format of a file:

  1. Open the file using the appropriate application.

  2. Use "Save As" and select the desired format from the “file type” dropdown menu.

  3. Do not just rename the extension, as it won’t convert the file and may make it unusable.

Example:

  • Don’t rename document.pdf to document.txt.

  • Instead, open the PDF with Adobe Reader and export it to .txt or .docx.


🔄 Interoperability of File Formats

📁 Two Categories of Files:

  • Text files – human-readable, encoded as characters (e.g., .txt)

  • Binary files – encoded in binary, often only readable by specific programs (e.g., .docx, .jpg)

🔓 Open vs Proprietary Formats

Type Description Examples
Open Format Public specifications, can be used with any compatible software .rtf, .odt, .csv, .svg
Proprietary Format Specifications not publicly available or restricted by the developer .docx, .xls, .wma

Open formats promote interoperability, meaning the file can be opened and modified with different applications.


📄 Common Document Formats

Format Type Example Extensions Description
Plain Text .txt Simple text, no formatting
Proprietary .doc, .xls, .ppt Microsoft Office formats
Open Formats .rtf, .odt, .ods, .odp, .csv Compatible with many programs (LibreOffice, OpenOffice…)

🖼️ Image Formats

🟦 Raster (Bitmap) Images

  • Made up of pixels.

  • Lose quality when scaled (pixelation).

  • Large file sizes.

Format Type Description
.bmp Uncompressed Bitmap image format
.jpg Compressed Good for photos
.gif Compressed Supports animation, low color

🔷 Vector Images

  • Made of mathematical shapes.

  • Scalable without losing quality.

Format Description
.svg Scalable Vector Graphics (used in web/maps)
.odg Open Document Graphic (vector drawings)

🎧 Other File Formats

Type Format Description
Document .pdf Portable Document Format (preserves layout)
Audio .wma Windows Media Audio (proprietary)
Audio .mp3 MPEG Layer 3 – compressed, widely used, open format
Video .mp4, .mpg MPEG-4 – compressed, commonly used for streaming and storage
Last modified: Friday, 25 April 2025, 11:14 AM