Make broken copies of a file to test how your app, upload form or parser handles damaged input. Everything runs in your browser and your original file stays unchanged.
Real users upload broken files all the time: interrupted downloads, files renamed by hand, damaged storage. A corrupted test file shows whether your software rejects them with a clear message or crashes, hangs or stores garbage.
If you don't have a file at hand, choose Generate a sample. FileMock creates a small, valid PDF, DOCX, XLSX, ZIP, JPG or PNG with the same generators as the FileMock test file generator, and then applies the corruption you picked.
Answers to common questions about creating corrupted test files.