Corrupt file generator | Create Realistic File Errors

Types marked with * get a real file signature.
test-file.pdf
Any type works. Up to 512 MB.
Your file is never uploaded. It is read and damaged inside your browser, on your own device, and the copy is saved straight to your downloads. Nothing reaches us, which is also why there is no small size limit here.

Frequently asked questions

No. Both modes run entirely in your browser. The file you choose is read on your own device, a damaged copy is built there and saved straight to your downloads. Nothing is sent to us, which is also why the size limit here is far higher than on sites that have to process the file on a server.

Never. You always get a new file with "-corrupted" added to the name. The file you picked is left exactly as it was.

Light scrambles roughly one percent of the bytes and leaves the length alone, which is often enough for a repair tool to recover. Medium scrambles about a tenth and cuts the end off, which usually cannot be repaired. Strong rewrites around a third of it and removes a quarter. Pick the lightest one that still breaks what you are testing.

Those bytes are the file signature, the part your operating system reads to decide what the file is. Keeping them means the file is still treated as a PDF or a ZIP and the application opens it before discovering the damage, which is what you usually want to test. Turn the switch off if you want to see what your software does when it cannot even tell what the file is.

Around fifty common types across documents, images, audio, video, archives, disc images, design files and developer formats. You can also type any extension you like, or generate a file with no extension at all. Types that get a genuine signature are marked with an asterisk in the list.

Up to 2 GB when generating, and up to 512 MB when damaging one of your own. Both limits are about your browser memory rather than any server, so a large file will take a moment and use a fair amount of RAM while it is being built.

That is the point: it should open far enough to fail. With the signature kept, the application recognises the type, starts reading, and then hits content that makes no sense. What it does next, a clear error message or a crash, is exactly what you are testing.

Making a broken file for testing is entirely ordinary, and it is what this page is for. Handing one to someone to make them believe you delivered work you did not do is a different matter, and not something we can help with.