Corrupt file generator | Create Realistic File Errors
Generate corrupted files in various formats for testing. Upload any file and set the corruption level to simulate issues for software testing or pranks. Create unusable files that look normal, ideal for developers and testers.
Why these files behave like genuinely damaged ones
A file made of random bytes from beginning to end is rejected before your software really looks at it, so it tests almost nothing. This tool writes the genuine signature for the type you picked and fills the rest with garbage. Your operating system still shows it as a PDF, a ZIP or an MP4, the application still opens it, reads the header, and only then hits the damage. That is the path a real corrupted file takes, and it is the one worth testing.
What is a corrupt file generator?
A corrupt file generator produces a deliberately unreadable file so you can see how software copes with damaged input. You can either build one from scratch at any size and type, or upload nothing at all and have this page damage a copy of a file you already have, right in your browser.
How to use it
- Pick a mode: build a broken file from scratch, or damage a copy of one of your own.
- To build one, set the size and unit, name it, and choose the file type.
- Leave the signature switch on so the file is still recognised as that type.
- To damage your own file, choose it and pick how heavy the damage should be.
- Download the result. The original file on your machine is never touched.
What it is for
- Checking that your app shows a clear error instead of crashing on a bad file.
- Testing upload limits and validation with files of an exact size.
- Confirming that backup and recovery tools actually detect damage.
- Filling storage to a known size while testing capacity or quotas.
- Teaching what file corruption looks like without risking real data.
Which mode to use
| If you want to | Use |
|---|---|
| Test how your app handles a damaged PDF, ZIP or video | Generate, with the signature switch on |
| Break a specific document you already have | Corrupt a file I have |
| Fill a disk or hit an exact upload size | Generate, any type, signature optional |
| Check whether a repair tool can still rescue a file | Corrupt a file I have, Light |
This tool is for testing software. Please do not pass a damaged file off as work you were meant to deliver.