Legacy Office, publishing and message sample files
Download verified OLE2 binary Office documents (.doc, .xls, .ppt), OpenDocument templates and presentations (.odp, .ott), RFC 4155 MBOX email archives, LaTeX (.tex), and AsciiDoc (.adoc) fixtures.
Overview and format architecture
Enterprise document management systems, legal e-discovery platforms, and applicant tracking systems (ATS) cannot assume every uploaded document is a modern PDF or ZIP-based DOCX/XLSX/PPTX file. Millions of archived records exist in Microsoft's 1997–2003 OLE2 Compound File Binary Format (.doc, .xls, .ppt), OASIS OpenDocument formats (.odp, .ott), academic typesetting sources (.tex, .adoc), and Unix multi-message mailbox exports (.mbox).
Every binary OLE2 and OpenDocument file in the table below was compiled cleanly via headless LibreOffice from deterministic synthetic sources, verified to contain zero personal metadata or macros, and hashed with SHA-256.
Format reference and sample downloads
Each format below has a permanent anchor link (for example #adoc) so you can link directly to its specification row from your test plan or the A to Z Format Index.
| Extension & MIME | Magic bytes & description | Size / Status | SHA-256 / Provenance note | Action |
|---|---|---|---|---|
.adoctext/asciidoc |
3D 20 ('= ' document title header in UTF-8)AsciiDoc lightweight technical publishing markup used by Antora, Asciidoctor, and documentation pipelines. |
220 bytes220 bytes | ba77c7c074ef2816e24dcfcb76bc79404ec5f1309b4d1bec6264204300882fed |
Download .adoc |
.docapplication/msword |
D0 CF 11 E0 A1 B1 1A E1 (OLE2 Compound File magic + WordDocument stream)Microsoft Word 97–2003 binary document stored inside an OLE2 / COM Structured Storage FAT sector container. |
9.00 KB9,216 bytes | ab02f58b08d3374f511f199fda84138d0cea90cc3c8b53125711ca2ad22317d8 |
Download .doc |
.mboxapplication/mbox |
46 72 6F 6D 20 ('From ' envelope separator line)IETF RFC 4155 Unix mailbox archive concatenating multiple RFC 5322 email messages separated by 'From ' lines. |
604 bytes604 bytes | 4f1a79d95bbd51da635116cdb9fbed862d08dd0ad64378a555bf6093e6bcbd33 |
Download .mbox |
.mobiapplication/x-mobipocket-ebook |
PalmDOC header + 42 4F 4F 4B 4D 4F 42 49 ('BOOKMOBI' at offset 60)Mobipocket legacy e-reader format (superseded by EPUB). |
Unavailable | Unavailable: Amazon retired MOBI ingestion in 2022–2023 in favor of standard EPUB (/formats/epub/). | Not hosted |
.msgapplication/vnd.ms-outlook |
D0 CF 11 E0 A1 B1 1A E1 (OLE2 with __substg1.0_ MAPI properties)Microsoft Outlook single-message MAPI OLE2 file. |
Unavailable | Unavailable: requires Windows MAPI property stream synthesis; use standard RFC 5322 EML (/formats/eml/) or MBOX (sample.mbox) for email testing. | Not hosted |
.odpapplication/vnd.oasis.opendocument.presentation |
50 4B 03 04 (ZIP with uncompressed mimetype at offset 38)OASIS OpenDocument Presentation slide deck (ISO/IEC 26300) used by LibreOffice Impress and Collabora. |
17.76 KB18,182 bytes | 92111d6810afd190c74e04a976c9cfc231acffb3d3c098faaeb5e9f364a73e20 |
Download .odp |
.ottapplication/vnd.oasis.opendocument.text-template |
50 4B 03 04 (ZIP with mimetype 'application/vnd.oasis.opendocument.text-template')OASIS OpenDocument Text Template file. |
9.12 KB9,344 bytes | 4ea5e833fc24a27cac5574a8defb783e4d9aaa304150635b5c40a378c6784811 |
Download .ott |
.pptapplication/vnd.ms-powerpoint |
D0 CF 11 E0 A1 B1 1A E1 (OLE2 Compound File + PowerPoint Document stream)Microsoft PowerPoint 97–2003 binary presentation deck. |
592.50 KB606,720 bytes | 17769304d25664988265d5c6607280d3224ed94ebe387836214913d9a9f9efa2 |
Download .ppt |
.texapplication/x-tex |
5C 64 6F 63 75 6D 65 6E 74 63 6C 61 73 73 ('\documentclass')LaTeX2e scientific and mathematical typesetting source file. |
354 bytes354 bytes | 4d00f1780e298d9ace0be5d0c10fd0e767094003c8d5d9971f6208d0c6a4ed4c |
Download .tex |
.xlsapplication/vnd.ms-excel |
D0 CF 11 E0 A1 B1 1A E1 (OLE2 Compound File + BIFF8 Workbook stream)Microsoft Excel 97–2003 BIFF8 binary spreadsheet workbook. |
22.50 KB23,040 bytes | 582eda3a9b04a095e9915022d8962628b4194344419ecc3d1650ba4f7ac734bd |
Download .xls |
.xpsapplication/vnd.ms-xpsdocument |
50 4B 03 04 (Open Packaging Conventions ZIP + FixedDocumentSequence.fdseq)Microsoft XML Paper Specification fixed-layout print spool package. |
Unavailable | Unavailable: deprecated Windows print spool format; use PDF (/formats/pdf/) for fixed-layout testing. | Not hosted |
Testing OLE2 Compound Documents vs. OpenXML ZIP Containers
- OLE2 magic signature collisions (D0 CF 11 E0 A1 B1 1A E1): Word
.doc, Excel.xls, PowerPoint.ppt, Visio.vsd, and Windows Installer.msifiles all share the exact same 8-byte OLE2 Compound File header (D0 CF 11 E0 A1 B1 1A E1). To determine whether an uploaded OLE2 file is a Word document or an Excel workbook, your parser must read the OLE2 Root Directory Entry and check for the internal stream nameWordDocument(for.doc),WorkbookorBook(for.xls), orPowerPoint Document(for.ppt). - OpenDocument uncompressed mimetype rule: In valid
.odt,.ods,.odp, and.ottfiles (as well as EPUB), the very first entry in the ZIP container must be an uncompressed file namedmimetypestarting at byte offset 30 so magic-byte sniffers can read the exact MIME string at byte offset 38 without inflating the ZIP central directory.
Related hubs and diagnostics
Frequently asked questions
- Why do .doc, .xls, and .ppt share the same magic bytes?
- All three Microsoft Office 97–2003 formats use Microsoft's OLE2 Compound File Binary Format, which acts like a miniature FAT filesystem inside a single file. The first 8 bytes (D0 CF 11 E0 A1 B1 1A E1) identify the OLE2 container, while the specific Office application is identified by the named streams inside the root directory.
- Do sample.doc, sample.xls, or sample.ppt contain VBA macros?
- No. None of our Office fixtures contain VBA macro storage streams (_VBA_PROJECT_CUR or Macros), active scripts, or external DDE links.