10 MB DOCX sample file
A DOCX file of exactly 10,485,760 bytes. It is a valid Word document (Office Open XML) file, generated for this site and checked with an independent parser.
Download
sample-docx-10mb.docx
10 MB10,485,760 bytes
Download 10 MB DOCXDirect download. No sign-up and no waiting.
- Type
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- SHA-256
1f5766aa1c392ed545eda2402a1989e0ed9b7b40e78b792d8aeb2dcad16960c2- Direct URL
https://sampletestfiles.com/downloads/docx/sample-docx-10mb.docx
What is in this file
A short Word document with headings, body text, a list and a table, plus one embedded test-card PNG of 10,449,666 bytes. The image is stored uncompressed and sized so that the document is exactly 10,485,760 bytes.
| Contents | Headings, paragraphs, a bulleted list, a table and one image |
|---|---|
| Embedded image | PNG, 2,137 × 1,629 px |
| Macros | None |
| Tracked changes | None |
| Container | ZIP (Office Open XML) |
First bytes of the file
The first 64 bytes of sample-docx-10mb.docx as a hex dump: offset, bytes, then the same bytes as text. The DOCX signature is 50 4B 03 04.
00000000 50 4b 03 04 14 00 00 00 08 00 00 00 21 5c fc a7 |PK..........!\..|
00000010 ae d0 9d 01 00 00 fc 06 00 00 13 00 00 00 5b 43 |..............[C|
00000020 6f 6e 74 65 6e 74 5f 54 79 70 65 73 5d 2e 78 6d |ontent_Types].xm|
00000030 6c b5 95 b1 6e db 30 10 86 f7 3e 85 a0 45 43 20 |l...n.0...>..EC |Preview
DOCX files cannot be shown in a browser. Download the file and open it with Microsoft Word.
Where 10 MB matters
A 10,485,760-byte file: over the default limits of PHP, API Gateway and Spring Boot requests. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| Amazon API Gateway | 10 MB payload | A 10 MB file in a multipart or base64 body is over the limit. |
| Spring Boot multipart | 10 MB per request by default (max-request-size) | Exceeded once form overhead is added. |
| PHP | 8 MB POST body by default (post_max_size) | Rejected before the script runs. |
| Amazon S3 multipart upload | 5 MiB minimum part size | This file splits into exactly two minimum-sized parts. |
| Email attachments | Commonly 20 to 25 MB per message | 10 MB fits, at about 13.3 MB once encoded. |
Use this file for
- Exercising chunked and resumable uploads
- Checking document-to-PDF conversion
- Verifying MIME detection of ZIP-based formats
Testing notes for DOCX
- Content sniffers often report DOCX as application/zip. Correct detection has to look inside the package for [Content_Types].xml.
- The long MIME type is frequently mistyped in allow-lists, which makes valid Word files fail validation.
Technical details
| File name | sample-docx-10mb.docx |
|---|---|
| Format | DOCX (Word document (Office Open XML)) |
| Extension | .docx |
| MIME type | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| Size | 10,485,760 bytes (10 MB) |
| Kind | Binary |
| Signature | 50 4B 03 04 |
| SHA-256 | 1f5766aa1c392ed545eda2402a1989e0ed9b7b40e78b792d8aeb2dcad16960c2 |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Not available for this format; details only |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Documents |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-docx-10mb.docx 'https://sampletestfiles.com/downloads/docx/sample-docx-10mb.docx'
sha256sum sample-docx-10mb.docx # Linux
shasum -a 256 sample-docx-10mb.docx # macOSOn Windows, run Get-FileHash sample-docx-10mb.docx -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
Related files
Questions about this file
- Is this file exactly 10 MB?
- Yes. It is 10,485,760 bytes, which is 10 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 10 MB DOCX file?
- A short Word document with headings, body text, a list and a table, plus one embedded test-card PNG of 10,449,666 bytes. The image is stored uncompressed and sized so that the document is exactly 10,485,760 bytes.
- 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.