Free DOCX sample, test and dummy files

The default Microsoft Word format since 2007: a ZIP package of XML parts. Download valid DOCX test files in 15 exact sizes, from 50 KB to 100 MB, each with a checksum. Or create one of any size up to 512 MB.

Extension
.docx
MIME type
application/vnd.openxmlformats-officedocument.wordprocessingml.document
Kind
Binary
Category
Documents

Create a DOCX file of any size

Choose any size from 37,888 bytes to 512 MB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

DOCX files by size

Every file below is a valid Word document (Office Open XML) file of exactly the stated size. Open a file's page for its checksum and contents. DOCX files cannot be displayed by a browser, so their pages show the file's details instead of a preview.

DOCX sample files by size
FileSizePages / Sheets & Content FeaturesDownload
50 KB DOCX samplesample-docx-50kb.docx 50 KB51,200 bytes Embedded image: 81 × 61 px Download DOCX
100 KB DOCX samplesample-docx-100kb.docx 100 KB102,400 bytes Embedded image: 172 × 128 px Download DOCX
200 KB DOCX samplesample-docx-200kb.docx 200 KB204,800 bytes Embedded image: 275 × 204 px Download DOCX
500 KB DOCX samplesample-docx-500kb.docx 500 KB512,000 bytes Embedded image: 462 × 343 px Download DOCX
1 MB DOCX samplesample-docx-1mb.docx 1 MB1,048,576 bytes Embedded image: 669 × 504 px Download DOCX
2 MB DOCX samplesample-docx-2mb.docx 2 MB2,097,152 bytes Headings, paragraphs, a bulleted list, a table and one image Download DOCX
3 MB DOCX samplesample-docx-3mb.docx 3 MB3,145,728 bytes Embedded image: 1176 × 881 px Download DOCX
5 MB DOCX samplesample-docx-5mb.docx 5 MB5,242,880 bytes Headings, paragraphs, a bulleted list, a table and one image Download DOCX
10 MB DOCX samplesample-docx-10mb.docx 10 MB10,485,760 bytes Headings, paragraphs, a bulleted list, a table and one image Download DOCX
15 MB DOCX samplesample-docx-15mb.docx 15 MB15,728,640 bytes Embedded image: 2048 × 1536 px Download DOCX
20 MB DOCX samplesample-docx-20mb.docx 20 MB20,971,520 bytes Embedded image: 2048 × 1536 px Download DOCX
25 MB DOCX samplesample-docx-25mb.docx 25 MB26,214,400 bytes Embedded image: 2048 × 1536 px Download DOCX
30 MB DOCX samplesample-docx-30mb.docx 30 MB31,457,280 bytes Embedded image: 2048 × 1536 px Download DOCX
50 MB DOCX samplesample-docx-50mb.docx 50 MB52,428,800 bytes Embedded image: 2048 × 1536 px Download DOCX
100 MB DOCX samplesample-docx-100mb.docx 100 MB104,857,600 bytes Embedded image: 2048 × 1536 px Download DOCX

More DOCX samples

Hand-designed files with realistic content or a specific edge case. Files described as corrupted or truncated are invalid on purpose, for testing how software reacts to a damaged DOCX file.

Curated DOCX sample files
FileSizePages / Sheets & Content FeaturesDownload
Corrupted DOCX file for testing (truncated)sample-docx-corrupted.docx 35 KB35,840 bytes Damage: Truncated to 70% of its length Download DOCX

What is a DOCX file?

A .docx file is a ZIP archive that holds XML files describing the text, styles and settings of a document, along with any embedded images. Renaming one to .zip and opening it shows the parts inside.

Because the content is compressed XML, DOCX files are much smaller than the older binary .doc format, and they can be generated and inspected with ordinary ZIP and XML tools.

How to recognise a DOCX file

Software recognises a DOCX file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.

The first bytes of every file. The same signature as any ZIP archive, because the file is a ZIP package.
Extension.docx
MIME typeapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
StandardECMA-376 and ISO/IEC 29500
ContainerZIP (Open Packaging Conventions)
Main partword/document.xml
MacrosNot allowed in .docx; macro-enabled documents use .docm

What to test for

These are the behaviours that most often go wrong when software handles DOCX files.

Strengths of DOCX

  • Editable everywhere: Word, Google Docs, LibreOffice and Pages all open it.
  • Compressed XML keeps text-heavy documents small and easy to process with ordinary tools.

Limitations of DOCX

  • Layout depends on the fonts and the application, so the same file can paginate differently.
  • Content sniffers see only a ZIP archive, which complicates type validation.

Typical uses of DOCX test files

  • Testing document uploads in HR, legal and education software
  • Checking document-to-PDF conversion
  • Verifying MIME detection of ZIP-based formats
  • Testing text indexing and search

Software that opens DOCX

  • Microsoft Word
  • Google Docs
  • LibreOffice Writer
  • Apple Pages
  • Pandoc, python-docx and Apache POI libraries

Specifications

Related

DOCX sample files: questions

Will these files open in Google Docs and LibreOffice?
Yes. They use standard Office Open XML with no macros, tracked changes or custom extensions.
Why does my server say the file is a ZIP archive?
Because it is one. Tools that only read the first bytes cannot tell DOCX from ZIP; they must check the package contents or fall back to the file extension.
What is the MIME type of a DOCX file?
The MIME type is application/vnd.openxmlformats-officedocument.wordprocessingml.document. The file extension is .docx.
Is a sample DOCX file the same as a dummy or example DOCX file?
Yes. Sample, test, dummy and example DOCX files are different names for the same thing: a DOCX file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy DOCX file.

Opening large files

Keep this tab open until your browser reports that the download is complete. Check the saved file size against the byte count on this page; a partial download may not open. For ordinary viewer tests, start with a 5 MB or 10 MB sample. Large samples are stress-test fixtures and may exceed the memory or file-size limits of your viewer.

DOCX generation is limited to 512 MB. Microsoft documents that Word can refuse larger files. Use ZIP or BIN for 1 GB transfer tests instead of expecting a 1 GB Word document to open.