Skip to main content

DOC vs DOCX, and how to open either one

DOC is Microsoft Word’s older binary document format, while DOCX is the modern, XML-based format that current versions of Word use by default. You can open either format in desktop Word, but a legacy DOC file may open in Compatibility Mode, as read-only on a mobile device, or as a converted DOCX copy in Word for the web; see the wider document formats guide for other extensions. If you can choose between the two, use DOCX for normal editing and sharing, and keep DOC only when an older application or workflow specifically requires it.

DOC and DOCX store the same kind of document in different ways

.doc 1997–2003 binary

The text, styles and images are interleaved in one binary; you need the exact spec to find anything.

.docx ZIP + XML package

Rename it .zip and the parts are right there — readable text and open XML.

Why .docx is easier for software to interpret
 .doc.docx
Parts are named & separablenoyes
Open, published XMLnoyes
Readable without Microsoft Wordhardyes
Compressed on disknoyes

Both open in modern Word, LibreOffice and Google Docs — but the packaged .docx is what makes broad, reliable support possible.

A .doc hides everything in one binary stream; a .docx is a zip of named XML parts, which is why modern software reads it so easily.

Both formats can hold the familiar parts of a Word document: text, headings, tables, pictures, page settings, headers, footers, fields, comments and other document content. The important difference is not what the file looks like when it opens. It is how that content is organized inside the file.

A DOC file is usually identified as a Word 97–2003 Document. It uses Microsoft’s legacy Word Binary File Format, which records the document through linked binary structures. A central File Information Block points software toward the text and other objects stored throughout the file.

A DOCX file is an Office Open XML word-processing package. It is a compressed ZIP package containing separate parts for the document body, styles, settings, relationships, images and any other content the document needs. Most of those parts use XML, a structured text format that different applications can parse.

Difference DOC DOCX
File extension .doc .docx
Common name in Word Word 97–2003 Document Word Document
Internal structure Binary records and structures Compressed package of XML and related parts
Default in current Word versions No Yes
Word for the web Can be displayed; conversion is required for browser editing Can be opened and edited directly
Mobile Word apps Commonly opens read-only Opens for editing
Modern Word features May be limited by Compatibility Mode Supports the current Word document feature set
VBA macros A DOC file can contain legacy macro code A normal DOCX file cannot contain VBA macros; macro-enabled files use .docm
Best general use Older systems that require DOC Current editing, sharing and document storage

Because DOCX separates content into identifiable package parts, modern software can interpret the document through defined relationships instead of decoding one legacy binary structure. This does not guarantee that every application will reproduce every advanced Word feature perfectly, but it makes DOCX a more practical interchange format for current software.

Compression also means that a DOCX file is often smaller than a comparable DOC file, especially when the document contains a large amount of text or repeated XML data. That is not a fixed rule: embedded images, fonts and other media may account for most of a document’s size, so an image-heavy DOCX can still be large.

The extension alone does not prove that the file’s contents are valid. Renaming report.doc to report.docx changes the name but does not rebuild the binary document as an Open XML package. Word may then report that the format does not match the extension, or the file may fail to open altogether. A real conversion requires Word or another document application to read the original structure and save a new file in the selected format.

The way the file opens usually identifies the compatibility problem

Start by checking the complete file name. Windows and some other systems can hide known extensions, which makes two files called report look identical even when one is report.doc and the other is report.docx. Display file extensions in the file manager or inspect the file’s properties before choosing a repair.

Then open the file from within Word rather than relying only on a double-click. In desktop Word, select File > Open > Browse, locate the file and open it. This confirms whether Word itself can read the document and avoids confusion caused by an incorrect default application.

The result usually points to one of these situations:

  • The file opens with Compatibility Mode in the title bar. Word has recognized an older document or compatibility setting and is limiting newer features so that the file remains usable in the older format. The document is not necessarily damaged.
  • The DOC file opens but cannot be edited in a browser. Word for the web can display a Word 97–2003 DOC file, but it creates a DOCX copy when you choose to edit it. Your original DOC can remain unchanged while the new copy becomes the editable version.
  • The DOC file opens read-only on a phone or tablet. Microsoft’s mobile compatibility tables distinguish between editable DOCX documents and legacy binary DOC files that must be updated to DOCX for editing.
  • The document opens, but formatting has moved. Fonts may be missing, older layout rules may be interpreted differently, or the file may contain objects and fields that another application does not fully support. Converting the file can modernize its structure, but it cannot recreate a missing font or unsupported object.
  • Word reports that the extension and format do not match. The file may have been renamed without conversion, given the wrong extension during download, or generated incorrectly by another system.
  • Word reports corruption or unreadable content. The file may have been interrupted while saving, damaged during transfer, stored on failing media, or only partially downloaded. This can affect DOC and DOCX files.
  • The file opens in Protected View or without editing controls. It may have come from email, the web or another location Word treats as untrusted. The document could also be read-only, permission-restricted or controlled by an organization’s security settings.
  • An old file type is blocked. A device or organization may apply file-block policies to legacy Office formats. Do not weaken security settings merely to test an unknown attachment; confirm that the file and sender are trustworthy first.
  • The file asks for a password. Converting or renaming the extension does not remove encryption. You need the correct password or an unprotected copy from the owner.
  • The file is unusually small or contains no recoverable content. A zero-byte or incomplete file is not a valid Word document, regardless of whether its name ends in .doc or .docx.

Do not assume every visual difference is caused by DOC versus DOCX. A document can look different because the receiving computer lacks the original fonts, uses a different printer driver, substitutes linked content, or opens the file in an application with incomplete Word compatibility. Test the file in desktop Word before changing its format if preserving the original layout matters.

Open the file first, then convert or repair it if necessary

Open DOC and DOCX files in desktop Word

Desktop Word provides the most complete route for opening either format:

  1. Save the attachment or downloaded file to a known local folder.
  2. Check that the file ends in .doc or .docx.
  3. Open Word and select File > Open > Browse.
  4. Select the document and choose Open.
  5. If the document appears in Protected View, verify where it came from before selecting Enable Editing.
  6. Review the text, page layout, tables, images, headers, footers, fields and comments before saving over anything.

If double-clicking the document launches the wrong application, open it from Word or change the operating system’s default app for that file extension. Changing the default app does not convert the document; it only changes which program receives the file when you open it.

A DOCX file can also be opened in Word for the web when browser editing is more convenient. A legacy DOC file may be displayed there, but Word for the web converts it to a DOCX copy when you start editing. On mobile Word apps, DOCX is the practical choice for editing because DOC files may be limited to read-only access.

Convert a legacy DOC file to DOCX

If the DOC file opens correctly and nobody still needs the Word 97–2003 format, save a new DOCX copy:

  1. Open the DOC file in desktop Word.
  2. Select File > Save As or Save a Copy.
  3. Choose a different file name or folder so the original remains available.
  4. Select Word Document ( .docx ) as the file type.
  5. Save the new document.
  6. Close it, reopen the DOCX copy and inspect the content that matters.

Some versions of Word also provide File > Info > Convert. That command updates the document to the current Word format and clears older compatibility options. Saving a separate copy is usually safer because it lets you compare the result with the original.

Check page breaks, numbered lists, tables, positioned images, text boxes, equations, tracked changes, comments, fields and embedded objects after conversion. Ordinary text and simple formatting usually transfer cleanly, but a complex legacy document may depend on behavior that current Word handles differently.

Keep the original DOC when it serves as an archive copy, when another person must use an old version of Word, or when a business system explicitly requires that extension. Otherwise, maintaining both formats indefinitely can cause people to edit different versions of the same document. Once the DOCX copy has been checked and adopted, label or archive the older file clearly.

Repair a file that Word cannot open normally

If Word reports corruption, try its built-in recovery command before using another converter:

  1. Open Word and select File > Open > Browse.
  2. Select the affected document once.
  3. Select the arrow beside the Open button.
  4. Choose Open and Repair.
  5. If Word recovers the document, save the result under a new file name.

If the file came from email or cloud storage, download it again before assuming it is corrupt. An interrupted download can produce an incomplete local file. If it is on a USB drive, network location or damaged disk, copy it to a local folder before attempting repair.

Do not repeatedly rename the extension between DOC and DOCX. A renamed binary file is still binary, and a renamed Open XML package is still an Open XML package. If neither Word nor Open and Repair can identify the document, ask the sender to reopen the source file and use Save As to produce a fresh DOCX copy.

After you can open the file reliably, consider creating a PDF copy for distribution when recipients only need to read, review or print the finished document. PDF removes the requirement for the recipient to have a compatible Word editor, although the Word file should remain the editable source when future changes are expected.

Source: DOC and DOCX names, versions and format descriptions from File format reference for Word, Excel, and PowerPoint, binary DOC structure from Word (.doc) Binary File Format, DOCX package and XML-part structure from About the Open XML SDK for Office and Structure of a WordprocessingML document, compatibility and conversion guidance from Converting documents to a newer format, browser behavior from Using compatibility mode in Word for the web, mobile support from Why can’t I open my file in Word on a mobile device?, extension guidance from Common file name extensions in Windows, and recovery steps from Open a document after a file corruption error, Microsoft. Page last checked 2 October 2026.