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.

Sample DOCX (Word) fileSample XLS and XLSX (Excel) filesFile signaturesMIME types

10 free office documents test files for QA and developers: corrupt-missing-content-types.docx, document.docx, document.odt, formula-injection.xlsx and more…

FileFormatSizeWhat it catches
corrupt-missing-content-types.docxDOCX577 bytesA DOCX-shaped ZIP that is missing its [Content_Types].xml part.
document.docxDOCX1.1 KBWord document (OOXML) with a heading and two paragraphs.
document.odtODT853 bytesOpenDocument Text with the mandatory uncompressed "mimetype" entry stored first.
formula-injection.xlsxXLSX1.7 KBWorkbook whose cells contain =, +, - and @ prefixed strings and a HYPERLINK formula.
legacy-workbook.xlsXLS3.5 KBA 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.xlsmXLSM1.8 KBMacro-enabled workbook structure with an inert VBA project placeholder (no executable code).
presentation.odpODP951 bytesA two-slide OpenDocument presentation built from source, with a title frame and a bullet list.
presentation.pptxPPTX3.7 KBPowerPoint presentation with a slide master, layout and one titled slide.
spreadsheet.odsODS878 bytesOpenDocument Spreadsheet with a small table and the stored-first mimetype entry.
spreadsheet.xlsxXLSX1.7 KBExcel workbook with a header row, data rows, and a live SUM formula.

← All test files