50 KB sample files

A 51,200-byte file, half of the default body limit in several web frameworks. Available in 11 formats.

Download a 50 KB file

Each file is exactly 51,200 bytes and is a valid file of its format.

50 KB sample files in every available format
FileFormatSizeContentsDownload
50 KB PDF samplesample-pdf-50kb.pdf PDF 50 KB51,200 bytes Pages: 10 Download PDF
50 KB TXT samplesample-txt-50kb.txt TXT 50 KB51,200 bytes Numbered lines: 512 Download TXT
50 KB CSV samplesample-csv-50kb.csv CSV 50 KB51,200 bytes Data rows: 391 Download CSV
50 KB JSON samplesample-json-50kb.json JSON 50 KB51,200 bytes Records: 148 Download JSON
50 KB XML samplesample-xml-50kb.xml XML 50 KB51,200 bytes Elements: 160 <customer> records Download XML
50 KB PNG samplesample-png-50kb.png PNG 50 KB51,200 bytes 150 × 113 px Download PNG
50 KB JPG samplesample-jpg-50kb.jpg JPG 50 KB51,200 bytes 387 × 289 px Download JPG
50 KB ZIP samplesample-zip-50kb.zip ZIP 50 KB51,200 bytes Entries: 4 Download ZIP
50 KB BIN samplesample-bin-50kb.bin BIN 50 KB51,200 bytes Pseudo-random bytes Download BIN
50 KB DOCX samplesample-docx-50kb.docx DOCX 50 KB51,200 bytes Headings, paragraphs, a bulleted list, a table and one image Download DOCX
50 KB XLSX samplesample-xlsx-50kb.xlsx XLSX 50 KB51,200 bytes Data rows: 696 Download XLSX

What is a 50 KB test file?

Fifty kilobytes is a comfortable "small file" for manual testing: big enough to be a real document or image, small enough to upload instantly on any connection.

It sits safely below the 100 KB default request-body limit used by Express and several other frameworks, so it is a good choice for a test that is expected to succeed, paired with a 500 KB file for the case that should fail.

In everyday terms: A one-page Word document, or a well-compressed web photo.

Limits near 50 KB

Default limits in widely used software that a 50 KB file is useful for testing. Defaults change between versions, so confirm them in the documentation for the version you run.

SystemLimitWhat happens at 50 KB
Express body parsers100 KB by default50 KB is accepted; 500 KB is rejected with 413 unless the limit is raised.
Base64 encodingAdds 33 percent50 KB becomes about 67 KB when embedded in JSON.

Good for

  • Happy-path upload tests
  • Testing document previews
  • Checking email attachment handling with small files

Transfer time

How long 51,200 bytes take to move, before any compression.

1 Mbit/s (slow mobile or uplink)under 1 second
10 Mbit/s (basic broadband)under 1 second
100 Mbit/s (fast broadband)under 1 second

Related

Next sizes: 25 KB sample files and 100 KB sample files.

50 KB files: questions

Is the smallest DOCX sample 50 KB?
Yes. A Word document with styles, a table and an image has a fixed overhead of tens of kilobytes, so 50 KB is the smallest size we publish for DOCX.