wire / magic /
ooxml
OOXML (Office Open XML) signature Modern Microsoft Office files (.docx, .xlsx, .pptx) are ZIP archives containing XML parts. The magic is the standard ZIP signature 0x50 0x4B 0x03 0x04; the content type is determined by [Content_Types].xml inside.
magic kind signature status de-facto verification verified tier B file-signature@1
aka: ooxml magic · .docx · .xlsx · .pptx · .docm · .xlsm · .pptm
file signature magic: 50 4B 03 04⧉ copy @ offset 0
.docx .xlsx .pptx .docm .xlsm .pptm application/vnd.openxmlformats-officedocument.wordprocessingml.document
spec: ECMA-376 / ISO/IEC 29500 (OOXML)
Same ZIP magic as any .zip file (50 4B 03 04). Distinguish from generic ZIP by the presence of [Content_Types].xml and word/document.xml (or xl/workbook.xml, ppt/presentation.xml). OOXML is a zipped collection of XML parts with relationships (.rels files). Macro-enabled variants use .docm/.xlsm/.pptm and contain vbaProject.bin.
agent: curl -H 'accept: application/json' wire.phall.io/magic/ooxml⧉ copy
or /magic/ooxml.json ⧉ copy
wire.phall.io ⌘K search main ✓