Repair a Damaged PDF File
Rebuild a PDF with minor structural errors into a clean copy that opens normally, directly in your browser.
Embed attribution badge
Share this attribution badge on a website, blog post, tutorial, or documentation page when this free tool helps your workflow.
A quick fix for PDFs with structural errors
A PDF can open with a warning, refuse to open in one program while working in another, or fail when you try to upload it to a portal. Often the pages are fine and the problem is in the file's internal structure: the index that tells a reader where each part of the file is stored has been damaged by an interrupted download, a faulty export, or a program that edited the file carelessly.
This tool reads such a file in a tolerant way, picks up the pages it can find, and writes them into a brand-new PDF with a fresh, consistent structure. If the damage was only in that structure, the new copy usually opens without errors.
How to repair a PDF
- Add the damaged file. Drag it onto the upload area or click to choose it. The tool shows the file name and size with "Ready for repair".
- Start the repair. Click "Repair PDF". The button changes to "Repairing PDF..." while it works.
- Get the result. If the file can be rebuilt, a copy named "repaired_" followed by the original name is downloaded and "Repair Complete!" appears. If the download did not start, click "Download Repaired PDF".
- Check the copy. Open it and look through the pages to confirm everything you need is there.
If the file cannot be rebuilt, a red message says so. That usually means the damage goes beyond what this tool can fix; see the limitations below.
Problems it can often fix
- Warnings such as "the file is damaged and is being repaired" when opening.
- A broken or missing cross-reference table, the internal index of the file.
- Files that open in a browser but are rejected by an upload form or another PDF program.
- Files saved by software that wrote slightly invalid PDF structure.
A rebuilt copy can also help other tools: if Compress PDF or Merge PDF fails on a file, repairing it first sometimes gets it through.
What it cannot do
It is better to know the limits up front than to hope for a result the tool cannot deliver:
- Truncated files. If a download stopped halfway, the missing part of the file simply does not exist on your device. Pages stored in that part cannot be recovered. Download the file again from the source instead.
- Empty files. A file that shows 0 KB contains nothing to repair.
- Missing or damaged content. If images or text inside a page are corrupted, the tool copies the page as it is; it does not reconstruct lost content.
- Encrypted PDFs. Password-protected files usually cannot be rebuilt into a readable copy. Open the file with its password in your PDF reader and save an unprotected copy first.
- Files that are not really PDFs. A Word document or an image renamed to .pdf will not become a PDF this way. For photos, use Image to PDF instead.
Because pages are copied into a new document, some document-wide extras such as bookmarks or interactive form behavior may not carry over to the repaired copy. Keep the original file until you have confirmed the repaired one meets your needs.
Your file is not uploaded
Online Toolsz runs the repair inside your browser. The damaged PDF is read from your device and the repaired copy is saved straight back to it, without passing through our server. That is important when the file is a bank statement, a signed agreement or another document you would not want to hand to a third party.
Frequently asked questions
Will repairing change the look of my pages?
No. Pages are copied without being redrawn or compressed, so text, images and layout look the same as in the readable parts of the original.
The repair failed. What else can I try?
Get a fresh copy from the sender or the original website, since many damaged files come from interrupted transfers. If you created the file yourself, export it again from the original program.
Can it recover a PDF that shows a blank page?
Only if the blank display was caused by a structural error. If the page content itself is missing, there is nothing left to recover.
Does it work with scanned PDFs?
Yes. A scanned PDF is repaired the same way as any other; the scanned images are carried over unchanged.
Is my original file changed?
No. The tool always creates a separate copy, and your original stays where it was.
For an overview of what each PDF tool on the site does, read the guide to free PDF tools.
Related tools
Continue with tools that solve nearby PDF, media, and document tasks.