500 KB DOCX sample file

A DOCX file of exactly 512,000 bytes. It is a valid Word document (Office Open XML) file, generated for this site and checked with an independent parser.

Download

sample-docx-500kb.docx

500 KB512,000 bytes

Download 500 KB DOCX

Direct download. No sign-up and no waiting.

Type
application/vnd.openxmlformats-officedocument.wordprocessingml.document
SHA-256
b84f0dab9b4723ab8251bdfdb11e4ddf44c2547b46f6285c0620f0fdf86f3c77
Direct URL
https://sampletestfiles.com/downloads/docx/sample-docx-500kb.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 475,906 bytes. The image is stored uncompressed and sized so that the document is exactly 512,000 bytes.

ContentsHeadings, paragraphs, a bulleted list, a table and one image
Embedded imagePNG, 456 × 347 px
MacrosNone
Tracked changesNone
ContainerZIP (Office Open XML)

First bytes of the file

The first 64 bytes of sample-docx-500kb.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 500 KB matters

A 512,000-byte file: larger than most API body limits, smaller than most upload limits. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Amazon DynamoDB items400 KB per item500 KB cannot be stored as a single item.
Express body parsers100 KB by defaultRejected unless the limit is raised.
nginx request body1 MB by default (client_max_body_size)Accepted with room to spare.

All 500 KB sample files

Use this file for

  • Testing that APIs return 413 for oversized bodies
  • Verifying MIME detection of ZIP-based formats
  • Testing text indexing and search

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.

DOCX format reference

Technical details

File namesample-docx-500kb.docx
FormatDOCX (Word document (Office Open XML))
Extension.docx
MIME typeapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
Size512,000 bytes (500 KB)
KindBinary
Signature50 4B 03 04
SHA-256b84f0dab9b4723ab8251bdfdb11e4ddf44c2547b46f6285c0620f0fdf86f3c77
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewNot available for this format; details only
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryDocuments

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-500kb.docx 'https://sampletestfiles.com/downloads/docx/sample-docx-500kb.docx'
sha256sum sample-docx-500kb.docx     # Linux
shasum -a 256 sample-docx-500kb.docx # macOS

On Windows, run Get-FileHash sample-docx-500kb.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 500 KB?
Yes. It is 512,000 bytes, which is 500 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 500 KB DOCX file?
A short Word document with headings, body text, a list and a table, plus one embedded test-card PNG of 475,906 bytes. The image is stored uncompressed and sized so that the document is exactly 512,000 bytes.
Will these files open in Google Docs and LibreOffice?
Yes. They use standard Office Open XML with no macros, tracked changes or custom extensions.