๐Ÿ› ๏ธ

Repair PDF

Repair PDF rebuilds a damaged or unreadable PDF's internal structure with qpdf, falling back to Ghostscript, so the file opens again in normal viewers.

About Repair PDF

PDFs break in predictable ways. A download that stopped halfway, a USB stick pulled out mid-write, a file exported by software that produced a malformed cross-reference table โ€” all of these leave a document that a viewer refuses to open, or opens with pages missing. The error is usually about a damaged root object or a broken xref, not about the content itself.

The repair pass reconstructs that structure and rewrites the file cleanly. Be realistic about the limits: recovery only works on data that survived. If bytes were never written or the file was truncated badly, some pages will be lost and no tool can invent them. Try the largest copy you still have, including one from an email attachment or a backup.

How to repair pdf

  1. Select the damaged PDF, or drop it straight onto the upload area.
  2. Check the file name and size shown, then confirm your selection.
  3. Click Repair PDF and let the server rebuild the file structure.
  4. Download the repaired PDF and open it to check the pages.

Why use this tool

Two-stage rebuild

qpdf reconstructs the cross-reference table first. If that fails, Ghostscript re-distills the document from whatever page objects can still be read.

Content left alone

Repair touches structure, not pages. Text, images, fonts and page order come through as they were, with nothing re-rendered or downsampled.

No install needed

Runs on our server and returns a file to your browser, so there is nothing to download, license or configure on your own machine.

Frequently asked questions

Can you recover a PDF that will not open at all?
Often, yes. If the file still contains its page objects and only the index is damaged, the rebuild finds them and writes a valid document. If the file was truncated during a download or transfer, only the part that arrived can be recovered, and later pages will be missing.
Will repairing change how the document looks?
Not in the qpdf pass, which only rewrites structure and leaves page content byte-identical. The Ghostscript fallback re-distills the document, so a very unusual font or transparency effect can shift slightly. Compare the repaired file against whatever you can still open before deleting your copy.
Can you remove a password with this tool?
No. Repair fixes broken structure; it does not decrypt anything. A PDF that asks for a password to open is not damaged, it is encrypted, and this tool will report an error rather than bypass it. Use the password you were given, or ask whoever produced the file.
Is my damaged file kept on your server?
It is processed on our own server, not passed to a third party, and both the upload and the repaired copy are deleted automatically within an hour. Download your result in the same session. Nothing is stored beyond that window and nothing is used for any other purpose.
What size and how many files can I repair at once?
Up to 50 MB per file and 25 files in a single request, which covers almost every damaged document people bring here. There is no charge, no account and no daily limit. If a file exceeds 50 MB, repair it locally or split the source before uploading.