"The file is damaged and could not be repaired"

This message means Acrobat tried its own recovery and gave up — usually because the PDF's cross-reference table, the map it reads from the end of the file, is broken or truncated. The page objects are often still inside; a deeper rebuild can reach them, and it never means uploading a confidential document.

Your file never leaves your device — repair runs in your browser. 0 bytes uploaded.

Your data is the big block — usually intact. What breaks is the small index. Repair rebuilds it.

Drop a file here or browseTap to choose a file

ZIP · Office · PDF · video · JPG · PNG · RAR/7z · SQLite — repaired right here in your browser. Nothing is uploaded

0 bytes uploadedFree: 3 repairs/day — up to 500 MB video, 100 MB docs & archives, 50 MB photos. Free download. Single repair €5.90. No account required.

Fix it now

  1. Drop the file
  2. Repair runs locally
  3. Download the result

When Acrobat or Reader shows "There was an error opening this document. The file is damaged and could not be repaired," it isn't a generic complaint — Acrobat has already attempted its own silent recovery and failed. A PDF is read from the end, and the structures at the end are exactly what a bad save or an interrupted download destroys first. Drop the file above and the tool parses the PDF's real object structure in your browser, rebuilds the cross-reference table from the objects it can find, and reassembles a file that opens — without the document ever leaving your machine.

A PDF is read from the end — and that's why it breaks this way

A PDF is not a top-to-bottom stream. It begins with a header like %PDF-1.7, then a body of numbered objects (each written as N 0 objendobj) holding the pages, fonts, images and content. After the body comes the cross-reference table (xref): a list of the exact byte offset of every object. Then a trailer names the document root and, crucially, the file ends with startxref followed by a byte offset and the %%EOF marker.

To open the file, a reader seeks to the end, reads startxref to learn where the xref lives, jumps there, and uses the offsets to find the root and load the pages. Everything hinges on that trailer being intact and the offsets being correct. PDF 1.5 and later can also store this map as a compressed cross-reference stream, and pack many objects into object streams (ObjStm) — more efficient, but it means one damaged stream at the tail can hide a great many objects at once.

Because the index and trailer sit at the very end, they are the first casualties when a save is interrupted, a download is truncated, or an incremental update is written badly. That is why "damaged" PDFs so often have perfectly good page content and a broken map to it.

Why Acrobat's own repair gives up

Acrobat normally rebuilds a broken xref silently: if the offsets don't add up, it scans the file for obj markers and reconstructs the table without ever telling you. So "could not be repaired" means that fallback also failed — the damage went past what Acrobat's rebuilder will tolerate. The common reasons:

The tail was truncated. A download or copy that stopped early loses the xref, trailer, startxref and %%EOF outright, and possibly the last objects too. A bad incremental update. PDFs are often edited by appending a new xref section and trailer; if that append is corrupt, the chain of updates points to the wrong place. A damaged cross-reference or object stream. When the map itself is a compressed stream and that stream is corrupt, Acrobat can lose sight of the objects packed inside it. Byte mangling in transit — a text-mode transfer that altered line endings, or a sync that flipped bytes — can also scramble the offsets so nothing lines up.

In each case the useful insight is the same: the objects that make up your pages are frequently still present in the body; it is the directory to them that is broken.

What a deeper rebuild recovers — and why not upload

Rather than trust the broken trailer, the tool scans the whole file for obj definitions, records where each one actually starts, and rebuilds the cross-reference table from those real positions. It then relinks the document root and page tree so a reader can walk the pages again, salvaging content streams, embedded fonts and images along the way. Where the map lived in a compressed cross-reference or object stream that survived, it reads those too; where the tail was truncated, it recovers every object that was written before the cut and assembles a valid PDF around them. This runs entirely in your browser tab — no Acrobat, no add-in, no server round-trip.

The honest limits: content that was never written can't be restored, so if the file was truncated, pages that hadn't been saved yet are gone — you get the pages up to the cut. If a specific object your pages depend on landed in the damaged region, that page may come back partial. And an encrypted, password-protected PDF can't be rebuilt without the password, because its objects are unreadable until decrypted. What the repair guarantees is privacy: contracts, medical records, statements and unpublished work are read from disk and reassembled locally, and you can watch the Network tab and confirm 0 bytes of the document ever leave your machine.

What this can and can't fix

Can fix

  • A PDF whose xref / trailer / startxref was damaged or truncated — the table is rebuilt by scanning for obj definitions
  • Files truncated by an interrupted download or copy — every object written before the cut is recovered
  • Documents broken by a bad incremental update or a corrupt cross-reference/object stream
  • PDFs Acrobat opens only to say the file is damaged and could not be repaired, when the page objects survive

Can't fix

  • Pages or objects that were never written after a truncation — those bytes aren't on your disk
  • Password-encrypted PDFs without the password (objects can't be read until decrypted)
  • A file that is 0 bytes or contains no recognizable PDF objects
  • A page that depends on a specific object which fell inside the damaged region (it may come back partial)

If a repair fails, we tell you why (missing data versus broken structure), and you are never charged for a failed repair.

FAQ

Acrobat says the file is damaged and could not be repaired. Is it really gone?

Often not. That message means Acrobat's own silent xref rebuild failed, not that the content is destroyed. The page objects are frequently still in the file body — it's the cross-reference table and trailer at the end that are broken. Rebuilding that table from the objects that are present usually reopens the document.

Why does a PDF break at the end specifically?

A PDF is read from the end: the reader uses startxref and %%EOF to find the xref table, then the offsets to load the pages. Those structures sit at the very tail, so an interrupted save or download destroys them first — leaving good pages behind a broken map.

It was fine, then a cloud sync or transfer broke it. What happened?

An interrupted transfer can truncate the file (removing the trailer and index), and a text-mode transfer can mangle bytes so the offsets no longer line up. Either way the map breaks while much of the body survives, so a rebuild that reconstructs the table from the real object positions can recover the pages.

Is my PDF uploaded to be repaired?

No. The document is read from your disk and rebuilt in your browser tab; nothing is transmitted. You can open the Network tab and confirm 0 bytes leave your machine — which matters for contracts, records and drafts you would not want copied to someone else's server.

Related: Repair a PDF · Repair an Excel workbook · Verify the zero-upload claim