Comparison

DOCX vs DOC: what is the difference and which should you use?

Updated · 6 min read

The short answer

Use DOCX. It is the modern format: smaller, more reliable, free of macros, and readable by far more programs. DOC is the older Word format from before 2007. If you have a DOC file, open it in a program that supports it and choose Save As, then DOCX.

Try it right here

This is the editor you will use. Click it to open a blank page.

You have two files, one ending in .doc and one in .docx, and you are wondering whether it matters. It does, a little. Here is the plain comparison, without numbers we cannot back up.

What are the differences at a glance?

DOCXDOC
IntroducedWith Word 2007Before 2007
Built onZipped XML filesA single binary file
File sizeUsually smallerUsually larger
If it gets damagedOften partly recoverableMore likely lost
Other programsWidely supportedSupported, but less well
MacrosNot allowed (DOCM only)Possible in any DOC
Opens in Word 2003 and olderOnly with a compatibility add-onYes
Opens in WrdioYesNo

What is actually inside a DOCX?

A DOCX is a small zipped folder. We unzipped a real two-page test document (with a heading, a link, two lists, a table, a picture, a header and a footer) and found 20 parts, including:

  • word/document.xml: the text and its structure (about 4.8 KB for our two pages).
  • word/styles.xml: the look of headings, body text and lists.
  • word/media/image1.png: the picture.
  • word/header1.xml and word/footer1.xml: the header and footer.
  • [Content_Types].xml and _rels/.rels: the map of what is where.

The exact list varies by program (our test file came from a Python library, not Word). A DOC has none of this: it is one binary file, so a program has to understand the whole thing at once. The format itself is published as the ECMA-376 standard. More in what is a DOCX file.

Why is DOCX the better choice?

  • Smaller. The zip inside a DOCX usually makes files smaller, which helps with email limits.
  • More robust. The parts are separate, so one damaged part does not always ruin the whole file.
  • No macros. Microsoft says files saved with the default x suffix, such as .docx, cannot contain macros; only files ending in m, such as .docm, can. A DOC can carry them.
  • Open. Its design is published, so many free programs read and write it well.

What are DOCM, DOTX and DOTM?

Microsoft lists four related Word extensions on its page about Open XML formats and file name extensions: .docx is a document, .docm a macro-enabled document, .dotx a template and .dotm a macro-enabled template.

When might you still meet a DOC file?

Old archives, school and office files that have been around for years, and some forms from organisations that never updated their templates. They still open in most programs, but a few online tools, Wrdio included, work with DOCX only.

How do I convert a DOC to DOCX?

  1. Open the DOC file in Microsoft Word, LibreOffice Writer or Google Docs.
  2. Choose File, then Save As (or Download in Google Docs).
  3. Pick Word Document (.docx) as the type.
  4. Open the new file and scroll through it. Old files sometimes have odd spacing or fonts that shift.

Then you can open it in Wrdio and edit it in your browser. The long version, including what to do without Word or LibreOffice, is in how to open an old .doc and convert it to .docx.

What if an old DOC will not open at all?

Try LibreOffice, which has the widest support for old formats. If the file came by email, ask for it again, and read how to fix a document that will not open.

Questions people ask

What is the difference between DOC and DOCX?

DOC is the older binary format used before 2007. DOCX is a newer format built on XML inside a zip, which is usually smaller, easier for other programs to read, and cannot contain macros.

Is DOCX more secure than DOC?

In one specific way, yes: a .docx cannot contain macros, while a .doc can. Microsoft's documentation says only files whose extension ends in m, such as .docm, can contain macros. Any file from a stranger still deserves care.

Can I open a DOC file without Word?

Yes. LibreOffice and Google Docs open DOC files. Wrdio opens DOCX only, so convert a DOC to DOCX first.

How do I convert DOC to DOCX?

Open the DOC file in Word, LibreOffice or Google Docs and save or download it as DOCX. Check the layout afterwards.

Should I send DOC or DOCX to other people?

Send DOCX unless someone specifically needs DOC. Almost every current program opens DOCX, and it is the safer default.

Can Word 2003 open a DOCX?

Not on its own. Word 2003 and older need a compatibility add-on from Microsoft to open DOCX files. Word 2007 and newer open them directly.

Can I recover a corrupted DOC or DOCX?

Sometimes. In Word, use File, Open, Browse, then the arrow next to Open and Open and Repair. See our guide on documents that will not open.

Keep reading

All guides

More in Open and view Word files

See all guides in this topic