Skip to content
Toolvity

Repair a damaged PDF

Recover PDFs that won’t open, show errors or lost pages, with three repair methods tried in turn.

  • No upload
  • No sign-up
  • No watermark
  • Free

How to use the Repair PDF

  1. Step 1

    Add the damaged PDF

    Drop the file or tap to choose it, even if other apps say it can’t be opened.

  2. Step 2

    Start the repair

    Press Repair PDF. Toolvity first rebuilds the file’s structure, then copies readable pages, and as a last resort re-draws what a viewer can still show.

  3. Step 3

    Check the report

    You’ll see which method worked and how many pages came back.

  4. Step 4

    Download

    Save the repaired PDF and open it in any viewer.

Gentlest fix first

The original text, fonts and images are kept whenever possible; re-drawing pages as images is only the last resort.

An honest report

You see the method used and the number of pages recovered, including any that are incomplete.

Never uploaded

Damaged files often hold the documents you can least afford to leak. The repair runs entirely on your device.

Why PDFs break

A PDF is a collection of numbered objects (pages, fonts, images) plus an index at the end that says where each object starts. Most “damaged file” errors come from that index: a download that stopped early, an email gateway that changed line endings, a program that crashed while saving, or junk bytes added before or after the file. The content is often still there; viewers just can’t find it.

Three repair methods

  • Rebuild the file structure. Toolvity reads every object it can directly from the file, ignoring the broken index, skips objects that are unreadable, restores missing page sizes and writes a fresh index. This fixes most files that won’t open and keeps everything selectable.
  • Copy readable pages. If the page list itself is damaged, Toolvity finds pages one by one, even by scanning the file for them, and copies each readable page into a new PDF.
  • Re-draw what’s visible. If neither works, every page a PDF viewer can still display is drawn into a new, image-based PDF. Text won’t be selectable, but you can run OCR PDF on the result.

The first method that recovers every page wins. Otherwise Toolvity keeps whichever result recovered the most.

What repair can’t do

If part of the file is truly missing, for example a download that stopped halfway, the pages stored in the missing part can’t be recreated. The report tells you how many pages came back and flags pages whose content was incomplete. Password-protected files need to be unlocked with Unlock PDF first.

Frequently asked questions

Can every damaged PDF be repaired?

No tool can bring back data that isn’t in the file. Repair recovers everything that is still readable and tells you how many pages it saved.

Will the repaired file look the same?

In most cases, yes. The first two methods keep the original text, fonts and images. Only the last-resort method turns pages into images.

My PDF was cut off during download. Can it be fixed?

Often partly. The pages stored before the cut are usually recovered; pages after it are lost. Downloading the file again is the best fix if you can.

Can I repair a password-protected PDF?

Unlock it first with Unlock PDF (you’ll need the password), then repair it.

Is it safe to repair confidential files here?

Yes. The repair runs in your browser and the file is never uploaded.

All PDF tools