The Choice Most People Don’t Think About Until It’s a Problem
File format decisions are made constantly — saving a photo, exporting a document, downloading a video, sharing a spreadsheet — usually by accepting defaults without considering whether the default format is the right one for the specific use. The wrong format choice creates problems that range from minor inconvenience (the other person can’t open the file) to significant quality loss (the image that was compressed to JPEG when it should have been PNG) to unnecessary file size (the lossless audio file that should have been compressed for streaming).
Understanding the basic properties of common file format categories — what they do to data, what they’re optimised for, and what compromises they make — produces better format choices for different purposes without requiring technical depth.
Image Formats: The JPEG vs PNG vs WebP Decision
JPEG uses lossy compression: it discards image data to reduce file size, and the discarded data is not recoverable. The quality setting controls how aggressively data is discarded — a high-quality JPEG is visually similar to the original with a much smaller file; a low-quality JPEG shows visible compression artefacts. JPEG is appropriate for photographs and images with complex colour gradients where the compression artefacts are least visible and where file size reduction is valuable.
PNG uses lossless compression: it reduces file size without discarding any image data, preserving the exact original pixel values. PNG is appropriate for images with sharp edges, text, logos, or transparent areas where JPEG’s compression artefacts would be visible and where exact colour reproduction matters. PNG files are larger than equivalent JPEG files for photographic content. WebP (Google’s format, now widely supported in modern browsers) provides better compression than both JPEG and PNG — smaller files at equivalent quality — and should be used for web delivery where browser compatibility allows.
Document Formats: PDF, DOCX, and When to Use Each
PDF (Portable Document Format) is a fixed-layout format that preserves exact visual presentation regardless of the viewing software or system. It’s the appropriate format for documents that need to look identical to all recipients, for documents being signed or officially submitted, and for any document where precise formatting must be preserved rather than adapted to the reader’s preferences. PDFs are not well-suited for collaborative editing — editing tools are more limited than word processing software.
DOCX (Microsoft Word format) and equivalent word processing formats are appropriate for documents under active creation and editing, for collaborative documents where multiple people will make changes, and for documents that will be edited by the recipient. The trade-off is that DOCX rendering varies slightly between different versions of Word and between Word and other word processors — the precise formatting that PDF guarantees isn’t guaranteed in DOCX. The practical workflow: use DOCX for active editing and collaboration, convert to PDF for final distribution.
Audio and Video Formats: The Compression Spectrum
Audio formats span from uncompressed (WAV, AIFF — exact audio data, large files) to lossless compressed (FLAC — exact audio data in a smaller file) to lossy compressed (MP3, AAC, OGG — discarded audio data in smaller files). For music production, archival, and audio editing, lossless formats preserve quality for processing. For streaming and general listening, 320 kbps AAC or MP3 is perceptually identical to lossless for most listeners on typical equipment — the file size advantage of lossy compression is generally worth accepting.
Video formats involve both the container (MP4, MKV, AVI) and the codec (H.264, H.265/HEVC, AV1) — the container determines which codecs it can hold, and the codec determines the compression efficiency. H.264 in MP4 is the most universally compatible video format for sharing and playback. H.265 provides the same quality at roughly half the file size but has slower encoding and is less universally supported. AV1 is the newest standard with excellent compression efficiency and growing hardware support — the format that future video archival should use as hardware support expands.
Choosing Formats for Longevity
The file format that’s appropriate for active use may not be appropriate for long-term archival. File formats become obsolete when the software that reads them disappears — documents in proprietary formats from discontinued applications, audio in obscure codec formats, and images in format-specific raw files from discontinued cameras may become inaccessible without specific tools to convert them.
For long-term archival, prefer open or widely adopted formats: PDF/A for documents (an archival variant of PDF designed for long-term preservation), TIFF or PNG for images (lossless, widely supported), FLAC for audio (lossless, open format), and MKV with H.264 or AV1 for video (open container, widely supported codecs). These format choices trade some convenience (larger files, less universal opening without specific software) for the confidence that the files will remain accessible and uncorrupted over decades rather than years.
