DataBrighten

    Sample DOCX files

    3files · 112 KB in all · CC0

    Word documents in the .docx format (Office Open XML), made with python-docx: a short text file, a report with headings, lists and a 10-row table, and a file with an embedded image. Free, no sign-up. Updated 19 November 2026.

    textnumberdateyes/no
    Files3to download
    Total size112 KBall files
    Format.docxapplication/vnd.openxmlforma
    LicenceCC0use for anything

    What these files are

    Word documents in the .docx format (Office Open XML), made with python-docx: a short text file, a report with headings, lists and a 10-row table, and a file with an embedded image. They open in Word, LibreOffice, Google Docs and Pages.

    Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.

    About the format

    A .docx file is a ZIP archive of XML parts defined by the Office Open XML standard (ECMA-376, ISO/IEC 29500). The text lives in word/document.xml, styles in word/styles.xml and images in word/media/. Because it is a ZIP, a .docx starts with the bytes PK, which is also why some upload filters mistake it for an archive.

    These files open in Microsoft Word, LibreOffice Writer, Google Docs and Apple Pages. A web server should send them with the header Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document.

    3 files to download

    FileSizeWhat it is
    sample-simple.docx36 KBtitle and 3 paragraphs
    paragraphs: 4; tables: 0; images: 0; words: 115
    sample-headings-table.docx37 KBtitle, 5 headings, lists and a 10-row table
    paragraphs: 14; tables: 1; images: 0; words: 212
    sample-with-image.docx39 KBtitle, 2 paragraphs and one embedded PNG image
    paragraphs: 4; tables: 0; images: 1; words: 87

    MIME type: application/vnd.openxmlformats-officedocument.wordprocessingml.document. Total 112 KB.

    Good for testing

    • Document upload and preview
    • Converting DOCX to PDF or HTML
    • Extracting text and tables
    • Checking that images inside a document survive a conversion

    Check a file

    unzip -l sample-headings-table.docx   # a .docx is a zip of XML files
    python -c "import docx; print(len(docx.Document('sample-headings-table.docx').tables))"

    Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):

    FileSHA-256
    sample-simple.docx6ff6e5d5d9bec43621eace99840dca8548b61ffec29ba380a27bffb8791a9258
    sample-headings-table.docx5fcff0907bd2ce52149aac5bac3d03835a761097d13d47dfbc71a547b005131e
    sample-with-image.docx51fab9ff16600cda21ed84d978271036bb203e1f0aab4a9b319d45feb5905599