Home  /  File formats  /  docx

DOCX file format

Extension.docx
Categorydocuments
Programs
Microsoft Office
LibreOffice
Kingsoft Office
Google Docs
Main programMicrosoft Office
DescriptionIntroduced with Microsoft Word 2007, the .docx file format has become the standard for creating documents in subsequent Word versions. As a key component of the Office Open XML specification, it leverages XML and ZIP compression techniques to produce compact files. The versatility of the .docx format allows it to handle text, images, and complex formatting and styling. Compared to the older .doc format, the .docx format is more modern and user-friendly. It has established itself as a widely accepted standard for word processing documents across diverse environments.
Technical detailsThe .docx format debuted with Microsoft Office 2007, replacing the earlier .doc format in Microsoft Word. It embraces the Office Open XML standard and utilizes XML to outline the structure and content of documents, simplifying their understanding and management. Essentially, .docx files are zip archives containing XML files and resources, neatly organized into folders named 'word', 'docProps', and 'rels' for text, properties, and relationships, respectively. The main text resides within `document.xml`, while styling is stored in separate files like `styles.xml`, and directories hold embedded media. This format promotes compatibility across platforms, reduces file sizes, and enhances recovery from data corruption. Most modern word processors support .docx. For those using older Word versions, Microsoft provides compatibility packs. For added security, macros are stored separately in a .docm file. The .docx format represents a significant advancement in document format technology, emphasizing openness, compatibility, and efficient data management.
MIME type
application/vnd.openxmlformats-officedocument.wordprocessingml.document