Repair PDF
Bring back a report or project file and keep the work you put into it.
PrivateNo uploadsRuns in your browserNo file handy?
Add a PDF that will not open or shows errors.

Back from the broken
Get that file to open again.
Saved work. A file that would not open, opening again.
BeforeFile will not open
With sdevFixed and ready

Late night fix
Your report back in time for the morning.

Old downloads
Rescue the files you thought were lost.
How to repair a damaged PDF
Add the damaged PDF
Choose the file or drop it on the box.
Repair
Press Repair. The report lists what looked wrong and which repair step worked.
Check and download
Every page of the result is drawn to check it, and pages that still fail are listed. Download the repaired copy.
Good to know
- Your file is never changed: the repair is written to a new copy.
- A file cut short by a download can lose its last pages; download it again if you can.
- If a repaired page is blank, its content was missing from the file itself.
- Repairing a healthy PDF does no harm: it is simply saved again with a clean structure.
Where people use it
A download stopped halfway
Recover the pages that did arrive instead of losing the whole file.
Portal says the file is bad
Rebuild the file so an upload form accepts it.
Old file from a pen drive
Save a clean copy of an old PDF that some apps refuse to open.
Then make it smaller
After repair, shrink the clean copy for upload.
Compress PDF
Why this one
It tells you plainly which parts were saved, so you know what you got back.
- Rebuilds the file structure and keeps what can be read.
- Shows a short report of what worked.
- Nothing is uploaded.
People find this page by searching
- repair pdf
- fix corrupted pdf
- pdf not opening
- repair damaged pdf online free
- pdf file is damaged and could not be repaired
- recover pdf file
- fix pdf that won't open
Cite this tool
- APA
sdev.in. (n.d.). Repair PDF [Web tool]. https://www.sdev.in/tools/pdf-repair
- MLA
"Repair PDF." sdev.in, https://www.sdev.in/tools/pdf-repair.
- Chicago
sdev.in. "Repair PDF." https://www.sdev.in/tools/pdf-repair.
- BibTeX
@misc{sdev-pdf-repair, title = {Repair PDF}, author = {{sdev.in}}, howpublished = {\url{https://www.sdev.in/tools/pdf-repair}}, note = {Web tool} }
Questions people ask
What kind of damage can it fix?
Files cut short by a failed download or copy, a garbled or missing cross-reference table, wrong offsets, stray bytes before the header and a damaged page list. A page whose own content was lost stays blank, and the report names it.
How does it work?
Step by step, stopping at the first that works: read every object and write a fresh cross-reference table; if that fails, remove the damaged parts and read again; then rebuild the page list from the page objects found. The report shows which step worked.
Why is the text not selectable after a repair?
When a file is too damaged for those steps, the pages pdf.js can still draw are saved as images. That keeps what you can see but not the text layer. Run OCR PDF on the result to make it searchable again.
Can it repair a password-protected PDF?
Not while it is encrypted. Unlock it first with its password, then repair the unlocked copy.
Are my PDF files uploaded?
No. Every step runs inside your browser with the pdf-lib and pdf.js libraries. Files never leave your device, there is no size or count limit beyond your computer's memory, and nothing is stored when you close the tab.