How to Recover a Deleted PDF File: A Comprehensive Guide

Profile David M. Profile Yevgeniy T.

Last update:


From businesses to schools to government agencies, the PDF file format is used everywhere because of its ability to preserve the content and formatting of complex documents across different platforms and devices.

Considering its widespread use and the fact that PDF files often contain important information, it shouldn’t come as a surprise that PDF file recovery is a frequently researched topic. Until now, however, there wasn’t any comprehensive guide that would explain everything you need to know to recover PDF files that are no longer accessible.

In this article, we cover everything you need to know about deleted PDF file recovery, and we even explain how you can fix common issues that you may encounter when working with PDF files, such as corruption.

Help! I Need to Recover a Deleted PDF File

If you’re reading this article because you’ve recently lost an important PDF file and would like to learn how to recover it, then these posts found on the web will probably resonate with you:

Hello, a couple of weeks ago, I downloaded a PDF file from my tablet, and began to read,( I found it very interesting) but suddenly some days ago I tried to open it, and popped up a window with the following: “There was an error opening this document. The file is damaged and could not be repaired.” I copy the file to my laptop, but it didn’t work. I do not know what happened. Is it possible to repair it? Thank you for your help.

Tom’s Guide

Hello, I need help recovering some files. I have 3-4 deleted PDF documents that I want to recover from my SanDisk 64GB microSDXC. The problem is that they can’t seem to be found.


Hello, so my issue is the next one: My Foxit crashed, and when I reopened it, it offered to load to automatically saved file but didn’t. I’ve managed to find it, but it’s on a .tmp file. Is there any way to restore it manually? Thanks!


Posts like these can be found on just about every tech-related discussion board online, and they illustrate that PDF recovery is a major issue that’s affecting countless users every single day.

Can PDF Files Be Recovered?

Yes, it’s possible to recover deleted or unsaved PDF files, but only if certain conditions are met:

  • The deleted PDF files have yet not been overwritten.
  • The unsaved PDF files are present among temporary files.
  • The lost PDF files were not stored on a TRIM-enabled solid-state drive (SSD).

If you meet these three conditions, you can proceed to the next chapter, which describes several different PDF recovery methods. Regardless of which method you use to get back your PDF files, we highly recommend you don’t delay the recovery process since time isn’t on your side when it comes to data recovery.

Let’s explore popular methods for recovering deleted PDF files on Windows and Mac.

1. How to Recover Deleted PDF Files on Windows

Method #1: Recycle Bin

Before you explore more advanced PDF recovery methods, you should check if it’s possible to recover the deleted PDF files from the Recycle Bin, a special folder in Windows reserved for recently deleted files.

To recover deleted PDF files from the Recycle Bin:

  1. Open the Recycle Bin by clicking on its desktop icon.
  2. Highlight the PDF files you want to recover.
  3. Right-click on any highlighted PDF file and select the Restore option.

restore pdf recycle bin

Method #2: Local Backups

No luck recovering your PDF files from the Recycle Bin? Then go through your backups and see if any of them contains the deleted files. If you’ve recently copied the PDF files to a USB pen drive or SD card, you’re saved since you can simply copy them back to your computer.

Method #3: OneDrive

Integrated into the latest version of Windows is a cloud backup service called OneDrive, which is operated by Microsoft as part of its web version of Office. If you sign in to Windows with your Microsoft account, you probably have activated OneDrive, so go ahead and see if you can use it to recover your PDF files.

To recover deleted PDF files with OneDrive:

  1. Go to:
  2. Log in with your Microsoft account.
  3. Use the search bar at the top to quickly locate your PDF files or navigate to the folder where the PDF files are located.
  4. Select any PDF file you want to recover.
  5. Click Download.

restore pdf onedrive

Method #4: File History

File History is a useful backup feature present in recent versions of Windows. Once activated, it quietly creates backups of files in specified locations, allowing you to easily restore their older versions.

To recover deleted PDF files using File History:

  1. Open Windows Explorer and right-click on the folder where the deleted PDF files were located.
  2. Select Restore previous versions.restore previous versions
  3. Select the most relevant File History backup and click Open in File History to preview its in file history
  4. Select the PDF file you want to recover and click the green Recover button at the bottom of the preview window to recover it.recover file history

Method #5: Data Recovery Software

In case all previous PDF file recovery methods failed to yield any good results, you have only one option left: third-party data recovery software. The main reason to use data recovery software applications is that they can recover even permanently deleted PDF files that you don’t have backed up anywhere.

There are many data recovery software tools to choose from, some free and some paid. When selecting a data recovery tool, make sure to double-check that it can recover PDF files, and always read online reviews to avoid poorly performing tools.

To save you time, we’ve picked one free and one paid data recovery software tool and created a step-by-step guide for each solution.

Free: PhotoRec

PhotoRec is an open-source data recovery software application with a command-line user interface. It supports all common file formats and file systems and can handle even fairly complex data recovery scenarios.

To recover your PDF files with PhotoRec:

  1. Download and install the PhotoRec.
  2. Extract the downloaded file archive.
  3. Launch the application by clicking on photorec_win.exe.photorec executable
  4. Select the storage device on which your PDF files were located using the arrow keys. Press Enter on your keyboard to proceed.photorec select drive
  5. Select the partition on which your PDF files were located using the arrow keys. Press Enter to scan it.photorec select drive
  6. Select the correct file system and press Enter. In most cases, PhotoRec automatically suggests the right option.photorec select file system
  7. Choose if you want to scan only unallocated space or the whole partition.photorec all space
  8. Select a destination to save the recovered PDF files to. Press C on your keyboard when done.photorec destination

Paid: Disk Drill

Disk Drill is a paid data recovery software application that you can use to recover up to 500 MB of data for free, which should be more than enough for many PDF files. Disk Drill boasts a polished graphical user interface and support for over 400 file formats, as well as all commonly used file systems.

Whereas PhotoRec always recovers all deleted files, regardless of their format or quantity, Disk Drilll makes it possible to recover only specific files, and it can even preview them beforehand. Disk Drill’s signature one-click approach to data recovery makes it suitable even for users who don’t consider themselves to be tech-savvy.

What’s more, included in Disk Drill are useful data protection and backup features that can help you avoid losing important PDF files in the future.

To perform PDF recovery with Disk Drill:

  1. Download and launch Disk Drill.
  2. Select the storage device on which the deleted PDF files were stored and click Search for lost data.disk drill search for lost data
  3. Use the file format filters on the left to narrow down the scan results until you find the PDF files you’re looking for. Select it to see its preview on the right.
  4. Click the checkbox next to each PDF file you want to recover and click the blue Recover button at the bottom.disk drill select items
  5. Specify the recovery folder and click Next.disk drill destination selection

2. How to Recover Deleted PDF Files on Mac

Method #1: Trash

Have you checked if the deleted PDF files are not in Trash? Even if you’re 100% sure that they’re gone for good, you should still look for them in the Trash folder since it will take just a few seconds.

To recover deleted PDF files from Trash:

  1. Open Trash by clicking on its icon, located on the right side or bottom of the Dock.
  2. Select the PDF files you want to recover.
  3. Right-click on any selected PDF file and select the Put Back option.

macos put back from trash

Method #2: Local Backups

Do you have an external hard drive or a USB flash drive where you back up your files? If you do, go through it and see if it contains the deleted PDF files. Use the search feature in Finder to quickly find specific PDF files or narrow down the search results by searching for all PDF files using the following search filter: kind:pdf

Method #3: iCloud

All Mac users can take advantage of Apple’s cloud backup service, called iCloud. Since iCloud stores files on remote servers, it doesn’t even matter if the storage device on which your lost PDF files were originally stored is no longer accessible.

To recover deleted PDF files from iCloud:

  1. Sign in to with your Apple ID.
  2. Go to iCloud Drive.icloud drive
  3. Locate your PDF files.
  4. Select any PDF file you want to recover.
  5. Go to the top of the iCloud screen and click the download icon (cloud with an arrow going down).icloud pdf restore

Method #4: Time Machine

Apple’s Time Machine is a user-friendly backup tool included in macOS 10.5 or newer. Just like its name suggests, Time Machine allows users to go back in time and restore older versions of existing and deleted files alike.

To restore deleted PDF files with Time Machine:

  1. Connect your Time Machine backup disk to your Mac.
  2. Open the folder that contained the deleted PDF files.
  3. Click the Time Machine icon located in the Menu Bar and choose Enter Time Machine.
  4. Locate the PDF files you want to recover using the timeline on the right edge of the screen.
  5. Click Restore to restore the selected PDF files.

recover pdf from time machine

Method #5: Data Recovery Software

Mac users can choose from a large number of data recovery software solutions. Such solutions are not present in the Mac App Store due to certain restrictions imposed by Apple, but they can be downloaded directly from the web and installed manually.

Let’s take a closer look at Lazesoft Mac Data Recovery and Disk Drill to illustrate how you can recover your PDF files with free and paid data recovery software, respectively.

Free: Lazesoft Mac Data Recovery

Lazesoft Mac Data Recovery is one of a few data recovery software solutions for Mac that can recover an unlimited amount of data for free. While it doesn’t offer the same data recovery performance and polish as many of its paid counterparts, it’s worth giving it a shot just to check if you can get back your PDF files without spending a single penny.

To restore PDF files with Lazesoft Mac Data Recovery:

  1. Download and install Lazesoft Mac Data Recovery.
  2. Launch the tool and select the Undelete option.Lazesoft Mac Data Recovery undelete
  3. Select a drive to recover the deleted files and click Start Search.Lazesoft Mac Data Recovery start search
  4. Wait for the scan process to finish and select the deleted files.
  5. Click Save Files to restore your PDF files.Lazesoft Mac Data Recovery recover

Paid: Disk Drill

The Mac version of Disk Drill stands out with its ease of use and excellent data recovery performance. We recommend it to all Mac users who don’t want to take any chances with free data recovery software and, instead, want to recover all PDF files that have disappeared on the first go. Here are some important advantages Disk

Drill offers over Lazesoft Mac Data Recovery:
  • Support for over 400 files formats
  • The ability to recover files from iOS and Android devices
  • Data protection and backup features
  • Modern user interface
  • Official support for all recent versions of macOS

To undelete PDF files with Disk Drill on Mac:

  1. Download and install Disk Drill.
  2. Launch Disk Drill and click the Search for lost data button next to the drive on which your PDF files were stored prior to deletion.disk drill mac drive selection
  3. Look inside the recovery folders and locate the deleted PDF files using the preview feature.
  4. Select each PDF file you want to recover and click the Recover button.disk drill mac file selection
  5. Specify where you want Disk Drill to recover the deleted PDF files and click Choose. You should always select a folder on a different drive than where the deleted files were originally located.disk drill mac destination selection

3. How to Recover Unsaved PDF Files

Forgetting to save an important PDF file and seeing your PDF reader crash suddenly and you losing all hard work is no fun. But depending on your PDF reader, you might be able to recover unsaved PDF files from an autosave folder or temporary files.

3.1 Adobe Acrobat Reader

If you use Adobe Acrobat Reader, you’re in luck because this PDF reader automatically attempts to recover all unsaved PDF files after a crash, and all you need to do is select the file you want to recover.

  1. Start Acrobat or open the file you were working on last.
  2. Click Yes to open the autosave file or file.
  3. Save the file or files with the same names as the files you were originally working on.

To enable autosave in Adobe Acrobat Reader:

  1. Select Documents in the Preferences dialog box under Categories.
  2. Select Automatically Save Document Changes to Temporary File Every xx Minutes.

Adobe Acrobat Reader autosave

3.2 Foxit Reader

Foxit Reader has an autosave feature that you can activate if you want the PDF reader to automatically save the document you’re working on every x minutes. Each time Foxit Reader automatically saves the document, it overwrites the original file. If you accidentally delete it, you can look inside temporary files on Windows and Mac.


  • Open the following location in File Explorer: %systemdrive%\Windows\Temp
  • Open the following location in File Explorer: %userprofile%\AppData\Local\Temp


  • Type “open $TMPDIR” in the Terminal app.

To enable autosave in Foxit Reader:

  1. Open the File menu and select Preferences.
  2. Click Documents and check Automatically save file.
  3. Click OK to confirm.

Foxit Reader autosave

3.3 Nitro PDF Reader

Nitro PDF Reader automatically attempts to recover from an unexpected termination, allowing you to carry on from where you left off. The Pro version of Nitro PDF Reader can recover any PDF files that were open at the time of the crash, their view state, and all unsaved changes to your PDF files.

To enable autosave in Nitro PDF Reader:

  1. Open Preferences and go to the General section.
  2. Select the Save application state every xx option.

Nitro PDF Reader autosave

4. How to Repair a Corrupted PDF File

The PDF file format is known for its ability to preserve content and formatting across devices, but it’s not immune to corruption. There are many reasons why PDF files may become corrupted, including:

  • Failed downloads or transfers: When downloading PDF files from the internet or transferring them between devices, it’s important for the download or transfer process to finish completely otherwise the files may become corrupted.
  • Storage device failure: Unfortunately, no storage device offers perfect reliability. Even in perfect conditions, hard drives, USB flash drives, memory cards, and all other storage devices occasionally fail—sometimes completely and sometimes partially.
  • Improper shutdown: A sudden, unexpected shutdown of a computer can interrupt important data transfer processes and cause PDF corruption or even lead to a PDF file disappearing from the storage device.

The good news is that there are several ways to repair corrupt a corrupted PDF file.

Method #1: Online PDF Repair Tools

These days, there seems to be an online tool for everything—even repairing corrupted PDF files. We recommend the one from iLovePDF because it delivers great results and is as intuitive as it gets.

To repair a corrupted PDF file with iLovePDF:

  1. Go to:
  2. Click Select PDF file.
  3. Choose the corrupted PDF file you want to repair.
  4. Click Repair PDF.
  5. Download the repaired PDF file.

repair pdf online

Method #2: PDF to Word Conversion

PDF to Word converters are great for extracting useful information from corrupted PDF files. One of the best PDF to Word converters that you can use for free is actually an online converter developed by Nitro Software.

To convert a PDF file to Word with Nitro:

  1. Go to:
  2. Select your PDF file to convert.
  3. Enter your email address.
  4. Click the Convert Now button.
  5. Check your inbox and download the converted file.

convert pdf to word

Method #3: Alternative PDF Readers

Some PDF readers handle corrupted PDF files better than others. If your default PDF reader isn’t up to the task, we recommend you try at least the following three alternatives:

  1. Adobe Acrobat Reader DC (Windows, Mac)
  2. Foxit Reader (Windows, Mac, Linux)
  3. Nitro PDF Reader (Windows)

5. How to Recover Expired PDF Files?

It’s always frustrating to come across a PDF file that can’t be opened because it has expired. Fortunately, you don’t need to be a hacker to unlock an expired PDF file thanks to handy online tools capable of instantly stripping protected PDF files of their security measures.

One such tool is called Unlock PDF, and using it could hardly be any easier:

  1. Go to:
  2. Click Choose File.
  3. Select the expired PDF file you want to unlock.
  4. Confirm that you have the right to edit the file and remove its protection.
  5. Download the unlocked file.

unlock pdf

Other online tools that you can use to recover expired PDF files include iLovePDF, PDF2Go, and

What Is an Expired PDF File?

An expired PDF file is impossible to open because the creator of the file limited access to it until a fixed date and time. Such PDF files are typically created to prevent access to sensitive information, and they are common in the business sector. Because the PDF file format doesn’t natively support expiration dates, a third-party Digital Rights Management (DRM) is required to create PDF files that automatically expire.

Frequently Asked Questions

How do you backup a PDF file?

You have multiple options when it comes to backing up PDF files:

  • Manual local backups: If you need to back up a single file, you can simply copy it to a different folder (preferably one that’s located on another storage device).
  • Automatic backup software: You can use Time Machine on Mac or File History to automatically back up your PDF files and gain the ability to recover a specific past version of any file.
  • Cloud backups: Services like OneDrive, iCloud, and Dropbox can automatically backup all PDF files stored in a specified folder to a secure server, allowing to access them from anywhere.

The recovery of deleted PDF files on Android is possible with the Pro version of an app called DiskDigger:

  1. Download DiskDigger Pro.
  2. Launch DiskDigger Pro and scan your device.
  3. Give DiskDigger permission to access your device’s storage.
  4. Select the PDF files you want to recover.
  5. Tap the Recover button.

Keep in mind that DiskDigger Pro requires root access to scan your device’s entire internal memory.

Microsoft doesn’t include a dedicated PDF viewer in Windows 10. Instead, PDF files are by default opened in Microsoft Edge. If you experience any issues with it, you can change the file association with the following steps:

  1. Open Settings and go to Apps > Defaults apps.
  2. Click “Choose default apps by file type” at the bottom.
  3. Select .pdf and pick the new default PDF reader.

The default PDF viewer on Mac is the Preview app. If you ever experience issues with opening PDF files, you should use the “Open with” option to reassign Preview as the default PDF viewer. Here’s how:

  1. Right-click on any PDF file.
  2. Click Open With and choose Other.
  3. Select the Preview app and make sure to check the “Always Open With” option before you click Open.

If you need to recover comments you left on a PDF file that has since disappeared, you should go through your backups and look for a version of the PDF file that still has them. Without a backup, there’s unfortunately no way how to recover them.

Help Us Improve This Article
Was the provided information useful? Your vote is important to use!
David Morelo

David Morelo is a professional content writer with a specialization in data recovery. He spends his days helping users from around the world recover from data loss and address the numerous issues associated with it.

When not writing about data recovery techniques and solutions, he enjoys tinkering with new technology, working on personal projects, exploring the world on his bike, and, above all else, spending time with his family.

David’s recent reviews
David’s recent publishings
Yevgeniy Tolkunov
Yevgeniy Tolkunov

Yevgeniy Tolkunov is Hardware Engineer at ACE Data Recovery. Yevgeniy has a Master's Degree in Physics, Information Technology; 15+ years of experience.