DOC vs DOCX: What's Actually Different (and When It Matters)

By Shahid Iqbal · Published · Updated

DOCX is Word's modern format (Word 2007 onwards): a ZIP archive of XML files. DOC is the older binary format used by Word 97 to 2003. Use DOCX for almost everything, and DOC only when someone has a very old version of Word. Below: what that changes for you, and one common claim our own test didn't bear out. To switch a file, use our DOC to DOCX converter.

DOC vs DOCX at a glance

The short version: DOCX is the modern Word format and the right choice for almost everything. DOC is the older format, still worth knowing about if someone uses a very old version of Word.

DOC and DOCX compared
DOCDOCX
Word's default formatWord 97 to Word 2003Word 2007 onwards
What the file is insideOne binary fileA ZIP archive of XML files (Office Open XML)
Can contain macros?YesNo - macro documents use .docm
Opens in Word 2003 and earlier?YesOnly with Microsoft's compatibility pack
File sizeAbout the same in our testAbout the same in our test
Converts to PDF with our tool?YesYes

Details and sources for each row are in the sections below.

Two different formats, one program

DOC was Microsoft Word's format from Word 97 through Word 2003: a single binary file that only Word itself, or software specifically built to parse that binary structure, could reliably read.

DOCX replaced it as Word's default starting with Word 2007. It isn't a new version of the same format -- it's a completely different approach: a DOCX file is actually a ZIP archive containing a set of XML files (the "Office Open XML", or OOXML, standard). Rename any .docx file to .zip and a normal file archiver will open it and show you the XML inside.

What we found inside each file

We created a four-page test document in DOCX and saved a copy as DOC with LibreOffice (October 2026), then looked at the raw files.

The DOCX file starts with the letters PK -- the signature of every ZIP file -- and unzips into separate parts: the text in word/document.xml, the formatting in word/styles.xml, the theme in word/theme/theme1.xml, document properties in docProps, and, when the document has them, a separate part for comments and a folder for images. The DOC file starts with a different signature (D0 CF 11 E0), the marker of Microsoft's older compound binary file format, and can't be opened with a file archiver.

Is DOCX really smaller? Our test says: not always

Microsoft's own support page says Open XML files are automatically compressed and "can be up to 75 percent smaller in some cases". That is true for some documents, but it isn't a rule.

In our test the two formats came out almost the same size. The four-page text document was 37.3 KB as DOCX and 36.5 KB as DOC. With one large photo added, it was 5,510 KB as DOCX and 5,565 KB as DOC -- the photo, already compressed as a JPG, was most of the file in both formats, and zipping it again saves almost nothing.

So if you need a smaller Word file, switching between DOC and DOCX is rarely the answer. Compressing or resizing the pictures inside it makes far more difference.

The same document saved both ways (our test, October 2026)
Test documentDOCXDOCConverted to PDF with our tool
Four pages of text37.3 KB36.5 KB4 pages from either format
Same document plus one 4000 x 3000 photo5,510 KB5,565 KB-

The DOC copy was saved with LibreOffice, not Microsoft Word; sizes from Word itself can differ.

Why Microsoft made the switch

XML-based formats are openly documented, so other software -- Google Docs, LibreOffice, Apple Pages, and the conversion tools on this site included -- can read and write them without reverse-engineering a proprietary binary layout.

Microsoft also points to resilience: because the parts of a DOCX file are stored separately, it says a file can still be opened even if one component, such as a chart or table, is damaged.

When the difference actually matters to you

Compatibility with older software. Word 2003 and earlier can't open a .docx file without Microsoft's separate compatibility pack -- the most common real-world reason someone still asks for a plain .doc.

Macros. A normal .docx file can't contain macros; Word uses the separate .docm extension for macro-enabled documents. That makes a .docx a little safer to open from an unknown sender, while an old .doc may contain macros.

Converting to PDF. In our test, both formats converted to the same four-page PDF with our Word to PDF tool, so either one is fine to upload.

For everyday writing, editing and sharing with someone on a current version of Word or Google Docs, the difference is invisible.

Which one should you use?

Use DOCX unless someone specifically needs DOC for an old program. It is Word's default, it is the format other software supports best, and it keeps macros out unless you deliberately choose .docm.

If a form or portal asks for "a Word document" without saying which, DOCX is the safe choice. If it must not be edited at all, send a PDF instead -- our DOC to PDF converter accepts both .doc and .docx. Your upload and the PDF are deleted from our server as soon as your download is ready.

Going the other way, our PDF to Word converter always gives you a .docx file, so it opens in any current version of Word, Google Docs or LibreOffice.

Switching a file between DOC and DOCX

In Microsoft Word: open the .doc file, choose File → Save As, and pick Word Document (*.docx). To go the other way, pick Word 97-2003 Document (*.doc) instead.

Without Word: upload the file to our DOC to DOCX converter. A .doc comes back as a .docx, and a .docx comes back as a .doc. It is free, needs no sign-up, and your upload and the converted file are deleted from our server as soon as your download is ready.

Either way, open the converted file once before you send it. Text, headings, tables and pictures carry over, but a complex layout can shift slightly.

Converting other Office files

The same old-versus-new format question applies to Excel (XLS and XLSX) and PowerPoint (PPT and PPTX). Our guides XLS vs XLSX and PPT vs PPTX explain the differences.

For spreadsheets, Excel to PDF accepts both XLS and XLSX, and PDF to Excel turns tables in a PDF into an XLSX file. For presentations, PowerPoint to PDF accepts both PPT and PPTX, and PDF to PowerPoint turns each PDF page into a slide in a PPTX file.

Is DOC the same as DOCX?

No. Both are Word documents and both open in current versions of Word, but they are different file formats: DOC is a single binary file, while DOCX is a ZIP archive of XML files. Word 2003 and earlier cannot open a DOCX without Microsoft's compatibility pack.

Is a DOCX file a Word document?

Yes. DOCX has been Microsoft Word's default format since Word 2007, so a .docx file is a normal Word document. Google Docs, LibreOffice and Apple Pages can open and edit it too.

What does DOCX stand for?

The "x" refers to XML: a DOCX file stores the document as XML files (the Office Open XML standard) packed into a ZIP archive. DOC, the older format, is short for "document".

Official sources

Related tools

Related guides