All articles
File Formats 2 min read

A Field Guide to Document File Formats (and When to Use Each)

PDF, DOCX, PPTX, XLSX, TXT, RTF, ODT — what every common document extension actually means, in plain English.

Share
Abstract document shapes on display, illustrating different file formats and explaining their extensions.

File extensions are a secret language. Those three or four letters after the dot tell you what a file is, what can open it, and what it's good at. Here's a friendly tour of the ones you'll actually meet.

The one thing to remember

Formats fall into two camps: editable (built to keep working on) and fixed (built to share as-is). Match the format to which one you need.

The everyday document formats

ExtensionWhat it isReach for it when…
.pdfPortable Document Format — a fixed, print-ready snapshotYou want it to look identical for everyone
.docxModern Microsoft Word documentYou're writing or editing text
.docThe old (pre-2007) Word formatYou're dealing with a legacy file — convert it
.rtfRich Text Format — simple formatted textYou need basic formatting any editor can open
.txtPlain text, no formatting at allYou want raw text, code, or maximum compatibility
.odtOpenDocument Text (LibreOffice/OpenOffice)You use open-source office software

The "office suite" siblings

Word isn't the only document. Its siblings share the same modern XML-based design (that's the x in the extension):

  • .pptx — PowerPoint presentations (slides).
  • .xlsx — Excel spreadsheets (numbers, formulas, tables).
  • .docx — Word documents (prose and reports).

The trailing x was a big deal. In 2007 Microsoft switched from secret binary formats (`.doc`, `.ppt`, `.xls`) to open, zipped XML (`.docx`, `.pptx`, `.xlsx`). If you ever rename a `.docx` to `.zip` and unzip it, you'll find the document is really a little folder of XML files and images.

Fun fact

A .docx file is a ZIP archive. That's part of why modern Office files are smaller and more resilient than the old binary ones.

Editable vs. fixed, one more time

The recurring theme: editable formats (DOCX, PPTX, XLSX, ODT, RTF, TXT) are for doing the work. Fixed formats (mainly PDF) are for finishing and sharing it. Most document headaches come from using the wrong camp — trying to edit a PDF, or emailing an editable file as if it were final.

Try Word / PowerPoint → PDF — free

Turn Word, PowerPoint & Excel files into clean PDFs — near-perfect layout.

Open Word / PowerPoint → PDF

Converting between them

Because these formats do different jobs, moving between them is a normal part of the workflow: draft in Word, present in PowerPoint, finalise as PDF, and sometimes pull a PDF's pages out as images for a slide or a thumbnail. None of that should be scary — it's just choosing the right shape for the next step.

Compatibility tip

When you're not sure what software the other person has, PDF is the safe default — every phone, browser and computer can open it without extra apps.

Frequently asked questions

What's the difference between .doc and .docx?
.doc is the old binary Word format (pre-2007); .docx is the modern open, XML-based one. .docx files are usually smaller and more robust — convert old .doc files when you can.
What is an RTF file?
Rich Text Format is a simple, widely compatible format that keeps basic formatting like bold, italics and fonts. Almost any text editor on any system can open it.
Are PPTX and XLSX related to DOCX?
Yes — they're siblings in the modern Office family. All three use the same open, zipped-XML design; they just hold slides, spreadsheets and documents respectively.
Which format should I use to share a final document?
PDF, almost always. It looks the same everywhere, opens without special software, and can't be edited by accident.

Tools mentioned in this article

Found this useful? Share it.

Share

Comments

Sign in to join the conversation.

Keep reading