Test files › Office documents
Sample Office documents test files
What are Office document test files?
Word, Excel and PowerPoint files in both Office Open XML (DOCX, XLSX, PPTX) and OpenDocument (ODT, ODS, ODP) formats, plus a legacy XLS, a macro-enabled XLSM, a spreadsheet with formula injection and a DOCX missing its content-types part.
10 free office documents test files for QA and developers: corrupt-missing-content-types.docx, document.docx, document.odt, formula-injection.xlsx and more…
| 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 | 853 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. |
legacy-workbook.xls | XLS | 3.5 KB | A real legacy Excel 97-2003 workbook: BIFF8 records inside an OLE2 compound file, with two sheets, numbers, and text held in a shared string table. |
macro-enabled.xlsm | XLSM | 1.8 KB | Macro-enabled workbook structure with an inert VBA project placeholder (no executable code). |
presentation.odp | ODP | 951 bytes | A two-slide OpenDocument presentation built from source, with a title frame and a bullet list. |
presentation.pptx | PPTX | 3.7 KB | PowerPoint presentation with a slide master, layout and one titled slide. |
spreadsheet.ods | ODS | 878 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. |