Sample DOCX Files — Download Test Word Documents (Small to XL)

Microsoft Word (Office Open XML) · .docx · MIME type application/vnd.openxmlformats-officedocument.wordprocessingml.document

4 files38 KB178 KBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample DOCX file — a real Word document with heading styles, bulleted and numbered lists, a bordered table of fictional orders, embedded JPEG figures, page breaks and core properties (title, author). Four sizes cover everything from a quick upload check to a 30-section document that stresses converters and previewers.

DOCX is a ZIP archive of XML parts, which is why a corrupt or renamed file is easy to detect (it must start with the ZIP signature PK) and why text extraction is comparatively easy. It has been Word's default since 2007 and is the format every document API expects.

Download sample DOCX files

FileDetailsSizeDownload
sample-document-small.docx
1 section
38 KB
38,472 bytes
Download DOCX
sample-document-medium.docx
3 sections • with images
177 KB
176,624 bytes
Download DOCX
sample-document-large.docx
10 sections • with images
177 KB
177,006 bytes
Download DOCX
sample-document-xl.docx
30 sections • with images
178 KB
177,905 bytes
Download DOCX
4 files · direct links · no sign-up · CORS enabled

Need one of every documents format? Download the documents sample pack (110 KB, one small file of every documents format (14 files)).

Use these files from the command line or CI

Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.

# Download one file
curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/documents/docx/sample-document-small.docx

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-document-small.docx

# Machine-readable index of every sample file
curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="docx")'

DOCX format at a glance

Full nameMicrosoft Word (Office Open XML)
Extensions.docx
MIME typeapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
StandardECMA-376 / ISO 29500 (Office Open XML), 2006
ContainerZIP with word/document.xml and media parts
ContentsHeading 1–2 styles, lists, table, JPEG images, page breaks
Generated withpython-docx
Magic bytes50 4B 03 04 ("PK")

What people test with sample DOCX files

  • DOCX → PDF conversion services
  • Text and structure extraction (headings should map to an outline)
  • Document previewers in web apps
  • Email attachment scanning
  • Track-changes-free baseline for diffing tools

Frequently asked questions

What is the difference between DOC and DOCX?

DOC is Word's pre-2007 binary format; DOCX is the XML-in-a-ZIP format that replaced it. DOCX files are smaller, less prone to corruption, cannot carry macros (that is DOCM) and can be generated by hundreds of libraries. Most systems still receive DOC uploads occasionally, so we provide both.

Do these files contain macros or tracked changes?

No macros (DOCX cannot hold them), no tracked changes, no comments, no external links. They are clean baselines — if your scanner flags them, the scanner is wrong.

Are these DOCX files safe to download?

Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.

Can I use the sample DOCX files commercially?

Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.

Can I hotlink these files or use them in CI?

Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).

Related sample files

Free tools that work with DOCX

  • PDF ConverterTurn a PDF into images or text, or combine images into a PDF — free, in your browser, no upload.

Testing a file pipeline? We build them.

Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.

See how we can help
Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.