No file open

Tools

Repair a damaged PDF

or drop a file anywhere here

Dropbox
Google Drive
OneDrive
Box

Files other than PDF are converted first. Signing in raises the size limit.

You add
One damaged PDF
You set
Nothing, it runs as it is
You get
A repaired PDF to check page by page

A PDF can be damaged by an interrupted download, a failed copy or a program that closed while saving, and a viewer may then refuse to open it. This page is for someone holding such a file who wants one quick try before asking for a new copy. You add the PDF and press Repair, and indox rebuilds the file's structure as a new copy and keeps the pages it can read. Afterwards a message gives the page count and says whether any text came back. Some content may not survive: in our test on 5 November 2026, a file with a cut cross-reference table and wrong stream lengths came back with all 5 pages and all its text, and a copy cut to its first half came back as 5 blank pages. Check the result before you rely on it. A password-protected file must be unlocked first.

Our own 5-page test PDF with a cut cross-reference table and wrong stream lengths, repaired on indox.org

Pagessame as the undamaged original
5 of 5all kept
Text charactersidentical text to the original
7,531 of 7,531all kept
Imagessame as the original
2 of 2all kept
Links and bookmarks5 links and 5 bookmarks
5 of 5 eachall kept
Damaged filewhat we uploaded
26,471 bytes
Repaired filerewritten as a new PDF
13,003 bytes51% smaller
indox Repair PDF showing the card This PDF looks damaged with a Repair button, before the repair
The same indox screen after Repair: the editor open on page 1 of 5 of the repaired file
Measured on indox.org on 5 November 2026: the damaged file we uploaded and the editor after Repair. Drag the handle to compare. The screen then showed no count or message, so we checked the downloaded file ourselves.

What can you do when you repair a PDF?

Run a repair with no settings

The panel has no option fields. It holds a short note and the Repair PDF button, so the whole job is the file plus one instruction: repair.

Know what to check

A file that will not open shows a "This PDF looks damaged" card with a Repair button. After the repair it opens in the editor and a message gives the page count: "Repaired. The file has N pages and its text came back", or a warning that no text was found. For a file that already opens, the Repair panel says "Repaired. The file still has N pages."

Keep the damaged original

The damaged-file card says the repair makes a new copy and your original file isn't changed. Keep the original, because a second attempt with other software needs the same starting point.

Check the file before you rely on it

The tool does not compare the repaired PDF with the original or list what it fixed. Page through the document and confirm that the text and images are what you expect, because a result made of blank pages is not a repair.

What repair keeps and what it changes

Stays the same

  • The pages the engine can still read. In our test all 5 pages, 7,531 characters of text, 2 images, 5 links and 5 bookmarks came back.
  • Your original file on your device. The repair makes a new copy.
  • The output format. A successful repair gives you a PDF.

Changes

  • The file is written out again as a new PDF. In our test it went from 26,471 bytes to 13,003 bytes. The engine tries Ghostscript first, then qpdf, then a plain load and save, depending on which of them its install has.
  • A Ghostscript rewrite may drop parts that do not mark the page. Its documentation names hyperlinks, bookmarks and comments. Our sample kept its links and bookmarks, and other files may not.
  • The qpdf fallback rewrites the file in a readable form with object streams switched off, so the result can be larger than the original.
  • The result gives the page count and, for a file that would not open, whether text came back. It does not list what was wrong or what was fixed, so page through it.

How to repair a PDF in 3 steps

  1. Add the damaged PDF

    Drop the file on the upload box, or press Choose PDF file and browse to it. A file that will not even open shows a "This PDF looks damaged" card.

  2. Press Repair

    In the panel, press Repair PDF. On the damaged-file card, press Repair. The job runs with nothing to configure. In our test it took about 5.6 seconds from the click to the editor reopening.

  3. Check the page count and the text

    Read the message: it gives the page count and, for a file that would not open, whether text came back. Then scroll through every page. In our test the repaired sample opened at page 1 of 5. If pages are blank or missing, do not use the file. Your original is unchanged.

Screenshot of the Repair PDF panel with damaged.pdf open on page 1 of 5 and the Repair PDF button

Why repair a PDF with indox?

Below is what a repair did on our own test files, including the one that failed. There is one button and no settings to guess at, and the result says how many pages came back and whether their text did. A repair runs without an account. Your PDF travels to indox over HTTPS, the damaged-file card says your original file isn't changed, and for a visitor who is not signed in the upload is deleted 24 hours after the job finishes.

  • No settings to learn
  • Measured on our own damaged sample
  • The failed case is shown on this page
  • No account needed for a repair
  • The original file on your device is not changed
The indox Repair PDF tool on indox.org with an empty upload box and a Choose PDF file button

What are the limits when you repair a PDF?

File size
A visitor who is not signed in can repair a PDF of up to 200 MB, within a daily free allowance. A signed-in account can upload up to 200 MB per file.
Where it runs
The repair runs on indox's server, so the damaged PDF is uploaded over HTTPS. If you are not signed in, the upload and the result are deleted 24 hours after the job finishes. A signed-in account keeps them in its history until you delete them, for at most 180 days, and you can choose 24 hours or 30 days instead. Either way indox keeps a record of the job, such as the file name and its status, not the file.

Limits worth knowing

  • In our test on 5 November 2026, a copy of our sample cut to its first half (13,592 bytes, 5 pages) gave a 3,790-byte PDF with 5 blank pages, 0 text characters and 0 images, and the editor opened on a blank page 1 of 5. For a result like that the damaged-file card now warns "Repaired, but no text was found", with the page count. If the pages are blank, the missing bytes are not in your copy: download the file again, ask the sender for it, or export it again from the program that made it.
  • The text check reads only whether any text is on the first pages. A scanned PDF has no text layer, so a scan that came back whole gets the same no-text warning as a file that came back empty. Look at the pages to tell them apart.
  • A repair rebuilds structure. It cannot return bytes that are not in the file. In our test a file with an intact set of pages and a broken index came back whole, and a file with half of its bytes missing came back empty.
  • For a file that already opens, a repair that would lose pages is refused: the job fails and your file stays as it was, so you do not get a partial copy. A result that is a single blank page is refused in the same way.
  • The tool works on a damaged file, not on its content. It does not correct typos, sharpen a blurry scan or restore pages that were never saved.
  • The panel has no field for a password. A password-protected file must be unlocked first, and the Repair PDF button stays disabled until it is. Run Unlock PDF on it.

When the result is not what you expected

What you seeWhyWhat to do
The editor opens on blank pages after RepairThe file was cut short, so the page content was not in it. In our test a copy cut in half came back as 5 blank pagesDo not use the file. Download it again, ask the sender for another copy, or export it again from the program that made it.
A warning says no text was foundNo text could be read on the first pages. That is expected for a scan, and a sign of lost content for a typed documentPage through the result. If a typed document is blank, find another copy of the file.
The job stops with "Couldn't repair this file."The engine could not rebuild the file, or the result was a single blank pageTry once more. If the result is the same, open the original in another viewer or export it again from the program that made it.
Repair fails on a file that opensThe rebuilt copy had fewer pages than the original, so it was refused and your file was keptKeep the original. Open it in another viewer or export it again from the program that made it.
The repaired file opens but links or bookmarks are goneThe file was rewritten, and a rewrite can leave out parts that do not mark the page. Our sample kept all of themCompare with the original. If you need the bookmarks back, rebuild them with Edit TOC.
The Repair PDF button is disabledThe file has a passwordRemove it with Unlock PDF, then repair the open copy.
The repaired file is larger than the originalThe qpdf fallback writes a readable form of the file. Our sample got smallerShrink it with Compress PDF.

What do the free and paid plans add?

Free

  • All converters
  • Daily credit refresh
  • Email support

Basic

  • Access to all features
  • AI Extract
  • Priority conversions
  • Email support
Highest priority

Premium

  • Everything in Basic
  • Highest priority queue
  • Priority support

Pay-As-You-Go

  • No subscription
  • Credits never expire
  • Opt-in auto-refill
  • Access to all features
See prices

Which kind of damage can a repair rebuild?

Kind of damageWhat a rebuild can doOur test, 5 November 2026
Cross-reference table cut or damaged, trailer missingThe objects are still in the file, so a tool can scan for them and write a new index. qpdf documents this recovery and says it will not always give the result you wantA sample with a cut table, no trailer and wrong stream lengths came back with 5 of 5 pages and all its text
Wrong stream lengthsA reader can look for the end of each stream when the objects are presentNot checked on its own; it was part of the sample above
File cut short, bytes missingMissing bytes are not in the file, so they cannot be rebuiltA copy cut to its first half came back as 5 blank pages, and no warning appeared at the time
Password-protected fileThis is protection, not damage. Use Unlock PDF firstThe Repair button is disabled for such a file
Scan that is hard to readThe file is not damaged. Try Adjust Contrast or OCR PDFNo run on this page

Who repairs PDFs?

  • People with an interrupted download

    A PDF from a portal or an email stopped partway and now shows an error in the viewer. Try a repair before you ask the sender for the file again.

  • Anyone recovering files from old storage

    Documents copied from an aging drive or memory card sometimes will not open. Run each one through the tool and keep the ones that come back readable.

  • Staff processing documents in bulk

    One file in a batch stops a later step, such as a conversion. Repair that single PDF, check it, then feed it back into the batch.

When to try a repair, and when to pick another tool

  • A viewer says the PDF is damaged or cannot be opened.
  • Another indox tool fails on a file that looks like a normal PDF.
  • A PDF opens, but your viewer warns that it had to fix errors while reading it.
  • The file asks for a password. That is protection, not damage, and Unlock PDF is the tool for it.
  • The pages are there but the scan is hard to read. A repair is not an image fix, so try Adjust Contrast or OCR PDF.

Where can I read more?

Sources

Facts checked on November 5, 2026

Do it all with indox

Repair PDF FAQs

What happens if my PDF cannot be repaired?

If the rebuild fails, or it would lose pages from a file that opens, the job stops with an error and your file is unchanged. A file cut short can still come back as blank pages: in our test on 5 November 2026 a copy cut to its first half came back as 5 blank pages. The card now warns when no text was found, so read the message and the pages, then look for another copy of the file.

Can every damaged PDF be repaired?

No. A repair rebuilds the structure of the file, and it cannot recover bytes that are not there. We tested two damaged copies of one sample: one with a cut index came back complete, and one cut in half came back with blank pages.

How do I fix a corrupted PDF file that won't open?

Add it on this page. If the editor cannot read it, a "This PDF looks damaged" card appears: press Repair. The rebuilt copy opens in the editor with a message giving its page count. If that fails, download the file again or ask the sender for a new copy, because missing bytes cannot be rebuilt.

Will the repaired PDF be complete?

Check it. In our test the file with a cut cross-reference table came back with 5 of 5 pages, 7,531 of 7,531 text characters, 2 of 2 images, 5 of 5 links and 5 of 5 bookmarks. That is one sample. Page through your result and read the text before you rely on it.

How do I know how much of my file came back?

Read the message after the repair. For a file that would not open, it says "Repaired. The file has N pages and its text came back", or warns that no text was found. For a file that opens, the panel says "Repaired. The file still has N pages." Then page through the result, because the message cannot tell you whether images or links survived.

Does repair change my original file?

No. The damaged-file card says the repair makes a new copy and your original file isn't changed. The repaired file is a new PDF, and in our test it was smaller than the damaged one (13,003 bytes against 26,471 bytes).

Can it fix a missing trailer or a cut cross-reference table?

In our test it did. Our damaged sample had its cross-reference table cut, no trailer and wrong stream lengths, and other tools we tried could not open it. The repaired file had all 5 pages and the same text as the undamaged original. Results on other files can differ.

Can it repair a password-protected PDF?

Not directly. The Repair PDF button is disabled and the panel asks you to unlock the file first. Remove the protection with Unlock PDF, then repair the unlocked copy.

Are there any settings?

No. The panel has a note and the Repair PDF button, and nothing to set. The job starts as soon as you press the button.

Do I need an account to repair a PDF?

No. A repair runs without signing in, within a daily free allowance and a 200 MB cap per file. Signing in raises the cap to 200 MB.

Is my damaged file kept?

The upload is sent over HTTPS when you press Repair. If you are not signed in, the upload and the repaired copy are deleted from indox's server 24 hours after the job finishes; with an account they stay in your history until you delete them. The file on your device is never changed.