Sample File Generator
Safe placeholder files at an exact byte size
File name
File type
PNG image
JPEG image
JPEG image (.jpeg)
GIF image
BMP image
WebP image
TIFF image
ICO icon
SVG image
Word 97-2003 (.doc)
Word (.docx)
Rich Text (.rtf)
OpenDocument Text (.odt)
PDF document
Excel 97-2003 (.xls)
Excel (.xlsx)
OpenDocument Sheet (.ods)
PowerPoint 97-2003 (.ppt)
PowerPoint (.pptx)
HTML file
CSS file
PHP file
JavaScript file
Executable (.exe)
Library (.dll)
File size
1 KB
1 MB
10 MB
100 MB
500 MB
▲
▼
B
KB
MB
GB
Each generated file is padded to this exact size. Max 500 MB.
Fill pattern
Zeros (compresses to almost nothing)
Random bytes (realistic, incompressible)
Repeating text (searchable seed)
Use random bytes when testing real upload/storage limits — zero-filled files shrink away when zipped.
Seed text
SAMPLE
This string is repeated to fill the file, so you can search for it inside the output.
Number of copies
▲
▼
More than one copy is delivered as a single .zip.
▶
Testing options
Corrupt / malformed
Off — valid file
Break header (invalid magic, same size)
Truncate (cut off ~40% of the tail)
Produces a deliberately invalid file so you can check your app rejects bad uploads. Truncate makes the file smaller than the requested size on purpose.
Wrong extension (MIME mismatch)
Give the file a different extension than its real content (a PNG named
.pdf
, say) to test upload validators. Leave blank to use the real extension.
Generate & Download
Copy shareable link