Why File Formats Exist
Every file on your phone, laptop, or cloud account has an extension — the letters after the dot in a filename. That extension isn't decorative. It tells your device how to interpret the data inside the file, which program should open it, and what trade-offs were made when the file was created.
Different formats exist because different content has different needs. A photograph requires a format that preserves color detail efficiently. A legal contract requires one that looks identical no matter who opens it. A music file requires one optimized for audio playback. Understanding these distinctions helps you choose the right format, troubleshoot when something won't open, and make smarter decisions about storage and sharing.
Think of file formats like document types in the physical world — the same way a passport serves a different purpose than a receipt. Our guide to essential travel documents makes a similar analogy for paperwork you carry on the road.
| PDF introduced | 1993 by Adobe (Adobe Systems) |
| JPEG name origin | Joint Photographic Experts Group (ISO/IEC standards body) |
| MP4 standard | ISO/IEC 14496-12 (International Organization for Standardization) |
| ZIP format created | 1989 by Phil Katz (PKWARE, Inc.) |
| WebP developed by | Google, released 2010 (Google Developers) |
| Most universal document format | PDF — opens on virtually all devices |
The Most Common Formats, Explained
Here's a plain-language breakdown of the file types most people encounter regularly, grouped by what kind of content they hold.
Documents
- PDF (Portable Document Format): Designed so a file looks the same on any device, in any program. Ideal for contracts, forms, and anything where layout must be preserved. PDFs are not easily editable by default — that's intentional.
- DOCX: Microsoft Word's native format. Editable and widely compatible, but appearance can shift slightly between applications. Best for collaborative drafts.
- TXT: Plain text, no formatting. Universal compatibility, tiny file size. Useful for notes or code snippets.
Images
- JPEG (or JPG): Compresses photos by discarding some detail — a trade-off that reduces file size significantly. Works well for photographs shared online. Not ideal for images with sharp text or logos.
- PNG: Preserves full image detail and supports transparency. Larger files than JPEG, but better for graphics, screenshots, and logos.
- WebP: A newer format designed to offer smaller file sizes than both JPEG and PNG while maintaining quality. Increasingly common on websites.
Audio & Video
- MP3: Compressed audio. Removes frequencies most listeners won't notice, resulting in smaller files. The standard for music distribution for decades.
- AAC: Similar to MP3 but generally more efficient at the same file size. Default format for Apple devices and streaming services.
- MP4: A container format that holds video, audio, and sometimes subtitles together. Widely supported across platforms and devices.
- MOV: Apple's video container, similar to MP4 but optimized for QuickTime. Common output from iPhones.
Compressed & Archived Files
- ZIP: Bundles multiple files into one and compresses them to reduce size. Standard across Windows and macOS. Requires extraction before use.
- RAR: An alternative archive format offering slightly better compression than ZIP in some cases, but requires third-party software to open on most systems.
File extension
The letters after the dot in a filename (e.g., .pdf, .jpg). Extensions signal to your operating system which program should open the file and how to interpret its contents.
Lossy compression
A method of reducing file size by permanently removing some data — typically details the human eye or ear is unlikely to notice. JPEG and MP3 use lossy compression.
Lossless compression
Compression that reduces file size without discarding any data. The original information can be fully restored. ZIP archives and PNG images use lossless methods.
Container format
A file type (like MP4) that wraps multiple data streams — video, audio, subtitles — into a single file. The container doesn't define the quality; the codec inside does.
Codec
Short for coder-decoder. Software that encodes and decodes audio or video data within a container file. H.264 is a common video codec found inside MP4 files.
Transparency (alpha channel)
A layer in image files that defines which areas are see-through rather than filled with color. PNG supports transparency; standard JPEG does not.
Choosing and Converting Formats
Picking the wrong format is one of the most common causes of files that won't open, look wrong, or take up unexpected space. A few principles help here:
- Sharing for viewing: Use PDF. It's the safest choice when you don't want the recipient to edit the content and need consistent appearance across devices.
- Sharing photos online: JPEG for photographs; PNG for screenshots or graphics with text. If you're uploading to a modern web platform, it may convert to WebP automatically.
- Long-term storage: Prefer less-compressed or lossless formats when archiving originals. You can always compress later; you can't recover discarded data.
- Sending multiple files: ZIP them first. It reduces size and keeps everything together.
Most operating systems and many free browser-based tools can convert between common formats. Be cautious about uploading sensitive documents to unfamiliar online converters — your file travels to their servers. For context on where files actually go when handled online, see our explainer on how cloud storage actually works.
When a File Won't Open
If a file fails to open, the most common reasons are a missing application that supports the format, a corrupted download, or a filename with the wrong extension. On Windows, you can right-click and choose 'Open with' to try a different program. On macOS, right-click and select 'Open With' from the menu. Renaming a file extension does not convert it — it only changes the label, not the underlying data.