External hard drive, SD card, and USB flash drive on a wooden desk next to a laptop with a terminal window open — data recovery in progress.

Powerful recovery tool for files and photos.

PhotoRec is an open-source data recovery program that specializes in rescuing deleted files such as photos, videos, documents, and archives from hard drives, SD cards, USB flash drives, and more. It works across multiple platforms, including Windows, macOS, and Linux, and supports an impressive range of file systems like FAT, NTFS, exFAT, ext2/3/4, and HFS+.

Unlike many recovery tools, PhotoRec performs raw recovery—that is, it ignores the file system and instead recognizes file types by their structure. This makes it especially useful when the file system is damaged or has been formatted.

Features and capabilities

  • Recovers more than 480 different file types
  • Compatible with both internal and external drives
  • Works even when the file system is damaged
  • Supports partitions and disks up to multiple TB
  • Bundled with TestDisk, which can repair partition tables

Interface and ease of use

Screenshot of the QPhotoRec program with a 2TB hard drive selected, ext2 file system highlighted, and options for file system type and recovery mode shown.

PhotoRec doesn’t have a graphical user interface—it runs in a text-based window (command prompt/terminal). That can feel intimidating for beginners, but it also makes the software incredibly lightweight and fast. There are unofficial GUI versions (e.g., QPhotoRec) that some users may prefer.

The guided step-by-step menu still makes it manageable to use, even for those without a technical background—especially with plenty of online guides available.


Top 5 tips for PhotoRec

Understand the difference between PhotoRec and TestDisk
PhotoRec restores individual files—TestDisk repairs partitions. Both are useful, but they serve different purposes.

Never save recovered files to the same drive
Use a different drive than the one you’re recovering from to avoid overwriting.

Use file-type filtering
Specify which file types you want to recover so the scan is faster and more accurate.

Start with a “whole disk” scan for severe corruption
If the partition table is lost, choose the entire disk rather than a specific partition.

Save the log file after the scan
PhotoRec generates a log with details about the recovery—it’s useful for troubleshooting or if you need to resume later.


Effectiveness and limitations

PhotoRec is especially effective at recovering deleted photos from SD cards (cameras, phones) or USB drives. It also performs surprisingly well at recovering documents, videos and archives, especially if the files were deleted recently and not overwritten. In cases of severe file system corruption, it’s one of the few free tools that can still locate and extract raw data from a disk without relying on a working partition table.

However, files are recovered without their original filenames or folder structure, which can make sorting time-consuming—especially if you’re trying to locate specific documents among thousands of items with generic names like f123456.jpg or recup_dir.1. That often means opening many files manually to identify their contents.

PhotoRec also requires more patience and manual effort than commercial tools with automated interfaces and recognition of filenames, metadata, and folder structure. For example, tools like EaseUS Data Recovery or Stellar Data Recovery often provide a more polished experience, letting you sort results by file type, size, date, and even preview files directly. However, they often cost several hundred dollars—while PhotoRec delivers nearly the same results without costing a dime.

That’s why PhotoRec primarily appeals to users willing to trade a bit of comfort and UI polish for powerful, free technology that can often save the irreplaceable—family photos, important documents, or video footage that would otherwise be lost.


An indispensable free tool for those willing to get a little technical

If you can live without a modern interface and don’t mind a bit of tinkering, PhotoRec is one of the most reliable and flexible free file recovery solutions on the market.

Download PhotoRec (via the TestDisk package)

Reviewer’s rating with pros and cons, and user ratings

A powerful, free data recovery tool that impresses with its results. Held back a bit by its text-based interface.


Pros and cons

✅ Supports many file formats and file systems
✅ Highly effective with damaged file systems
✅ Open source and completely free
✅ Compatible with Windows, macOS, and Linux
✅ Also works with external drives and SD cards

❌ No graphical interface by default
❌ Files are recovered without their original names and folders
❌ Requires some technical know-how
❌ Not ideal as a full backup solution


Supported platforms:
🟦 Windows
🍎 macOS
🐧 Linux

User Rating