Docs

PDF Repair

Recover damaged PDFs with broken cross-reference tables or truncated streams locally in your browser.

Drop a PDF to begin
Damaged PDF No file loaded
Choose PDF or drop here
Any damaged or unreadable PDF up to 100 MB
100% on-device. Files never upload.
Repaired PDF Awaiting file

The repaired first page appears here

Settings Auto, keep metadata
How It Works

How to Use PDF Repair in 3 Steps

1

Drop the Damaged PDF

Load the unreadable PDF into the source pane. The tool accepts broken headers and damaged xref tables even when viewers fail.

2

Select Repair Method

Keep Auto to rebuild vector object streams first and fall back to page rasterization only when streams fail.

3

Repair and Verify

Click Repair to inspect recovered page counts in the badge, preview page 1, and download the clean PDF.

FAQ

PDF Repair: Frequently Asked Questions

Is my PDF uploaded anywhere?

No. PDF.js and pdf-lib read and rewrite your document inside your browser tab. Confidential files never leave your device.

What types of PDF corruption can this fix?

It fixes broken or missing xref tables, wrong byte offsets, truncated downloads, stray header or trailer bytes, and malformed annotations.

What damage cannot be recovered?

Encrypted files without passwords and completely zeroed page streams cannot rebuild as vectors. Rasterize mode salvages whatever pages still render.

Does Rebuild structure keep text selectable?

Yes. Structure rebuild copies surviving vector streams directly, and the status badge alerts you if raster fallback was needed.

Why did the repaired PDF file size change?

Rewriting the object index drops orphaned revision data and compresses fresh object streams, often making the repaired file smaller.

Why does the tool say my PDF is encrypted?

Locked PDFs require their open password before editing. Decrypt your file with Unlock PDF first, then load the unlocked copy here.

Toolity Docs

Explore All Docs Tools

Compress, merge, convert, and manage PDF and text documents locally.

Copied to clipboard