Home  /  File formats  /  docx

DOCX file format

Extension.docx
Categorydocuments
Programs
Microsoft Office
LibreOffice
Kingsoft Office
Google Docs
Main programMicrosoft Office
Description.docx The .docx format is the default file format for documents created in Microsoft Word starting with Word 2007 and later versions. It is part of the Office Open XML specification and uses XML and ZIP compression to create smaller file sizes. The .docx format supports text, images, styling, and complex document formatting. Compared to the older .doc format, it is more modern and open, and has become the standard for word processing documents in many environments.
Technical detailsThe `.docx` format, introduced with Microsoft Office 2007, replaces the older `.doc` format in Microsoft Word. It is based on the Office Open XML standard, utilizing XML to outline document structure and content, which makes it more transparent and easier to process. `.docx` files are essentially zip archives that contain XML files and resources, organized into folders such as 'word', 'docProps', and 'rels' for text, properties, and relationships. The main text is located within `document.xml`, while styling is stored in separate files like `styles.xml`, and directories house embedded media. This format promotes interoperability, reduces file sizes, and enhances recovery from corruption. Most modern word processors support `.docx`, and Microsoft provides compatibility packs for older Word versions. For security reasons, macros are stored in a separate `.docm` file. `.docx` represents a significant advancement in document format technology, with a focus on openness, interoperability, and efficient data management.
MIME type
application/vnd.openxmlformats-officedocument.wordprocessingml.document