Documents

DOCX test files, any size.

Set a size and generate a structurally valid DOCX immediately. Nothing is uploaded and nothing is stored.

0bytes
Exact size

DOCX, built to spec.

Each file is a genuine Office Open XML package with the required content-type and relationship parts. The size you ask for is reached with a binary part declared in [Content_Types].xml, which Word ignores, so the result opens in Microsoft Word, LibreOffice, Google Docs and python-docx. Most people generate these for testing document upload flows and Office file handlers.

Questions.

How small can a DOCX file be?

About 1,496 bytes. Below that the format cannot carry its mandatory structure, let alone padding.

Will the file open normally?

Yes — it opens in Microsoft Word, LibreOffice, Google Docs and python-docx, because the padding lives in a binary part declared in [Content_Types].xml, which Word ignores.

Can I ask for an unusual size?

Any byte count above the minimum works, including values like 3,145,728 or 27.5 MB. Drag the caliper or type the number.

Noticed an issue with this test file? Report an issue →