500 KB sample files

A 512,000-byte file: larger than most API body limits, smaller than most upload limits. Available in 17 formats.

Download a 500 KB file

Each file is exactly 512,000 bytes and is a valid file of its format.

500 KB sample files in every available format
FileFormatSizeContentsDownload
500 KB PDF samplesample-pdf-500kb.pdf PDF 500 KB512,000 bytes Pages: 10 Download PDF
500 KB TXT samplesample-txt-500kb.txt TXT 500 KB512,000 bytes Numbered lines: 5,148 Download TXT
500 KB CSV samplesample-csv-500kb.csv CSV 500 KB512,000 bytes Data rows: 3,857 Download CSV
500 KB JSON samplesample-json-500kb.json JSON 500 KB512,000 bytes Records: 1,483 Download JSON
500 KB XML samplesample-xml-500kb.xml XML 500 KB512,000 bytes Elements: 1,599 <customer> records Download XML
500 KB PNG samplesample-png-500kb.png PNG 500 KB512,000 bytes 473 × 360 px Download PNG
500 KB JPG samplesample-jpg-500kb.jpg JPG 500 KB512,000 bytes 1,388 × 1,041 px Download JPG
500 KB ZIP samplesample-zip-500kb.zip ZIP 500 KB512,000 bytes Entries: 4 Download ZIP
500 KB BIN samplesample-bin-500kb.bin BIN 500 KB512,000 bytes Pseudo-random bytes Download BIN
500 KB DOCX samplesample-docx-500kb.docx DOCX 500 KB512,000 bytes Headings, paragraphs, a bulleted list, a table and one image Download DOCX
500 KB XLSX samplesample-xlsx-500kb.xlsx XLSX 500 KB512,000 bytes Data rows: 7,459 Download XLSX
500 KB PPTX samplesample-pptx-500kb.pptx PPTX 500 KB512,000 bytes Slides: 5 Download PPTX
500 KB GIF samplesample-gif-500kb.gif GIF 500 KB512,000 bytes 455 × 340 px Download GIF
500 KB WebP samplesample-webp-500kb.webp WebP 500 KB512,000 bytes 477 × 357 px Download WebP
500 KB MP3 samplesample-mp3-500kb.mp3 MP3 500 KB512,000 bytes 32.0 s Download MP3
500 KB WAV samplesample-wav-500kb.wav WAV 500 KB512,000 bytes 2.9 s Download WAV
500 KB MP4 samplesample-mp4-500kb.mp4 MP4 500 KB512,000 bytes 640 × 360 px Download MP4

What is a 500 KB test file?

Half a megabyte falls between two worlds. It is too big for the default JSON body limits of most frameworks and for a single DynamoDB item, yet well under the 1 MB default that web servers apply to uploads.

That makes it the right file for confirming that an API endpoint rejects oversized bodies cleanly, and that an upload endpoint, configured separately, accepts them.

In everyday terms: A photo from a messaging app, or a PDF of a few dozen pages.

Limits near 500 KB

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

SystemLimitWhat happens at 500 KB
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.

Good for

  • Testing that APIs return 413 for oversized bodies
  • Typical image-upload tests
  • Checking progress indicators on slow connections

Transfer time

How long 512,000 bytes take to move, before any compression.

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

Related

Next sizes: 100 KB sample files and 1 MB sample files.

500 KB files: questions

How long does 500 KB take to upload?
About four seconds on a 1 Mbit/s uplink and well under a second on fibre, which is long enough to see a progress bar move on a throttled connection.