Skip to content
DOCX

Document format

DOCX

DOCX is the document format associated with modern Microsoft Word. It stores editable paragraphs, styles and relationships between document parts, rather than only the finished appearance of pages.

Learn more

What is the format?

DOCX is the document format associated with modern Microsoft Word. It stores editable paragraphs, styles and relationships between document parts, rather than only the finished appearance of pages. The Office Open XML vocabulary makes the contents inspectable with XML tools, although interpreting the full document still requires a word processor.

Technical profile

Extensions
.docx
Storage
ZIP package
Document model
Editable paragraphs and styles
MIME
application/vnd.openxmlformats-officedocument.wordprocessingml.document
Universal Text Conversion Engine (UTCE)
Source and target
Scope
Format properties ≠ converter coverage

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

History and evolution

Word 2007 adopted DOCX as its ordinary document format, replacing binary DOC as the default. Ecma published ECMA-376 in 2006; ISO/IEC 29500 followed in 2008. The standard distinguishes Strict and Transitional representations, reflecting the tension between a cleaner interchange model and compatibility with older Office behavior. A published specification improves interoperability but does not guarantee identical layout across implementations.

  1. 2006

    ECMA-376

    Ecma publishes Office Open XML.

  2. 2007

    Office 2007

    DOCX and XLSX become the ordinary Word and Excel formats.

  3. 2008

    ISO/IEC 29500

    ISO standardization distinguishes Strict and Transitional representations.

Related formats

Compare document models and their uses.

Technical architecture

DOCX is normally a ZIP package governed by Open Packaging Conventions. Content types and relationship files connect the main WordprocessingML document to styles, numbering, notes, properties and media. Text is divided into runs within paragraphs; a run can carry its own formatting. Tables are structural elements, while floating drawings and section properties influence layout. The document may depend on unavailable fonts, external links or application-specific extensions. ZIP compression is reversible, but semantic conversion can still be lossy.

Styles are more than visible formatting

A paragraph formatted with a heading style can carry an organizational role even when it looks like ordinary text. Conversely, large bold text may be only direct formatting. Numbering definitions, paragraph styles and character styles interact, so copying visible attributes alone does not reconstruct the authoring structure. Prefer explicit styles when preparing reusable documents, and inspect the resulting outline after conversion rather than assuming font size establishes heading meaning.

Relationships and embedded resources

Package relationships connect parts using identifiers and targets. A picture referenced in the main document may live in a separate media part; a hyperlink can be external. An embedded object may require software beyond a word processor. Keeping the text XML while discarding relationship files and media produces an incomplete package. Safe conversion must distinguish local resources from external references and report unsupported object types rather than silently substituting a thumbnail.

Fields, revisions and a reading copy

Fields can express dynamic values such as references or page numbers, while tracked revisions represent editing history rather than ordinary prose alone. A reading projection may retain displayed text without retaining those operations. Before publishing a converted document, decide which revision state and field results are authoritative in the source application. Keeping a readable PDF or HTML copy is useful, but it should accompany the native source when continued editing or audit history matters.

Real-world applications

DOCX suits drafting, review and office exchange: a report can retain heading styles, references and editable tables. Publishing teams often use it as an authoring source rather than a final delivery format. Templates, tracked changes and comments serve collaboration, but sending a document may also expose hidden revision or author information. Review those properties in the originating application before distribution.

Advantages and limitations

Structured text is easier to reuse than positioned PDF text, and package parts can be inspected independently. The cost is complexity: pagination depends on fonts and layout engines, while equations, embedded objects, fields and compatibility options require deeper support. Plain-text export discards structure and media. PDF export freezes a rendering but does not preserve all editing operations.

Compatibility and software

Microsoft Word and LibreOffice Writer support DOCX; web editors also import it with their own feature boundaries. Compare complex documents after exchange, especially page breaks, numbering and references. Keep the native source for future edits. For durable storage, retain media and document the producing application instead of assuming a ZIP container alone guarantees future fidelity.

Conversion considerations

UTCE imports a bounded semantic profile with paragraphs, headings, lists, tables, embedded raster images, links and notes. Native layout, arbitrary style inheritance, fields, revisions and complex typography are not reconstructed. Macro-bearing, encrypted and unsafe external-resource packages are rejected. Each listed direction has its own evidence; an available DOCX reader and writer do not authorize every possible pair.

Frequently asked questions

Can a DOCX contain VBA macros?

The standard macro-enabled Word extension is .docm, not .docx. A filename is not a security check: inspect the package, and do not trust a renamed file. UTCE rejects macro content.

Why do page breaks change in another editor?

Font metrics, printer assumptions and layout algorithms can differ. Editing structure is portable more readily than an exact rendered page.

Does changing .doc to .docx convert the file?

No. Binary DOC and packaged OOXML have different structures. Conversion must parse one and write the other.

Sources and specifications