Sample DOCX (Word) file — free download

Word-compatible documents: a real OOXML .docx, an OpenDocument .odt and an .rtf, plus a PowerPoint .pptx and a deliberately corrupt .docx missing its [Content_Types].xml part.

5 ready-made Word test files

FileSizeWhat it catches
document.rtf178 bytesRTF is often accepted wherever DOC is, but it is plain text with control words, not a ZIP. Catches importers that route on the .rtf extension into a binary DOC parser.download
corrupt-missing-content-types.docx577 bytesOpeners that assume any ZIP with a word/ folder is a valid document. A spec-compliant reader rejects this because the package has no content-type map.download
document.odt814 bytesODF readers sniff the type from the first, uncompressed archive entry. Extractors or repackagers that re-compress or reorder entries break that - this file is the control for that behaviour.download
document.docx1.1 KBA minimal but valid DOCX built from source as a ZIP of XML parts. Opens in the corresponding application; use it to exercise upload, parsing and preview without shipping a real document. Also checks that your MIME sniffing recognises a .docx as a ZIP-based OOXML package rather than mislabelling it application/zip.download
presentation.pptx3.7 KBA minimal but valid PPTX built from source as a ZIP of XML parts. Opens in the corresponding application; use it to exercise upload, parsing and preview without shipping a real document. PPTX is the strictest of the three - it needs a slide master and layout - so it catches thumbnailers that assume every OOXML file is flat.download

Every file is generated from source — no third-party copyright — and each has its own page with a published SHA-256 you can verify after download.

Questions

Where can I download a sample Word document?

The DOCX below is a genuine OOXML document that opens in Word, LibreOffice and python-docx.

Where can I download a sample PPTX file?

The .pptx below is a real OOXML presentation with one slide, so it opens in PowerPoint, Keynote, Google Slides and python-pptx rather than only passing an extension check.

How do I test corrupt document handling?

The corrupt DOCX is missing [Content_Types].xml. It is still a valid ZIP, so signature checks pass while Word refuses to open it.

Other formats

Sample ZIP fileSample PNG fileSample image filesSample XLS and XLSX (Excel) filesSample TXT and encoding test filesSample XML fileSample YAML fileSample SQLite database file