Dummy File Generator

Create test files of an exact size, valid or corrupted: images, PDF, text, raw or custom bytes

File
Give it another extension to test extension checks.
× px
Enter a width and a height between 1 and 10,000.
Colors
Written in the middle. Empty for the dimensions.
Between 1 and 10,000 pages.
Hex digits (0–9, a–f). Spaces, newlines, commas, colons and 0x are ignored, two digits per byte. The file is exactly these bytes; the corruption options below still apply on top.
Between 0 and 1,000,000.
Fake people (name, email, city, date, amount). Ignored when a file size is set.
Content
Random bytes can't be compressed, which matters when a server or a proxy gzips the upload.
Corruption optional
Overwrites the first bytes (the magic number) that tools read to recognize a file.
bytes
Removes the last bytes, like an interrupted upload.