rankato

Repair broken PDFs

Files that fail to open, show 'PDF damaged' errors, or refuse to load in browsers often just need a rewrite. This tool parses what it can and re-emits a clean PDF.

PDFs get corrupted by interrupted downloads, buggy exporters, or partial disk writes. Often the content is fine and only the file structure (cross-reference table, trailer) is broken. The Rankato Repair tool parses the PDF stream in tolerant mode, recovers as much content as possible, and rewrites a valid PDF from what it found. Success rate is 80%+ for typical structural damage; catastrophic corruption (missing content streams) can't be recovered.

What gets fixed

Common repairs: rebuilding missing or corrupt cross-reference tables (xref), fixing broken trailers, removing dangling object references, correcting invalid stream lengths, and stripping malformed metadata. If pdf.js can parse enough to walk the object graph, the repair succeeds.

What can't be fixed

If content streams themselves are corrupted (unreadable image data, garbled font tables), the tool can't reconstruct them. It'll drop those objects and repair what remains — so a partially-recovered PDF might be missing some pages or content. Better than a totally broken file.

When to use

Try this when: a PDF fails to open in Preview/Acrobat/Chrome, downloads are interrupted, or a file shows warnings like 'Cross-reference table missing' or 'Trailer not found'. If your PDF opens fine but has content issues (garbled text, missing images), repair won't help — those are content-level problems.

Tool FAQs

Everything you need to know about using Repair PDF.

Does my PDF get uploaded to a server?+

No. This tool runs entirely in your browser using pdf-lib and pdf.js loaded as WebAssembly. Open your browser's Network tab while processing and you'll see zero uploads — your PDFs never leave your device. That's why confidential contracts, tax records, and internal docs are safe to run through this tool.

What if repair fails?+

You'll see a specific error. For files pdf.js can't parse at all, professional tools (Adobe Acrobat, Prizmo) have deeper heuristics. Or contact the original creator for a fresh export.

Can I process multiple PDFs at once?+

Yes — batch mode is available on the Pro plan. Free users process one file at a time. Pro unlocks unlimited concurrent PDF processing across every tool in the suite.