PhotoRec | Data Recovery

Editor's Rating: ⭐⭐⭐⭐⭐ (5.0/5)

PhotoRec is a free, open source, portable data recovery utility that specializes in recovering deleted or lost files from hard drives, SSDs, USB flash drives, memory cards, optical discs, and many other storage devices. Unlike traditional recovery software that depends on the filesystem, PhotoRec searches storage media for known file signatures, allowing it to recover files even from severely damaged or reformatted drives.

PhotoRec | Free Portable File Recovery Software

PhotoRec portable file recovery software

PhotoRec is part of the TestDisk suite, a collection of open source data recovery utilities developed by Christophe Grenier. While TestDisk is primarily designed to recover lost partitions and repair non-bootable disks, PhotoRec focuses on recovering individual files from damaged, corrupted, formatted, or inaccessible storage devices.

Rather than relying on the existing filesystem, PhotoRec scans the raw contents of a storage device for hundreds of known file signatures. This approach allows it to recover many types of files even when partition tables or filesystems have been damaged or erased.

TestDisk partition recovery utility

How PhotoRec Works

Unlike many file recovery tools that depend on intact directory structures, PhotoRec works independently of the filesystem. It scans sectors directly for recognizable file headers and footers, reconstructing files based on their internal signatures rather than their original filenames or locations.

Because of this recovery method, recovered files usually lose their original filenames and folder structure. However, the software can often recover data from drives that have been accidentally formatted, corrupted, or partially damaged.

Key Features

  • Recover Hundreds of File Types: Supports recovery of photographs, videos, documents, archives, executables, databases, audio files, and hundreds of additional formats.
  • Filesystem Independent: Recovers files even when FAT, exFAT, NTFS, ext2/ext3/ext4, HFS+, APFS, and other supported filesystems are damaged or inaccessible.
  • Wide Device Compatibility: Recover data from hard drives, SSDs, USB flash drives, memory cards, digital cameras, optical discs, and disk image files.
  • Open Source: Completely free software released under the GNU General Public License.
  • Read-Only Recovery: The program never writes to the source drive during recovery, helping prevent additional data loss.
  • Cross Platform: Available for Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD, and SunOS.
  • Console and Graphical Versions: Includes the classic text-based PhotoRec interface along with the easier-to-use QPhotoRec graphical interface on supported platforms.
  • Custom File Selection: Recover only specific file types to reduce scan times and simplify results.
  • Supports Large Drives: Works with modern storage devices, including multi-terabyte hard drives and SSDs.

When Should You Use PhotoRec?

PhotoRec is especially useful when files have been accidentally deleted, a storage device has been formatted, or the filesystem has become corrupted. Because it works directly with raw disk data, it can often recover files that conventional undelete utilities cannot.

Common recovery scenarios include:

  • Recovering deleted photographs from SD cards.
  • Restoring documents from formatted USB flash drives.
  • Recovering files after accidental partition deletion.
  • Retrieving videos from damaged memory cards.
  • Recovering data from failing hard drives before complete failure.

How to Use PhotoRec

  1. Download the latest TestDisk package from the official website.
  2. Extract the archive to a folder or USB flash drive.
  3. Launch photorec_win.exe or qphotorec_win.exe on Windows.
  4. Select the storage device you want to scan.
  5. Choose the partition or scan the entire disk.
  6. Select the destination folder on a different drive.
  7. Start the recovery process and allow the scan to complete.

Important: Always recover files to a different storage device than the one being scanned. Saving recovered files back to the source drive may overwrite data that has not yet been recovered.

PhotoRec vs Traditional Recovery Software

Feature PhotoRec Typical Undelete Software
Works without filesystem Usually No
Recovers formatted drives Limited
Preserves filenames Usually No Often Yes
Open Source Usually No
Portable Varies

Specifications & Download

  • Official Website: CGSecurity PhotoRec Project Page
  • Developer: Christophe Grenier
  • Part of: TestDisk Recovery Suite
  • License: Open Source (GNU GPL)
  • Extracted Size: Approximately 6 MB
  • Supported Operating Systems: Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD, SunOS
  • Category: Data Recovery, Disk Utilities
  • Price: Free
  • Editor's Rating: ★★★★★
  • Download: PhotoRec Download

Frequently Asked Questions

Can PhotoRec recover deleted files?

Yes. It can recover many deleted files as long as the data has not been overwritten by new files.

Can PhotoRec recover files from formatted drives?

Yes. Because it scans storage media for file signatures instead of relying on the filesystem, it can often recover files after accidental formatting.

Does PhotoRec preserve filenames and folders?

Usually not. Since recovery is based on file signatures, recovered files are typically assigned new names and placed into recovery folders.

Is PhotoRec safe to use?

Yes. PhotoRec performs read-only operations on the source drive, reducing the risk of causing additional damage during recovery.

What's the difference between PhotoRec and TestDisk?

PhotoRec recovers individual files, while TestDisk focuses on repairing partition tables, recovering lost partitions, and restoring boot sectors.

Final Thoughts

PhotoRec remains one of the most capable free file recovery utilities available. Its filesystem-independent recovery method allows it to retrieve files from storage devices that many traditional recovery programs cannot handle. While recovered files typically lose their original filenames and folder organization, the recovery success rate can be excellent when the underlying data has not been overwritten.

Combined with the included TestDisk partition recovery utility, PhotoRec provides a comprehensive toolkit for recovering deleted files, repairing damaged partitions, and rescuing data from failing storage devices. Whether you're recovering photos from a camera memory card, restoring documents from a formatted USB drive, or salvaging files from a damaged hard disk, PhotoRec remains one of the most trusted and widely recommended open source recovery solutions available.