DOCX

The standard file format for Microsoft Word documents, which is really a zip archive containing XML files for the text, styles and properties.

In more detail

DOCX is part of the Office Open XML family, standardised by Ecma International and by ISO, alongside the spreadsheet and presentation formats. Because it is just a zip archive, you can open it with ordinary tools and read or change the parts inside, including the document properties that hold metadata and labels. Those properties travel with the file when it is copied or emailed. Word documents are also a common phishing lure.

Example

zipfile.ZipFile("pricing-2027.docx").read("docProps/custom.xml")

Related terms

Taught in

References