50 KB DOCX sample
A DOCX file of exactly 51,200 bytes. It is a valid Word document (Office Open XML) file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 50 KB sample, test or dummy DOCX file.
Download
sample-docx-50kb.docx
50 KB51,200 bytes
Download 50 KB DOCXCreated in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.
- Type
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- SHA-256
f035af1f12c5f3784586ef7eff739c4aaac857698e5393b3607a5b210bf82cfc- Delivery
- Created in your browser from static generator assets (how it works).
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 15,106 bytes, stored uncompressed and sized so that the document is exactly 51,200 bytes. Padding of 110 bytes in a PNG tEXt comment chunk inside the image makes up the rest.
| Contents | Headings, paragraphs, a bulleted list, a table and one image |
|---|---|
| Embedded image | PNG, 81 × 61 px |
| Macros | None |
| Tracked changes | None |
| Container | ZIP (Office Open XML) |
First bytes of the file
The first 64 bytes of sample-docx-50kb.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 in an application that reads DOCX, such as Microsoft Word.
Where 50 KB matters
A 51,200-byte file, half of the default body limit in several web frameworks. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| Express body parsers | 100 KB by default | 50 KB is accepted; 500 KB is rejected with 413 unless the limit is raised. |
| Base64 encoding | Adds 33 percent | 50 KB becomes about 67 KB when embedded in JSON. |
Use this file for
- Testing document previews
- Testing document uploads in HR, legal and education software
- Checking document-to-PDF conversion
Testing notes for DOCX
- The long MIME type is frequently mistyped in allow-lists, which makes valid Word files fail validation.
- Some gateways re-compress or strip ZIP files in transit, which corrupts the document.
Technical details
| File name | sample-docx-50kb.docx |
|---|---|
| Format | DOCX (Word document (Office Open XML)) |
| Extension | .docx |
| MIME type | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| Size | 51,200 bytes (50 KB) |
| Kind | Binary |
| Signature | 50 4B 03 04 |
| SHA-256 | f035af1f12c5f3784586ef7eff739c4aaac857698e5393b3607a5b210bf82cfc |
| Created | 2026-10-21 |
| Validation | See the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility. |
| Preview | Not available for this file; details only |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Documents |
Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.
sha256sum sample-docx-50kb.docx # Linux
shasum -a 256 sample-docx-50kb.docx # macOSOn Windows, run Get-FileHash sample-docx-50kb.docx -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.
Related files
Questions about this file
- Is this file exactly 50 KB?
- Yes. It is 51,200 bytes, which is 50 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 50 KB DOCX file?
- A short Word document with headings, body text, a list and a table, plus one embedded test-card PNG of 15,106 bytes, stored uncompressed and sized so that the document is exactly 51,200 bytes. Padding of 110 bytes in a PNG tEXt comment chunk inside the image makes up the rest.
- Will these files open in Google Docs and LibreOffice?
- Yes. They use standard Office Open XML with no macros, tracked changes or custom extensions.