Skip to content
DOC

Document format

DOC

DOC here means Microsoft Word’s binary document family, especially the Word 97–2003 profile. It stores editable prose and formatting, not only rendered pages.

Learn more

What is the format?

DOC here means Microsoft Word’s binary document family, especially the Word 97–2003 profile. It stores editable prose and formatting, not only rendered pages. Earlier files also used .doc, so the extension does not identify one universal binary structure. The modern DOCX successor uses a different package architecture.

Technical profile

Extensions
.doc
Storage
Compound File Binary
Document model
Binary Word records and text
MIME
application/msword
Universal Text Conversion Engine (UTCE)
Source only
Scope
Format properties ≠ converter coverage

The cards describe the file format. Conversion boundaries are explained below.

History and evolution

Word developed several binary formats before Office 97. The 97–2003 generation became a major office exchange format and is documented by Microsoft’s MS-DOC specification. Word 2007 moved its ordinary default to DOCX, but binary documents remain in institutional and personal archives. Converting an old file requires identifying its generation rather than assuming all Word versions stored the same bytes.

  1. 2003

    Word 97–2003 / MS-DOC

    The 97–2003 generation became a major office exchange format and is documented by Microsoft’s MS-DOC specification.

  2. 2007

    Word 2007 / DOCX

    Word 2007 moved its ordinary default to DOCX, but binary documents remain in institutional and personal archives.

Related formats

Compare document models and their uses.

Technical architecture

The supported generation uses a Compound File Binary container with streams for document and table data. A file information block and piece tables describe text storage; formatting runs and records describe styles, paragraphs and objects. Text can mix Unicode and compressed representations. OLE objects, macros, fields and encryption make full interpretation more involved than extracting visible character sequences.

Real-world applications

Legacy reports, correspondence, contracts and administrative records often survive as DOC. Migration should keep the original and record the producing application when known. A source may include review comments or previous edits that are not visible in its printed appearance, so privacy review and preservation review have different objectives.

Advantages and limitations

DOC supports rich editing and a large historical ecosystem, but binary complexity and version differences hinder inspection. Fonts and printer assumptions can change pagination. A successful open does not prove every embedded object is intact, and executing legacy macros is unnecessary for recovering ordinary prose.

Compatibility and software

Word and LibreOffice Writer include binary DOC support with version-specific limits. For archival conversion, compare text, notes, lists and images independently of visual similarity. Modern editors may rewrite compatibility settings when saving. Keeping an untouched original permits later migration with a better reader.

Conversion considerations

UTCE reads a bounded Word 97–2003 semantic profile and has no DOC writer. It can map admitted prose, lists, tables, raster images, safe links and distinct notes. Encrypted files and nested tables reject. Floating drawings, comments, text boxes and exact layout are not reconstructed; headers and footers become labelled prose once.

Frequently asked questions

Are all .doc files Word 97–2003?

No. Older generations and unrelated renamed files also use the extension. Content admission must identify the actual profile.

Does DOC to DOCX retain the exact layout?

UTCE produces semantic reflow within its profile, not an exact Word renderer. Review pagination and unsupported objects separately.

Sources and specifications