Test files › Office documents
Sample Office documents test files
Free office documents test files for QA and developers: corrupt-missing-content-types.docx, document.docx, document.odt, formula-injection.xlsx, macro-enabled.xlsm, presentation.pptx and more. Each with a published SHA-256 and a note on what it catches.
| File | Format | Size | What it catches |
corrupt-missing-content-types.docx | DOCX | 577 bytes | A DOCX-shaped ZIP that is missing its [Content_Types].xml part. |
document.docx | DOCX | 1.1 KB | Word document (OOXML) with a heading and two paragraphs. |
document.odt | ODT | 814 bytes | OpenDocument Text with the mandatory uncompressed "mimetype" entry stored first. |
formula-injection.xlsx | XLSX | 1.7 KB | Workbook whose cells contain =, +, - and @ prefixed strings and a HYPERLINK formula. |
macro-enabled.xlsm | XLSM | 1.8 KB | Macro-enabled workbook structure with an inert VBA project placeholder (no executable code). |
presentation.pptx | PPTX | 3.7 KB | PowerPoint presentation with a slide master, layout and one titled slide. |
spreadsheet.ods | ODS | 840 bytes | OpenDocument Spreadsheet with a small table and the stored-first mimetype entry. |
spreadsheet.xlsx | XLSX | 1.7 KB | Excel workbook with a header row, data rows, and a live SUM formula. |