500 KB sample files

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

Download a 500 KB file

Each file is exactly 512,000 bytes and is a valid file of its format. Any of them works as a 500 KB dummy file or test file.

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 Lines: 5,035 Download TXT
500 KB CSV samplesample-csv-500kb.csv CSV 500 KB512,000 bytes Data rows: 3,859 Download CSV
500 KB JSON samplesample-json-500kb.json JSON 500 KB512,000 bytes Records: 1,480 Download JSON
500 KB XML samplesample-xml-500kb.xml XML 500 KB512,000 bytes Records: 1,597 Download XML
500 KB PNG samplesample-png-500kb.png PNG 500 KB512,000 bytes 476 × 358 px Download PNG
500 KB JPG samplesample-jpg-500kb.jpg JPG 500 KB512,000 bytes 1072 × 804 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 Incompressible pseudo-random bytes Download BIN
500 KB DOCX samplesample-docx-500kb.docx DOCX 500 KB512,000 bytes Embedded image: 462 × 343 px Download DOCX
500 KB XLSX samplesample-xlsx-500kb.xlsx XLSX 500 KB512,000 bytes Data rows: 5,488 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 Frames: 6 Download GIF
500 KB WebP samplesample-webp-500kb.webp WebP 500 KB512,000 bytes 476 × 358 px Download WebP
500 KB MP3 samplesample-mp3-500kb.mp3 MP3 500 KB512,000 bytes Duration: 32.0 s Download MP3
500 KB WAV samplesample-wav-500kb.wav WAV 500 KB512,000 bytes Duration: 2.9 s Download WAV
500 KB MP4 samplesample-mp4-500kb.mp4 MP4 500 KB512,000 bytes Duration: 9.0 s Download MP4
500 KB FLAC samplesample-flac-500kb.flac FLAC 500 KB512,000 bytes Duration: 2.9 s Download FLAC
500 KB M4A samplesample-m4a-500kb.m4a M4A 500 KB512,000 bytes Duration: 31.7 s Download M4A
500 KB MOV samplesample-mov-500kb.mov MOV 500 KB512,000 bytes Duration: 9.0 s Download MOV
500 KB MKV samplesample-mkv-500kb.mkv MKV 500 KB512,000 bytes Duration: 9.0 s Download MKV
500 KB WebM samplesample-webm-500kb.webm WebM 500 KB512,000 bytes Duration: 13.2 s Download WebM

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: 200 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.
How many bytes is 500 KB?
500 KB is 512,000 bytes on this site. Sizes use binary units, in which 1 KB is 1,024 bytes and 1 MB is 1,048,576 bytes.