PDF · Free · On-device

Corrupt a PDF File Online

Corrupt a PDF online in seconds. Free browser-based PDF corrupter that destroys the xref table and %%EOF marker so no reader can open or repair the file.

  • No upload
  • No size limit
  • No sign-up

Corrupt your PDF file

Tuned for .pdf, and works with every other format too.

100% on-device
Drop files here or browse Any format, any size, multiple files at once
Corruption level

Working…0%
Ready to download

Why PDF files are hard to corrupt properly

A PDF is not flat text. It is an object graph held together by a cross-reference table at the end of the file. That is why flipping a few random bytes fails on PDFs: Acrobat and most browsers rebuild a damaged xref automatically and open the document anyway.

What this tool destroys

  • The %PDF- header. The first bytes declare the format and version. Overwriting them means the file is no longer recognised as a PDF at all.
  • Every xref section. Each xref table and startxref offset is destroyed, so a reader cannot locate a single object in the document.
  • The trailer and %%EOF. The trailer dictionary and end-of-file marker are overwritten, which defeats the reconstruction Acrobat attempts on damaged files.
  • The object streams. Entropy is scattered through the compressed content streams, so even a hand-rebuilt xref points at unusable data.

What you will see afterwards

ApplicationBehaviour
Adobe Acrobat"There was an error opening this document. The file is damaged and could not be repaired."
Chrome / Edge viewerBlank grey pane and "Failed to load PDF document."
Preview on macOS"The file is damaged and could not be opened."
Gmail / Drive previewPreview fails, but the file still uploads and downloads at the correct size.

Common reasons people do this

  • Testing how a document management system handles a malformed upload.
  • Checking that a PDF parsing library fails safely instead of crashing.
  • Producing a realistic damaged file for a data-recovery demonstration.
  • Verifying an invoice or e-signature pipeline shows the user a clear error.

How to corrupt a PDF file

  1. Drop your .pdf file onto the box above, or click to browse.
  2. Leave the level on Standard unless you want partial damage (Light) or need to defeat recovery software (Heavy).
  3. Press Corrupt file. Processing happens on your device, so it finishes almost immediately.
  4. Download the result. It keeps the original filename and byte length by default.

PDF FAQ

Will the corrupted PDF still show the correct file size?

Yes. The output is byte-for-byte the same length as the original and keeps the same filename and .pdf extension. A file manager, email client or upload form sees nothing unusual. It simply refuses to open.

Can Adobe Acrobat repair it?

Not at Standard level or above. Acrobat repairs a PDF by rescanning it for object definitions when the xref is damaged. Because the header, every xref section, the trailer and the object streams are all destroyed, there is nothing left to rescan.

Does it work on password-protected PDFs?

Yes. Encryption applies to the content streams, but the structural landmarks we target sit outside the encrypted payload, so the result is the same.

Is my PDF uploaded to a server?

No. Everything runs in your browser using the File and Web Crypto APIs. The document never leaves your device, which means it also works offline and is safe for confidential material.

Use this responsibly. Files Corrupter is built for software testing, QA, research, training and education. Submitting a deliberately corrupted file to misrepresent completed work may breach your school or employer policy. You are responsible for how you use the output. See our disclaimer.

More documents tools

All corrupter tools