The word “format” is used for at least three different things. A file extension is one. The underlying structure of the bytes is another. The label a server sends to a browser is a third. Confusing them is easy, and most of the trouble starts there.
A file is not a document, a photograph, or a song. It is a sequence of numbers, and a format is the agreement that tells a program how to read them. Change the agreement and the same numbers can become a page, a texture, or noise. Most of the time we do not notice the agreement at all. We notice it when someone else cannot open what we sent.
What a format actually is
Take a .docx file. The extension suggests a Word document, and most operating systems will open it in a word processor. Underneath, it is a ZIP archive containing XML files, styles, relationships, and sometimes images and embedded fonts. Rename a copy to .zip and the archive will open, revealing a small directory tree. Nothing has been converted. The label changed; the contents did not.
This distinction matters because people often speak of conversion when they mean one of two very different operations. Remuxing puts the same encoded data into a new wrapper: an H.264 video moved from an MKV container to an MP4 container is not re-encoded, and its quality is unchanged. Re-encoding decodes the data and compresses it again, which takes time and, in the case of lossy formats, gives up a little information. Knowing which one you are asking for is the difference between a harmless change and a slow, cumulative loss.
The five families
Formats tend to cluster around the kind of work they support. The categories below are not taxonomy; they are a practical way to decide what to look for.
| Family | Common formats | What it is for |
|---|---|---|
| Documents | PDF, DOCX, ODT, TXT, Markdown | Fixed pages for reading and signing; editable files for drafting and revision. |
| Images | JPEG, PNG, WebP, HEIC, TIFF, SVG | Photographs, screenshots, web graphics, vector marks, print masters. |
| Audio | WAV, FLAC, MP3, AAC | Recording and editing; archiving; distribution at a chosen quality. |
| Video | MP4, MOV, MKV, WebM | Containers for encoded picture and sound; the codec inside matters more than the wrapper. |
| Archives | ZIP, 7Z, TAR | Bundling files and folders; compression is a secondary property, not the purpose. |
A container is not a codec. An MP4 file can hold video encoded with H.264, HEVC, or AV1, and the viewing experience depends on which one is inside. The same is true of an archive: a ZIP file is a box, and the files in the box have their own formats. When a file “does not play”, the container may be fine while the codec is unsupported — a distinction that saves a great deal of unnecessary conversion.
How the right format choice improves everyday workflows
Format choices are usually invisible until a handoff fails, which is why the most useful workflow habit is to name the receiver before naming the file. An architecture studio might keep survey photographs in HEIC for its own archive, export JPEGs for the contractor’s site laptop, issue drawings as PDFs for review, and retain the original CAD files for edits; one project, several audiences, one set of originals. A small newsletter does something similar with images: a high-resolution original stays in the archive, a WebP version goes on the site, a JPEG fallback covers older email clients, and the logo remains an SVG because it needs to stay sharp at any size.
The point is not to standardize everything. A single PDF for every purpose would make editing painful; a single DOCX would make printing unpredictable. Choose the smallest set of formats that covers the ways the work will actually be opened, then write that set down where the next person can find it. A two-line note in the project folder — “masters in TIFF, web in WebP, client copies in PDF” — prevents more problems than any conversion tool.
Extensions are labels, not guarantees
The extension is the part of the filename after the final dot, and it exists mainly to help the operating system choose an application. It is not stored inside the file, and it is easy to change. A PDF renamed to .txt will still be a PDF; a text file renamed to .jpg will not become an image. Some programs trust the extension, some inspect the first bytes of the file, and some do both in a different order. This is why a file can look correct in a folder and fail in a browser, a printer, or an upload form.
On macOS, extensions are hidden by default, which makes the label feel even more like the file itself. Turning on “Show all filename extensions” is a small change with a long reach. If a file’s behaviour puzzles you, check the extension, then check the actual content type. The two are related, but they are not the same claim. We look at this more closely in The three letters after the dot.
A short glossary
- Container
- A file structure that holds other data: video and audio tracks, subtitles, or a set of documents in an archive.
- Codec
- The method used to compress and decompress a stream of audio or video. A container may support several codecs.
- Lossy / lossless
- Lossy compression discards information to save space; lossless compression preserves it exactly, at a larger size.
- MIME type
- A label such as
application/pdfsent alongside a file so software knows how to treat it. - Metadata
- Information about the file rather than its visible content: author, dates, camera settings, location, revision history.
- PDF/A
- A restricted PDF profile intended for long-term archiving, with fonts embedded and external dependencies limited.
A map is not a rulebook. Formats change, software changes, and the file that opens perfectly today may need a different treatment in a decade. The useful skill is not memorizing every extension; it is learning to ask what a format is promising, who needs to open it, and what must remain true when they do.