If you need to recover accidentally deleted photos, what you do in the first minutes matters more than which app you pick: stop saving anything to the device, check the trash, and only then try recovery software, saving the results to a different drive.
What do you want to do?
Recover deleted photos Recover deleted files Recover deleted videos Read moreYou will remain on this site.This guide focuses on that order of actions and on the free tools that read deleted data from memory cards, computers and Android phones. It also explains where those tools stop working, so you do not waste hours, or money, on a scan that cannot succeed.
What Actually Happens When You Delete a Photo
There are two layers. The first is the app: Photos on iPhone, Google Photos and Samsung Gallery move deleted pictures to a trash folder for 30 days. Nothing is lost yet, and restoring from there is the only method that is guaranteed to work.
The second layer is the storage itself. When a file is removed from the trash, the file system marks its space as free instead of wiping it. The picture's data can remain until something new is written over it. How long that lasts depends on the type of storage:
- Camera SD cards and USB drives usually keep deleted data until new photos fill the space, which is why they give the best results with recovery software.
- Computer SSDs are harder. Microsoft's own recovery guide warns that deleted data is more likely to be overwritten on a solid-state drive, so recovery is less likely there than on a traditional hard disk.
- Phones are the hardest case. Android devices that launched with Android 10 or later must use file-based encryption, and iPhones encrypt their storage by default. Deleted data on these devices is very difficult to read back, and apps that promise otherwise usually find only thumbnails or cached copies.
The First Five Minutes: What to Do and What to Avoid
Stop writing to the device. Do not take new photos, download files or install apps on the phone or card that held the pictures. Take the SD card out of the camera if that is where the photos were.
Check every trash folder. Look in the gallery app you used, in Google Photos and, on a computer, in the Recycle Bin or Trash. Our two-step check for phones lists the exact menus.
Check your backups online. A photo that was uploaded before deletion may still be in the cloud service's trash; see our cloud photo recovery guide for each service's time limit.
Do not format, reset or "repair" the device. If the camera says the card is damaged and offers to format it, decline. Formatting creates a new empty file system over the old one.
Do not install the recovery tool on the same drive. Install and save to another disk, or to a computer when the photos were on a card.
Free Recovery Tools That Do What They Claim
PhotoRec (Windows, macOS, Linux)
PhotoRec is free, open-source software from CGSecurity, released under the GNU GPL. It reads the storage block by block and recognizes files by their signatures, such as the header of a JPEG, which is why it still works when the card's file system is damaged or has been reformatted. It recognizes more than 480 file extensions, including the RAW formats of many cameras.
Insert the card into a card reader on the computer.
Run PhotoRec (it comes bundled with TestDisk) and pick the card from the list of disks.
Choose the partition and, under File Opt, keep only the photo and video formats you need to speed up the scan.
Choose a destination folder on the computer's own drive, never on the card itself; the developer states recovered files must not be written to the same partition.
PhotoRec opens the source in read-only mode, so it does not damage the card. The downside is that recovered files lose their original names and come out with numbered names, so expect to sort them by date or by viewing them.
Windows File Recovery (Windows 10 and 11)
Microsoft's free command-line tool is installed from the Microsoft Store. The basic syntax is winfr source-drive: destination-drive: /mode, and the source and destination must be different drives. Regular mode is for recent deletions on NTFS drives; Extensive mode is for older deletions, formatted or damaged disks, and for SD cards and small flash drives that use FAT or exFAT. If you are unsure, Microsoft suggests starting with Regular mode.
DiskDigger (Android)
DiskDigger scans the phone itself. Without root access, it runs only a basic scan, which the developer describes as likely to return lower-resolution versions of your photos, often thumbnails kept by the system. Full scans and original-resolution recovery require a rooted phone, and the free version recovers only photos and videos. Save results by sending them to another app, such as email or cloud storage, rather than to the same internal storage.
Comparison
The three free tools compared
Read each row to see which tool fits your device.
| Tool | Runs on | Best for | Keeps file names? | Main limit |
|---|---|---|---|---|
| PhotoRec (CGSecurity) | Windows, macOS, Linux | SD cards and drives, even reformatted or damaged; 480+ file extensions, including camera RAW | No, files get numbered names | Results must be saved to another drive |
| Windows File Recovery (Microsoft) | Windows 10 and 11 (Microsoft Store) | Regular mode for recent NTFS deletions; Extensive mode for formatted disks and FAT/exFAT cards | Depends on mode | Command line only; source and destination must be different drives; cannot scan a phone's internal storage |
| DiskDigger | Android | Scanning the phone itself | Not stated | Without root: basic scan, often low-resolution thumbnails; free version recovers only photos and videos |
Based on the developers' documentation summarized in this article (CGSecurity, Microsoft, DiskDigger).
Paid Software and Professional Labs
Commercial programs offer friendlier interfaces and previews, but they read the same leftover data as the free tools, so they cannot recover photos that PhotoRec or Windows File Recovery found to be overwritten. Most let you scan and preview for free; pay only if the preview shows your photos intact.
Professional recovery labs make sense in a different situation: a card, drive or phone that is physically damaged, for example after water exposure, a fall or a failed controller. In those cases, do not keep powering the device on, because repeated attempts can make the damage worse. Ask for a written quote and a "no data, no charge" policy before sending it.
Frequently Asked Questions
Can I recover photos from a formatted SD card?
Often, yes, if nothing new was recorded after formatting. Signature-based tools like PhotoRec and Windows File Recovery's Extensive mode are designed for this case.
Why are recovered photos corrupted or half gray?
Part of the file was overwritten, or the file was stored in fragments that the tool could not rejoin. Try another tool, but the missing part usually cannot be restored.
Do I need to root my Android phone?
Rooting can void warranties and, on many phones, requires unlocking the bootloader, which erases the device. It is not worth doing just to attempt recovery, since the wipe destroys the data you are trying to save.
Can Windows File Recovery scan my phone?
No. Phones connected by USB usually appear on the computer as media devices rather than as drives with a letter, so command-line tools such as winfr cannot scan their internal storage. They work on memory cards inserted into a card reader, USB sticks and computer drives.
Where else could a copy be?
Chats, social networks, email and old devices often keep a copy. We list them in our guide to finding other copies of deleted photos.