Skip to content
Fileora
.docm · Microsoft Word Macro-Enabled Document

What Is a DOCM (.docm) File?

A DOCM (`.docm`) file is a Microsoft Word Macro-Enabled Document used for storing Microsoft Word documents that include embedded Visual Basic for Applications (VBA) macros for automated forms and document scripts. Opens in desktop Microsoft Word and LibreOffice Writer; many email gateways block .docm attachments for security.

Tap to choose files

PDF, DOCX, XLSX, PPTX, JPG, PNG, MP3, MP4, EPUB, ZIP and 100+ more

DOCM Technical Specifications & Use Cases

Microsoft Word Macro-Enabled Document (.docm) is classified as a formatted document with lossless storage. In everyday workflows, it is used for storing Microsoft Word documents that include embedded Visual Basic for Applications (VBA) macros for automated forms and document scripts.

Full Format NameMicrosoft Word Macro-Enabled Document
File Extension(s).docm
MIME Type(s)application/vnd.ms-word.document.macroEnabled.12
Format ClassificationFormatted document (lossless)
Parent Category HubDocument Converters & Tools (/document)
Header / Magic Bytes0x50 0x4B 0x03 0x04
Primary Use CasesStoring Microsoft Word documents that include embedded Visual Basic for Applications (VBA) macros for automated forms and document scripts.
Notable LimitationsVBA macro code is stripped when converting DOCM to standard DOCX or PDF, leaving only the static document text and formatting.

How to Open a DOCM (.docm) File

Opens in desktop Microsoft Word and LibreOffice Writer; many email gateways block .docm attachments for security. Below are the verified programs and built-in apps that open .docm files across desktop and mobile operating systems:

Microsoft Windows

Microsoft Word, LibreOffice Writer

Apple macOS

Microsoft Word, LibreOffice Writer

Android

Microsoft Word (text view only, macros disabled)

iPhone & iPad (iOS / iPadOS)

Microsoft Word (text view only, macros disabled)

How DOCM Compares to Closest Alternatives

Identical to DOCX in XML text and layout structure, except DOCM includes a vbaProject.bin binary part for macro scripts. Converting DOCM to DOCX or PDF safely removes executable code so the file can be emailed without security blocks.

Convert from DOCM (2 Supported Targets)

Choose a target format below to convert your .docm file locally in your browser without uploading:

Frequently Asked Questions About DOCM (.docm) Files

Both use the Office Open XML ZIP format, but DOCX cannot store executable macro code. DOCM includes a binary VBA project file (vbaProject.bin) that runs automated scripts inside Microsoft Word.

Explore More Document Tools

Visit the Document hub or browse all 118 supported formats in the Fileora encyclopedia.