32.0 KB
1-page DOC sample
sample-doc-1-page.doc
Pages:1
DOC Download DOCDOC · 5 files
Download clean Microsoft Word 97-2003 binary documents (.doc) with authentic Compound File Binary Format (CFBF / OLE 2) structure. Select from 1 to 25 pages to test legacy file uploads, DOC-to-PDF converters, text extraction parsers, and antivirus scanning engines.
DOC library
5 files
32.0 KB
1-page DOC sample
sample-doc-1-page.doc
Pages:1
DOC Download DOC38.5 KB
3-page DOC sample
sample-doc-3-pages.doc
Pages:3
DOC Download DOC46.0 KB
5-page DOC sample
sample-doc-5-pages.doc
Pages:5
DOC Download DOC67.0 KB
10-page DOC sample
sample-doc-10-pages.doc
Pages:10
DOC Download DOC131.0 KB
25-page DOC sample
sample-doc-25-pages.doc
Pages:25
DOC Download DOCDOC technical testing guide
DOC is the legacy binary file format that served as the global standard for Microsoft Word 97 through Word 2003. Built on the Compound File Binary Format (CFBF / OLE 2), these fixtures provide authentic binary streams without bundling private data, macros, or security hazards.
Unlike modern XML-based DOCX packages, a .doc file is a specialized binary container functioning like an internal file system. Inside the Compound File Binary Format (CFBF), data is organized into streams including WordDocument (which holds the File Information Block "Fib", text pieces, and formatting descriptors), the Table stream (0Table or 1Table containing piece tables and stylesheets), and SummaryInformation property sets.
Each of our fixtures includes a document title, multi-level headings, formatted body paragraphs, clean tabular data, and explicit page breaks. Choose a 1-page sample for fast upload smoke testing, or the 25-page document when testing pagination boundary handling, memory consumption, and document conversion pipelines.
Every fixture contains forced page breaks and distinct section headers, ensuring reliable pagination across 1, 3, 5, 10, and 25 pages.
All files strictly start with the standard OLE 2 magic bytes (D0 CF 11 E0 A1 B1 1A E1), passing strict binary header inspection and magic number sniffers.
Our fixtures contain zero VBA macros, ActiveX controls, or embedded scripts, providing completely safe, virus-free test files for enterprise and CI pipelines.
A DOC file is the proprietary binary word processing document format introduced by Microsoft and used as the default file format from Microsoft Word 97 through Word 2003. It is structured around the Microsoft Compound File Binary Format (CFBF / OLE 2).
DOC is an OLE 2 binary stream format containing binary records (Fib, piece tables, and formatting runs). DOCX, introduced in Microsoft Office 2007 (ECMA-376 / ISO/IEC 29500), is an open XML-based format packaged within a standard ZIP archive. DOCX is modern and human-readable when uncompressed, whereas DOC requires binary parsers like Apache POI HWPF or LibreOffice filters.
Millions of historical and enterprise documents remain in .doc format. Developers need sample .doc files to test backward compatibility, document conversion pipelines (DOC to PDF or DOC to DOCX), legal and medical document archiving, and antivirus gateway filters.
Yes. All DOC samples on TestingFile are generated from scratch with clean dummy text, safe tables, and zero VBA macros or executable payloads. They are completely safe for local development, production staging, and automated CI pipelines.
Yes. All files have permanent, static URLs that support direct HTTP GET requests, curl, wget, and scriptable automated testing without session cookies or CAPTCHAs.
.doc application/msword Compound File Binary Format (CFBF / OLE 2) with WordDocument stream
Source specification: Wikipedia: Doc (computing) & Microsoft [MS-DOC] Specification
DOC is the legacy binary document format used by Microsoft Word 97 through Word 2003, built on the Compound File Binary Format (CFBF).
A .doc file acts as an internal file system within a single binary file (OLE 2 / CFBF), containing specialized streams for text content, styling tables, and document metadata.
Microsoft officially documented the binary format under the [MS-DOC] specification, describing Fib (File Information Block), piece tables, and binary formatting records.
While replaced as default by DOCX in Office 2007, legacy .doc files remain critical for testing document ingestion pipelines, converters, anti-virus scanners, and enterprise archiving systems.
Source article: Wikipedia: Doc (computing)