Documents · Updated · All file signatures

OLE2 Compound File Magic Bytes (D0 CF 11 E0)

Compound File Binary Format (CFBF / OLE2, documented in [MS-CFB]) is Microsoft’s FAT-like filesystem-inside-a-file. Every OLE2 container starts with the famous 8-byte signature D0 CF 11 E0 A1 B1 1A E1 (whose first four hex bytes spell “DOCFILE” in Visual-era hex mnemonics).

Signature & identification summary

Detected format nameOLE compound document
Hexadecimal magic bytesD0 CF 11 E0 A1 B1 1A E1
ASCII / marker preview........
Byte offset0
MIME typeapplication/x-ole-storage
Common extensions & aliases.doc, .xls, .ppt, .msg, .msi

Check whether your file really is OLE2.

Drop any file into File Sniff’s free local browser checker to verify its D0 CF 11 E0 A1 B1 1A E1 signature and spot misleading extensions—without uploading a single byte.

Check a file’s real type ↗︎

Container & byte-layout notes

Because OLE2 is a mini filesystem of 512-byte or 4,096-byte sectors with a Root Entry directory, multiple classic formats share identical magic bytes: Word 97–2003 (.doc, WordDocument stream), Excel 97–2003 (.xls, Workbook stream), PowerPoint 97–2003 (.ppt, PowerPoint Document stream), Outlook messages (.msg, __substg1.0_ streams), and Windows Installer packages (.msi).

Extension mismatches & common pitfalls

Never rename an OLE2 .doc file to .docx—modern .docx expects a PKZIP archive (50 4B 03 04) and Word will reject a mislabelled OLE2 binary until saved properly via Save As.

Which apps open OLE2 files?

PlatformCompatible applications & tools
Mac (macOS)Microsoft Word/Excel/PowerPoint, Apple Pages/Numbers/Keynote, LibreOffice
iPhone & iPadFiles Quick Look, Pages/Numbers/Keynote, Microsoft 365
WindowsMicrosoft Office, LibreOffice, 7-Zip (can browse raw OLE2 streams)

Free local tools & related guides

Inspect files & folders natively
on Mac, iPhone & iPad.

The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.

Download on the App Store ↗︎