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 built on the Office Open XML standard, utilizing XML to outline the structure and content of the document, which makes it more transparent and easier to work with. `.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 stored in `document.xml`, while styling information is located in separate files like `styles.xml`, and there are directories for embedded media. This format enhances compatibility between different software platforms, reduces file sizes, and improves the recovery of corrupted files. Most modern word processors support the `.docx` format, and Microsoft provides compatibility packs for older versions of Word. For security reasons, macros are stored in a separate `.docm` file. Overall, `.docx` represents a significant advancement in document format technology, promoting transparency, compatibility, and efficient data management.
MIME type
application/vnd.openxmlformats-officedocument.wordprocessingml.document