Top Free Data Recovery Software for Computers and Mobile Devices: A Complete Technical and Forensic Guide
How deletion actually works, what free tools can and cannot recover, and where ordinary data recovery ends and digital forensic examination begins.
Contents
- Why Deleted Data Isn't Always Gone
- How Data Recovery Actually Works
- HDD vs SSD: Why Recovery Differs
- Data Recovery vs Digital Forensics
- Top Free Computer Data Recovery Software
- Mobile Data Recovery: A Different Problem
- Free and Open-Source Mobile Forensic Tools
- Autopsy: The Forensic Platform
- Device-Wise Compatibility Guide
- Comparison Table
- What Can and Cannot Be Recovered
- Common Myths About Data Recovery
- A Forensically Sound Recovery Workflow
- Example Scenarios
- A Free Toolkit for Forensic Science Students
- Safety and Evidence-Preservation Warnings
- Free vs Commercial Forensic Software
- Best Software by Purpose
- Important Technical Limitations
- Conclusion
- Frequently Asked Questions
1. Why Deleted Data Isn't Always Gone
Every forensic science student eventually hears some version of the same reassuring myth: press delete, and the file disappears forever. It is one of the most persistent misunderstandings in digital evidence work, and it is wrong in a very specific, very useful way. In most ordinary operating-system deletions, what actually disappears is not the data itself but the operating system's record of where that data lives. The bytes that make up the photograph, the spreadsheet, or the chat log frequently remain on the storage medium, sitting in space the file system now considers "free," until something else happens to be written over them.
This single fact — that deletion is usually an act of bookkeeping rather than destruction — is the reason data recovery software exists at all, and it is also the reason such software has firm limits. A deleted file is recoverable only until its physical location is reused. On a mechanical hard disk that might mean weeks or months of recoverability. On a modern solid-state drive running background garbage collection, it can mean minutes.
It is worth being precise about the vocabulary here, because these four terms are often used interchangeably by non-specialists and should not be:
- Deletion — the file system removes or marks as invalid the directory entry and/or metadata record pointing to a file's data; the underlying data blocks are typically left untouched until reused.
- Formatting — a new file system structure is written to a volume. A "quick format" mainly rewrites the file system's bookkeeping structures (comparable in spirit to mass deletion); a full/low-level format may involve writing patterns across the entire surface, which is far more destructive to recoverability.
- Corruption — the file system's structures become internally inconsistent (due to a crash, bad sectors, a failing controller, or malware) so the operating system cannot correctly interpret them, even though the underlying data may be intact.
- Physical failure — the storage medium itself is mechanically or electronically damaged (a HDD head crash, a failed SSD controller, a cracked memory chip), which is an entirely different problem from logical deletion and often requires specialised hardware-level intervention rather than software.
Recovering data matters well beyond the anxious moment of an accidentally deleted family photo. It sits at the centre of several professional disciplines:
- Digital forensics — recovering deleted files, fragments, or artifacts that may constitute evidence in a criminal or civil matter.
- Cybercrime investigation — reconstructing attacker activity, deleted logs, or exfiltrated data after an intrusion.
- Corporate investigations — internal misconduct, IP theft, or policy-violation inquiries involving deleted files or communications.
- Incident response — recovering volatile or deleted artifacts during and after a security incident, often under significant time pressure.
- Personal data recovery — the everyday scenario of a user recovering accidentally deleted or lost files with no evidentiary purpose at all.
- Law-enforcement investigations — recovering data from seized devices as part of a documented, legally defensible process.
A final piece of groundwork before the technical material: not everything marketed as "free data recovery software" is equally free. Genuinely free and open-source tools such as PhotoRec, TestDisk, and Autopsy publish their source code under licences such as the GNU General Public License or Apache License, impose no feature caps, and are maintained by transparent developer communities. Many commercial "freemium" products, by contrast, allow you to scan a drive and preview recoverable files at no cost, but require a paid licence to actually save them, or cap the amount of data recoverable for free. Neither model is inherently dishonest, but a forensic science student should be able to tell them apart before choosing a tool for coursework, research, or casework.
2. Understanding How Data Recovery Works
To understand what any recovery tool can or cannot do, it helps to understand the layer it operates on: the file system.
File systems, metadata, and allocation
A file system is the structure an operating system imposes on raw storage so that data can be organised into files and folders instead of being one undifferentiated stream of bytes. Every file system maintains, in some form, the same conceptual building blocks:
- Metadata — information describing a file: its name, size, timestamps, permissions, and, critically, where its actual data is physically located.
- Directory entries — the mapping between a human-readable filename/path and its metadata record.
- File pointers / allocation structures — the addresses (cluster numbers, extents, inode block lists) that tell the file system which physical locations on the storage medium hold the file's contents.
- Free space / unallocated space — storage regions the file system considers available for new data. This is precisely where most deleted-but-recoverable files reside.
When a user deletes a file through the normal operating-system interface, the typical sequence is: the directory entry is marked invalid or removed, the metadata record is flagged as deleted (or removed from the active index), and the clusters/blocks the file occupied are returned to the pool of free space. The actual bytes of the photograph or document are, in the overwhelming majority of ordinary deletions, left exactly where they were. This is what makes conventional deleted-file recovery possible: a tool can walk the file system's structures looking for orphaned metadata records, or ignore the file system entirely and scan raw unallocated space for recognisable file signatures — a technique called file carving.
File carving does not rely on file system metadata at all. It scans the raw bytes of a storage device for known file "headers" (the sequence of bytes that begins a JPEG, a PDF, a ZIP archive, and so on) and, where possible, matching "footers," then extracts everything in between as a candidate recovered file. This is powerful because it works even when a file system is severely damaged or has been reformatted, but it has real weaknesses: carved files usually lose their original filenames and folder structure, and if a file was fragmented — its data scattered across non-contiguous regions of the disk — naive carving can produce a corrupted or truncated result unless the tool has more sophisticated fragment-reassembly logic.
Figure 1 — Deletion removes the file system's references, not the underlying bytes.
How deletion differs across major file systems
| File System | Typical Use | Deletion Behaviour |
|---|---|---|
| NTFS | Windows (primary) | Marks the Master File Table (MFT) entry as free and the file's clusters as unallocated; the MFT record and much of the metadata frequently survive for some time, which is why NTFS undelete tools (and Windows File Recovery's "segment" mode) can often recover filenames and timestamps, not just raw content. |
| FAT32 | USB drives, cameras, older/embedded devices | Marks the first character of the directory entry's filename as a deletion marker and frees the corresponding entries in the File Allocation Table; because the FAT chain linking a file's clusters together is cleared, recovering large fragmented files can be harder than on NTFS. |
| exFAT | Large flash drives, SD/microSD cards, cross-platform external drives | Conceptually similar to FAT32 but designed for larger volumes and files, with different metadata structures; widely supported by modern recovery tools. |
| APFS | Modern macOS, iOS/iPadOS | Uses copy-on-write and space-sharing across containers; deleted file recovery is comparatively harder for third-party tools because of its more complex, versioned metadata model, and Apple platforms increasingly encrypt storage by default. |
| HFS+ | Older macOS | Uses a B-tree catalog file; deleted entries are removed from the catalog while data blocks are freed in the allocation bitmap, leaving recoverable remnants under conditions similar to other journaled file systems. |
| ext4 | Linux, many Android internal partitions | Frees the inode and its associated data blocks; ext4's journaling can sometimes retain traces of recently deleted metadata, but by default ext4 does not guarantee recoverability the way NTFS undelete tools often can. |
3. HDD vs SSD: Why Recovery Is Different
Hard disk drives (HDDs)
A conventional hard disk stores data magnetically on spinning platters, organised into concentric tracks, which are divided into sectors, which the file system groups into clusters (the smallest unit it allocates to a file). When a file is deleted on an HDD, its clusters become "unallocated" but the magnetic pattern encoding the original data is not altered by the deletion itself. It remains physically present until the operating system happens to write new data into those same sectors. This is why HDD-based deleted-file recovery — via file carving, undelete utilities, or examining unallocated space — is comparatively reliable and well understood, and is the scenario most classic recovery tools like PhotoRec and Recuva were originally designed around.
Solid-state drives (SSDs)
SSDs store data in NAND flash memory, organised into pages (the smallest unit that can be written) grouped into blocks (the smallest unit that can be erased). This architecture creates a fundamental asymmetry: you can write to an empty page, but to reuse a page that already holds data you must first erase the entire block it belongs to. That constraint drives several SSD-specific behaviours that directly affect recoverability:
- Wear levelling — the SSD controller spreads writes across physical NAND cells to avoid prematurely wearing out any one region, meaning the physical location of "the same" logical data can move over the drive's lifetime, and old physical copies may be erased in the background.
- Garbage collection — the controller proactively consolidates valid data and erases blocks containing only stale/deleted pages, to keep enough free space available for fast writes. This process runs largely independently of what the operating system asks for, and it actively erases the physical remnants of deleted data.
- Over-provisioning — SSDs reserve a portion of their total NAND capacity, invisible to the file system, for wear-levelling and garbage-collection operations, which is one reason SSD internals cannot be reasoned about the same way as an HDD's visible sector layout.
Figure 2 — Structural difference between HDD and SSD storage, and why it changes recovery odds.
TRIM: the single most important reason SSD recovery is harder
The TRIM command (or its equivalents, such as UNMAP in SCSI-based storage) is an instruction the operating system sends to an SSD to say, in effect, "these logical blocks no longer hold data you need to preserve." On receiving a TRIM command for a deleted file's blocks, the SSD controller is free to erase the corresponding physical NAND pages during its next garbage-collection cycle — often within seconds to minutes on a modern system with TRIM enabled (which is the default on current Windows, macOS, and Linux installations for internal SSDs).
The practical consequence is significant: on an HDD, a deleted file might remain fully recoverable for weeks. On a TRIM-enabled SSD, the same deleted file's underlying NAND pages may already be physically erased before a user even opens a recovery tool. This is why forensic guidance and vendor documentation consistently caution that deleted-file recovery success rates on modern internal SSDs are far less predictable than on HDDs, and why write-blocking and immediate, minimal-interaction handling of SSD-based evidence is emphasised so heavily in digital forensics training.
4. Data Recovery vs Digital Forensics
This distinction is one of the most important a forensic science student can internalise early, because the two disciplines share tools and vocabulary but pursue fundamentally different goals.
| Dimension | Data Recovery | Digital Forensics |
|---|---|---|
| Primary goal | Get the user's lost files back, usable | Preserve, acquire, examine, and interpret digital evidence in a way that withstands scrutiny |
| Evidence preservation | Generally not a concern — original media may be written to directly | Central concern — original media is preserved unaltered wherever possible |
| Acquisition method | Direct scanning/recovery from the live device | Bit-for-bit forensic imaging via a write-blocker before any analysis |
| Integrity verification | Rarely performed | Cryptographic hashing (e.g., SHA-256) of the original and the image, verified to match |
| Chain of custody | Not applicable | Documented record of who handled the evidence, when, and how, from seizure to presentation |
| Metadata handling | Often discarded or altered incidentally | Preserved and treated as evidentially significant in itself (timestamps, provenance) |
| Output | Recovered files for the user | A documented examination report suitable for review, cross-examination, and potentially court |
| Admissibility concern | None | Central — methodology must be defensible and repeatable |
Figure 3 — The same starting point, two very different disciplines.
5. Top Free Computer Data-Recovery Software
1. PhotoRec
Developer: Christophe Grenier, distributed via CGSecurity. Licence: GNU General Public License (GPLv2+), genuinely free and open-source, with no feature restrictions in the free version. Supported operating systems: Windows, Linux, macOS, and several BSD variants, from a single cross-platform codebase.
PhotoRec is a text-based (ncurses-driven) file-carving utility. Its defining characteristic is that it deliberately ignores the file system and works directly on the raw bytes of the storage medium, searching for recognised file-type signatures. This makes it unusually resilient: it can often recover files even when a file system is severely corrupted, has been reformatted, or is of a type PhotoRec does not specifically parse — because it is not trying to parse the file system's structure at all.
It supports recovery from hard disks (mechanical and solid-state), USB drives, memory cards (SD, CompactFlash, and similar), and disk images including raw/dd and EnCase E01 formats, and can recognise several hundred file-type "families," ranging from common formats such as JPEG, PDF, Office documents, and ZIP archives to more specialised formats.
Strengths
- File-system independence means it keeps working when a volume is badly damaged.
- Broad file-type recognition across hundreds of formats.
- Uses read-only access to the source media by default, reducing the risk of altering the original evidence during the scan itself.
- No cost, no feature limits, actively maintained.
Weaknesses
- Recovered files generally lose their original filenames, folder structure, and some metadata.
- Fragmented files can be recovered incompletely or corrupted if their pieces are scattered non-contiguously.
- Text-based interface has a learning curve for beginners compared with GUI tools.
Relationship to TestDisk: PhotoRec ships together with TestDisk from the same developer and website, and the two are commonly used as a pair: TestDisk to locate and repair partition-level problems, PhotoRec to carve individual files once the underlying storage is accessible.
When to use it: Recovering photos, documents, and other files after accidental deletion, formatting, or partial file-system corruption, especially when the original filenames are not important. When not to use it: When you specifically need original filenames/folder structure preserved (an NTFS-aware undelete tool may do better), or when working directly against original evidence without first creating a forensic image.
2. TestDisk
Developer: Christophe Grenier (CGSecurity), the companion tool to PhotoRec, released under the same GPL licence and cross-platform support (Windows, Linux, macOS, and BSD variants).
Where PhotoRec focuses on individual files, TestDisk focuses on partitions and boot sectors. Its core function is to examine a disk's partition table and boot sector, detect lost or damaged partitions by scanning for the underlying file-system signatures that a healthy partition table should be pointing to, and rebuild the partition table so the operating system can mount the volume normally again. It supports a wide range of file systems for this purpose, including NTFS, FAT12/16/32, exFAT, and various ext (Linux) file systems, and it can also copy files directly off a partition it detects, even before that partition is fully repaired.
When TestDisk is the better choice over PhotoRec
If an entire partition has disappeared — for example, a drive that shows as "unallocated" or "RAW" in Windows Disk Management, or a Linux volume that no longer mounts — the underlying files may be completely intact; only the partition table's pointer to the file system has been lost or damaged. In that situation, TestDisk's job is to restore the partition table itself, which can bring back access to the entire file system at once, including original filenames and folder structure — a result PhotoRec's raw file carving cannot offer. PhotoRec becomes the better tool only once TestDisk cannot fully repair the partition, or when individual files (rather than a whole lost volume) need to be recovered from unallocated space.
3. Recuva (Free Edition)
Recuva is a Windows-only consumer file-recovery utility distributed by Piriform, with a graphical interface aimed squarely at non-technical users. It offers a wizard-driven scan process, a standard scan and a slower "Deep Scan" mode intended for more thorough recovery attempts on more damaged or heavily used volumes, and a file preview pane that lets a user check whether a recoverable image or document looks intact before restoring it.
Advantages
- Very approachable for non-technical users; minimal learning curve.
- File preview before recovery reduces wasted effort on unusable results.
- No cost for the core free edition.
Limitations
- Windows-only — it has no macOS, Linux, or native mobile capability.
- Free-edition feature set is narrower than the paid "Professional" tier (for example, advanced/virtual-drive scanning and automated backup features are commercial add-ons).
- As with most consumer recovery utilities, results on SSDs with TRIM enabled are far less reliable than on HDDs.
4. Windows File Recovery
Windows File Recovery is Microsoft's own official recovery utility, distributed free through the Microsoft Store, requiring Windows 10 (version 2004 or later) or Windows 11. It has historically been a pure command-line tool (run as winfr from an elevated Command Prompt or PowerShell session); more recent releases have introduced a simplified guided interface layered on top of the same underlying engine, so the exact interaction model can differ by the version installed — this is worth explicitly verifying against current Microsoft documentation rather than assumed.
The tool's classic design offers distinct recovery modes suited to different scenarios:
- Default/Regular mode — uses the NTFS Master File Table to locate recently deleted files on a healthy, functioning NTFS volume; fastest but least thorough.
- Segment mode — does not require an intact MFT, instead searching for surviving NTFS file record segments; used when a volume has been formatted, is corrupted, or the file was deleted some time ago.
- Signature mode — searches for known file-type signatures rather than relying on NTFS structures at all, which makes it the only mode usable on non-NTFS volumes (such as FAT/exFAT-formatted USB drives and memory cards), at the cost of not recovering very small files reliably and not supporting original filenames.
Example command shapes (illustrative only, not a substitute for official documentation):
- Recovering to a different drive letter than the source, in default mode, for a specific file type.
- Recovering from a non-NTFS USB drive necessarily uses signature mode with a specified file-type group.
Advantages
- Official, free, actively supported by Microsoft.
- Supports NTFS, FAT, and exFAT volumes.
- Multiple modes suited to different levels of file-system damage.
Limitations
- Command-line orientation (in its classic form) has a learning curve.
- No file preview before recovery in the classic CLI mode.
- Not effective against TRIM-erased data on SSDs, and cloud storage/network shares are explicitly unsupported.
5. DMDE (Free Edition)
DMDE (DM Disk Editor and Data Recovery Software), developed by Dmitry Sidorov, combines a low-level hexadecimal disk editor with partition-management and file-recovery tools, and runs across Windows, macOS, Linux, and even a bootable DOS edition. It supports a broad range of file systems (FAT/FAT32/exFAT, NTFS, ext, HFS+, and others), can locate lost partitions from boot-sector and superblock remnants, includes a basic RAID reconstruction ("RAID constructor") for common RAID levels, and can perform signature-based file carving when a file system's own metadata is unusable.
Free-edition limitations
The Free Edition allows a user to browse the full recovered directory tree, but restricts actual file recovery to a defined number of files per directory/panel operation in a single request — with no cap on the number of separate requests a user can make. Full one-click bulk recovery of a nested directory structure and some professional features (such as unrestricted batch recovery) are reserved for paid licence tiers.
Advantages
- Portable — runs without installation, useful on a technician's USB drive.
- Genuinely cross-platform, including legacy DOS support for older or unusual systems.
- Strong partition-repair and RAID-reconstruction capability relative to most free tools.
Limitations
- Dense, technical interface aimed at users already comfortable with disk internals; not beginner-friendly.
- Free-edition file-count limits per operation for large, deeply nested recoveries.
- Disk-editing features can cause real damage if used carelessly on the wrong target — not a tool for casual, unsupervised use.
Professional applications: DMDE is frequently used by technicians handling RAID arrays, badly corrupted partitions, or cases requiring low-level disk inspection that GUI-only consumer tools do not expose.
6. Mobile Data Recovery: A Completely Different Problem
Everything covered so far applies to conventional computer storage. Smartphones and tablets present a fundamentally different technical and legal environment, and treating "mobile recovery" as a smaller version of "computer recovery" is one of the most common and consequential mistakes a beginner can make.
Why modern smartphones resist ordinary recovery techniques
- Encryption by default. Modern Android and iOS devices apply full-disk and/or file-based encryption automatically from first setup in most current configurations. Even if a deleted file's raw bytes are physically present in flash storage, they are ciphertext without the correct key material — which is normally derived from the user's passcode/biometric enrolment and hardware-backed secrets, not something a generic recovery tool can simply bypass.
- File-based vs full-disk encryption. Android has moved toward file-based encryption, where different files/classes of data can be encrypted with different keys tied to different unlock states (before-first-unlock vs after-first-unlock), adding further complexity beyond a single "encrypted or not" question.
- Secure enclaves / hardware-backed security. Both major mobile platforms rely on dedicated secure hardware (such as Apple's Secure Enclave or Android's hardware-backed keystores) to protect cryptographic keys, deliberately isolating them from the general-purpose operating system a recovery tool would run on.
- Locked devices and authentication. A locked device without a known passcode is, for nearly all free/open-source tooling, simply not accessible for direct data extraction — this is a deliberate security design goal of both platforms, not a software oversight.
- App sandboxing. Applications on both platforms run inside sandboxes that isolate their private data from other apps and, in most cases, from casual inspection even when a device is unlocked, unless a full or advanced logical/physical extraction has been performed through proper acquisition tooling.
- Application databases. Messaging apps, browsers, and most other apps store their data in structured databases (commonly SQLite) inside their sandbox; recovering "a deleted message" in practice often means recovering and parsing database records or write-ahead-log remnants, not finding a discrete deleted file the way one would on a computer.
- Cloud synchronisation. A great deal of what users think of as "on their phone" is actually synchronised with cloud services; deleting something locally may or may not remove a cloud copy, and vice versa — a variable entirely outside the scope of any on-device recovery tool.
- Flash storage and TRIM-equivalent behaviour. Mobile internal storage is NAND-flash based, subject to the same wear-levelling, garbage-collection, and TRIM-equivalent (e.g., Android's periodic
fstrim) dynamics discussed earlier for SSDs — often more aggressively, given constrained storage sizes. - Factory reset. A factory reset on a modern, encrypted smartphone typically discards the encryption keys themselves as part of the reset process. Since the underlying data was encrypted and the key is gone, the practical effect for an ordinary user or investigator is that the data becomes cryptographically unrecoverable, independent of whether the raw ciphertext bytes are still physically present in flash.
7. Free and Open-Source Mobile Forensic Tools
ALEAPP (Android Logs, Events, And Protobuf Parser)
ALEAPP, developed by Alexis Brignoni and released under the MIT licence, is an artifact-parsing and analysis framework for Android. It does not acquire data from a device itself; it takes data that has already been extracted — a full file-system dump, a tar/zip archive, or a directory tree from a prior forensic acquisition — and parses it into structured, human-readable reports covering categories such as application artifacts (installed-app data, chat and browser artifacts), communication records, location-related data, and general system artifacts, presenting results in formats such as HTML and TSV for review, along with timeline output where supported.
iLEAPP (iOS Logs, Events, And Plist Parser)
iLEAPP, from the same developer as ALEAPP and predating it, performs the equivalent artifact-parsing role for iOS and iPadOS. It processes data from a compressed archive, a decompressed extraction directory, or a standard iTunes/Finder-style device backup, and produces structured reports covering application data and numerous iOS-specific system artifacts, with coverage that is actively updated to track new iOS versions as Apple's platform evolves.
Acquisition → Parsing → Analysis → Reporting
This four-stage model is central to understanding where tools like iLEAPP and ALEAPP fit into a mobile forensic workflow:
- Acquisition — obtaining a copy of the device's data (a logical backup, a full file-system extraction, or in rare cases a physical extraction), a step governed by the device's security state and often requiring specialised tooling for locked or newer devices.
- Parsing — converting raw extracted data (databases, plists, logs) into structured, readable records. This is what ALEAPP and iLEAPP do.
- Analysis — an examiner interpreting the parsed artifacts in the context of the investigation's questions.
- Reporting — documenting findings, methodology, and conclusions in a form suitable for review.
Figure 4 — Where artifact parsers fit in the mobile forensic workflow.
Confusing "parsing" with "acquisition" is a common beginner error: iLEAPP and ALEAPP make artifacts already extracted from a device dramatically easier to read and analyse, but they presuppose that the harder, more restricted problem of acquisition has already been solved through an appropriate method for the specific device and its security state.
8. Autopsy
Autopsy is a free, open-source, end-to-end digital forensics platform providing a graphical interface to The Sleuth Kit and other underlying forensic libraries, originally created by Brian Carrier and now developed with Basis Technology/Sleuth Kit Labs. It is licensed under the Apache License 2.0 (earlier versions used the GPL) and runs on Windows, with growing support elsewhere, and is pre-installed on forensic-oriented Linux distributions such as Kali.
Unlike the single-purpose recovery utilities discussed earlier, Autopsy is designed as a case-centred workflow tool. Its core capabilities include:
- Disk-image analysis — ingesting forensic images (raw/dd, E01, and others) rather than working directly against original media.
- File-system analysis — parsing NTFS, FAT, various UNIX/Linux file systems, and others via The Sleuth Kit's underlying engine, including recovery and identification of deleted files within the image.
- Timeline analysis — a graphical view reconstructing chronological system and file activity from timestamps across the image, useful for building an event sequence during an investigation.
- Hash analysis — computing and comparing file hashes against known-good and known-bad hash sets to quickly triage files of interest and exclude routine system files.
- Keyword searching — indexed searching across the contents of an image, including within unallocated space.
- Web-artifact and registry analysis modules — extracting browser history and Windows registry data as part of the broader examination.
- Case management — organising evidence, notes, and findings under a single case, with support for multi-examiner collaboration in recent versions.
- Reporting — generating structured examination reports directly from the platform.
- Modules — an extensible plugin architecture (including third-party and Python modules) that lets Autopsy's functionality grow beyond its built-in feature set.
Where Autopsy fits in a forensic workflow: it is the examination-and-analysis layer that typically sits after acquisition. An examiner first creates a forensically sound, hash-verified image of the original media using a write-blocker; Autopsy then ingests that image (never the original device directly) and provides the tooling to search, recover, timeline, and report on its contents in a documented, repeatable way — which is precisely the workflow that separates forensic examination from casual data recovery.
9. Device-Wise Compatibility Guide
| Device | Typical OS/FS | Recommended Free Tool(s) | Direct Recovery Possible? | Key Limitation |
|---|---|---|---|---|
| Windows PC/Laptop (HDD) | NTFS | Recuva, PhotoRec, Windows File Recovery | Yes, generally | Success drops the longer since deletion / more disk activity since |
| Windows PC/Laptop (SSD) | NTFS | PhotoRec, Windows File Recovery (limited) | Often unreliable | TRIM may have already erased deleted data's physical pages |
| MacBook / iMac (APFS) | APFS | TestDisk/PhotoRec (limited APFS support) | Limited | Complex copy-on-write metadata; disk encryption often enabled by default |
| Linux computer | ext4 | TestDisk, PhotoRec, Autopsy (on an image) | Yes, with caveats | ext4 provides fewer undelete guarantees than NTFS |
| External HDD / USB flash drive | FAT32/exFAT/NTFS | PhotoRec, TestDisk, Windows File Recovery (signature mode) | Yes, generally | Recover to a different drive, never back onto the same medium |
| External SSD | exFAT/NTFS | PhotoRec | Less reliable | TRIM behaviour depends on enclosure/controller and OS support |
| SD card / microSD card | FAT32/exFAT | PhotoRec, TestDisk | Yes, generally | Camera in-body reformatting can vary in how thoroughly it clears structures |
| Digital camera storage | FAT32/exFAT | PhotoRec | Yes, generally | Remove card and image it on a computer rather than continuing to shoot on the camera |
| Android smartphone/tablet | ext4/F2FS, encrypted | ALEAPP (on an extraction) | No — extraction first | Encryption, sandboxing, and lock state gate all access |
| iPhone / iPad | APFS, encrypted | iLEAPP (on a backup/extraction) | No — extraction/backup first | Hardware-backed encryption; locked-device acquisition is highly restricted |
10. Comparison Table
| Tool | Windows | macOS | Linux | HDD | SSD | USB/SD | Android | iPhone | Deleted Files | Partition Recovery | File Carving | Forensic Analysis | Open Source |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PhotoRec | Yes | Yes | Yes | Yes | Limited (TRIM) | Yes | Image only | Image only | Yes | No | Yes | Not by itself | Yes (GPL) |
| TestDisk | Yes | Yes | Yes | Yes | Limited (TRIM) | Yes | Image only | Image only | Some (via FS repair) | Yes | No | Not by itself | Yes (GPL) |
| Recuva (Free) | Yes | No | No | Yes | Limited (TRIM) | Yes | No | No | Yes | No | Limited | No | No |
| Windows File Recovery | Yes | No | No | Yes | Limited (TRIM) | Yes (signature mode) | No | No | Yes | No | Yes (signature mode) | No | No |
| DMDE (Free) | Yes | Yes | Yes | Yes | Limited (TRIM) | Yes | Image only | Image only | Yes (capped per op.) | Yes | Yes | Not by itself | No (shareware) |
| ALEAPP | Yes | Yes | Yes | N/A | N/A | N/A | Analysis only (post-extraction) | No | Parses artifacts, some deleted-data recovery within databases | No | No | Yes | Yes (MIT) |
| iLEAPP | Yes | Yes | Yes | N/A | N/A | N/A | No | Analysis only (post-extraction/backup) | Parses artifacts, some deleted-data recovery within databases | No | No | Yes | Yes (MIT) |
| Autopsy | Yes | Limited | Yes | Via image | Via image | Via image | Via image/extraction | Via image/extraction | Yes (within image) | Analysis only | Yes | Yes | Yes (Apache 2.0) |
11. What Can and Cannot Be Recovered?
Usually easier
- Recently deleted files on an HDD, with little subsequent disk activity.
- Deleted files on USB flash drives and SD cards, which more often use simpler FAT/exFAT structures and lack aggressive TRIM/garbage-collection behaviour.
More difficult
- Formatted drives, where file-system bookkeeping has been rewritten (though underlying data can often still be carved).
- Corrupted file systems, requiring repair or carving rather than straightforward undelete.
- Fragmented files, whose data is scattered non-contiguously and may reassemble incorrectly.
- Partially overwritten files, which may only be partly recoverable.
Extremely difficult or often impossible
- Data on a TRIM-enabled SSD after the TRIM command has been processed and garbage collection has run.
- Data on media that has undergone a genuine secure-erase (multiple-pass overwrite or cryptographic erase).
- Content on encrypted devices without the correct key or credentials.
- Internal data on a modern, locked smartphone without a proper acquisition pathway.
- Data that has been overwritten by substantial subsequent use of the device.
12. Common Myths About Data Recovery
Reality: Ordinary deletion generally removes the file system's references to the data; the underlying bytes commonly persist until overwritten, which is the entire premise data recovery relies on.
Reality: Modern messaging apps store data in encrypted, sandboxed databases with their own internal deletion and backup behaviour. Recovery, where possible at all, depends heavily on database internals, local/cloud backups, and device encryption state — it is far more complicated than recovering a deleted photo from a memory card.
Reality: Acquiring data from a modern, locked smartphone can require specialised forensic capabilities well beyond what free, general-purpose tools provide, and in many cases is not possible at all without proper legal authority and appropriate acquisition methods.
Reality: The outcome depends heavily on the type of format performed, the underlying storage technology, and what happens to the drive afterward — a quick format is very different from a genuine secure wipe.
Reality: Recovery is inherently probabilistic and constrained by the technical factors covered throughout this guide, not a matter of finding a sufficiently powerful tool.
13. Forensically Sound Data-Recovery Workflow
A structured, defensible workflow distinguishes forensic examination from ad hoc recovery:
Figure 5 — The eleven-stage forensically sound recovery workflow.
- Identify — determine what evidence/media is relevant and needs handling.
- Preserve — take immediate steps to prevent alteration (e.g., not powering on/off unnecessarily, avoiding write access).
- Isolate — physically and logically separate the evidence from further network or user interaction (e.g., airplane mode/Faraday isolation for mobile devices, disconnecting from networks).
- Acquire/Image — create a bit-for-bit forensic image of the original media using a hardware or software write-blocker, working from a copy rather than the original wherever feasible.
- Hash — compute a cryptographic hash (SHA-256 as the current standard; MD5 sometimes retained as a legacy/secondary check) of both the original and the image, confirming they match before proceeding.
- Examine — inspect the image's file systems, metadata, and structures using appropriate tools (e.g., Autopsy).
- Recover — apply carving/undelete techniques to the image (never the original) to reconstruct deleted material.
- Analyze — interpret recovered and existing data in the context of the investigation's questions.
- Validate — cross-check findings, where possible with a second method or examiner, for reliability.
- Document — maintain examiner notes recording every action taken, tool version used, and result obtained.
- Report — produce a clear, reproducible account of methodology and findings.
Throughout this process, chain of custody — an unbroken, documented record of who has had possession of and access to the evidence, from seizure through to presentation — must be maintained. Investigators are strongly advised to avoid experimenting directly on original evidence: every interaction with original media carries some risk of unintended alteration, which is precisely why the imaging step exists before any recovery or analysis begins.
14. Example Scenarios
15. Free Forensic Toolkit for Students
Essential
| Tool | What It Does | Where to Obtain | Beginner Difficulty |
|---|---|---|---|
| PhotoRec | File carving/data recovery | cgsecurity.org | Moderate (CLI/ncurses) |
| TestDisk | Partition/boot-sector recovery | cgsecurity.org | Moderate (CLI/ncurses) |
| Autopsy | End-to-end forensic examination platform | sleuthkit.org/autopsy | Moderate to advanced |
| ALEAPP | Android artifact parsing | GitHub (abrignoni/ALEAPP) | Moderate (Python-based) |
| iLEAPP | iOS artifact parsing | GitHub (abrignoni/iLEAPP) | Moderate (Python-based) |
Useful
- Windows File Recovery — Microsoft's own free CLI recovery tool, useful for learning NTFS recovery-mode concepts firsthand. Obtain via the Microsoft Store.
- DMDE (Free Edition) — for exposure to low-level disk-editing and partition-repair concepts beyond what GUI tools show. Obtain via dmde.com.
- Recuva (Free) — useful as a gentle, GUI-based introduction to consumer-grade recovery concepts before moving to more technical tools.
16. Safety and Evidence-Preservation Warnings
- Do not install recovery software onto the very drive or partition you are trying to recover data from.
- Do not save recovered files back onto the same source medium — always recover to a separate drive.
- Minimise unnecessary interaction with evidence; every read/write operation carries some risk of alteration.
- Do not repeatedly power cycle, reboot, or attempt to unlock a seized mobile device without a documented, justified reason — each interaction can alter volatile data or trigger security responses.
- Never modify original evidence directly; always work from a verified forensic image.
- Use write-blockers and forensic imaging tools wherever evidentiary integrity matters, even if the immediate goal seems like "just" data recovery.
- Maintain thorough documentation of every action taken, by whom, and when.
- Verify cryptographic hashes at every meaningful stage to confirm data integrity has been preserved.
17. Free vs Commercial Forensic Software
| Category | Typical Free/Open-Source Capability | Typical Commercial Advantage |
|---|---|---|
| File recovery | Strong (PhotoRec, TestDisk, WinFR) | Often adds GUI convenience, preview, and support |
| Disk imaging | Available (e.g., via Autopsy/associated tools) | Certified, validated imaging workflows for court settings |
| Mobile acquisition | Very limited for locked/modern devices | Specialised commercial mobile forensic platforms may offer acquisition capabilities for a wider range of device states unavailable to free tools |
| Artifact parsing | Strong (ALEAPP, iLEAPP) | Broader unified reporting across data types in one product |
| Timeline analysis | Available (Autopsy) | More advanced visualisation and correlation features |
| Reporting | Functional, built-in | More customisable, polished court-ready templates |
| Technical support | Community-based | Dedicated vendor support and training, often required for lab accreditation |
| Locked-device acquisition | Generally not available | Some specialised commercial platforms offer capabilities here, though these vary by device, OS version, and are not guaranteed for every device |
This comparison is intentionally kept at a high level: specific commercial mobile-forensic platforms vary considerably in what they can and cannot acquire, and their capabilities change frequently as device manufacturers patch security. Students and professionals evaluating a specific commercial product should consult its official, current documentation rather than general claims.
18. Best Software by Purpose
| Situation | Best Free Tool | Why |
|---|---|---|
| Accidentally deleted Windows file | Recuva | Approachable GUI, file preview, fast for common cases |
| Deep file recovery | PhotoRec | File-system-independent carving reaches further into damaged media |
| Lost partition | TestDisk | Purpose-built for partition table/boot-sector repair |
| Windows command-line recovery | Windows File Recovery | Official Microsoft tool with NTFS-aware modes |
| Advanced disk recovery | DMDE | Low-level editor plus partition/RAID tools for complex cases |
| Android forensic artifact analysis | ALEAPP | Purpose-built parser for Android extraction data |
| iPhone/iPad artifact analysis | iLEAPP | Purpose-built parser for iOS backups/extractions |
| Disk-image forensic examination | Autopsy | End-to-end case workflow with timeline, hashing, and reporting |
| SD-card photo recovery | PhotoRec | Strong signature-based recovery for common image formats |
19. Important Technical Limitations
Across every tool discussed in this guide, the same underlying limitations recur, and understanding them matters more than memorising any single tool's feature list:
- Encryption — without valid keys/credentials, recovered ciphertext is not usable data.
- TRIM — proactively erases deleted data's physical location on modern SSDs and mobile flash storage.
- Wear levelling — obscures the simple mapping between logical and physical storage locations that HDD-era recovery techniques assumed.
- Overwriting — the single most fundamental limit on all recovery: once new data occupies a location, the old data is generally gone.
- Fragmentation — complicates carving and can produce incomplete or corrupted recovered files.
- Corrupted file systems — require repair or carving rather than straightforward undelete.
- Hardware failure / bad sectors — a physical problem, not a software one; may require specialised hardware-level recovery entirely outside the scope of the software discussed here.
- Flash translation layers (FTL) — the firmware layer that maps logical addresses to physical NAND cells on SSDs/flash, adding a layer of abstraction that ordinary recovery software cannot see through.
- Secure deletion — purpose-built to defeat recovery through multiple overwrite passes or cryptographic erasure, and generally succeeds at doing so.
- Cloud synchronisation — introduces variables (sync timing, deletion propagation) entirely outside the scope of local recovery tools.
- Application-level encryption — many apps encrypt their own data independent of device-level encryption, adding another layer to work through.
- Device lock states — govern what, if anything, is accessible before, during, and after first unlock on modern mobile platforms.
20. Conclusion
There is no single universal data recovery tool, and any resource that suggests otherwise should be treated with scepticism. The right tool for a given situation depends on the device, its file system, and the specific nature of the failure or deletion — a lost Windows partition calls for TestDisk, a formatted SD card calls for PhotoRec, and a smartphone believed to hold relevant evidence calls for a properly documented acquisition process before any parsing tool like ALEAPP or iLEAPP is ever opened.
Free and open-source tools such as PhotoRec, TestDisk, and Autopsy are, within their scope, genuinely powerful and are used by professionals as well as students and hobbyists. But mobile recovery is not simply a smaller version of computer recovery — it is a fundamentally different technical and legal problem, shaped by encryption, sandboxing, and device security models that are deliberately designed to resist casual data extraction. And recovery itself, however successful, is not the same activity as digital forensic examination: the latter demands preservation, hashing, chain of custody, and a documented, repeatable methodology that recovery alone does not require.
For students building a foundation in this field, the most durable investment is not memorising which button to click in which tool, but understanding the underlying technology — file systems, storage architectures, encryption models, and forensic methodology — well enough to reason about any new tool that comes along. Software changes constantly; the principles in this guide change far more slowly.
Frequently Asked Questions
Is PhotoRec really free, or is there a paid version?
PhotoRec is genuinely free and open-source under the GNU General Public License, with no paid tier or feature restrictions in the software itself.
Can I recover files from a formatted SSD?
It is possible but far less reliable than on an HDD, because TRIM and garbage collection on modern SSDs actively erase the physical remnants of deleted/formatted data, often within a short time.
What is the difference between TestDisk and PhotoRec?
TestDisk repairs partition tables and boot sectors to restore access to an entire lost volume including original filenames; PhotoRec carves individual files directly from raw storage, ignoring the file system, but generally without recovering original filenames or folder structure.
Can free software recover deleted WhatsApp messages?
Not reliably through general-purpose file recovery tools. Messaging-app data lives in encrypted, sandboxed databases, and any recovery would depend on database internals, local/cloud backups, and the device's encryption and lock state.
Does connecting my Android phone to a computer let me recover deleted internal files?
Generally no. Modern Android encryption, sandboxing, and lock states prevent simple USB-connected recovery of internal deleted data without a proper forensic acquisition method.
Is ALEAPP a hacking tool that can unlock phones?
No. ALEAPP is an artifact parser that analyses data already extracted from an Android device by some other acquisition method; it does not bypass locks or encryption itself.
What is file carving?
File carving is a recovery technique that scans raw storage for known file-type signatures (headers and footers) rather than relying on file-system metadata, which allows it to work even on severely damaged or reformatted media.
Why does formatting not always destroy all data?
A typical "quick format" mainly rewrites file-system bookkeeping structures rather than every data sector, so file-carving tools can often still recover content afterward; a genuine secure/low-level wipe is a different and far more destructive process.
Is Autopsy suitable for beginners?
Autopsy has a moderate-to-advanced learning curve because it is a full case-management and examination platform rather than a single-purpose recovery tool, but its guided case wizard and built-in help make it approachable for forensic science students with some preparation.
What is the difference between data recovery and digital forensics?
Data recovery aims to get a user's lost files back; digital forensics aims to preserve, acquire, and examine evidence in a documented, defensible way that can withstand scrutiny, including hashing and chain of custody, which ordinary recovery does not require.
Can Windows File Recovery work on a USB flash drive?
Yes, but only using its signature-mode scanning for non-NTFS volumes such as typical FAT/exFAT-formatted USB drives, since the other modes rely on NTFS-specific structures.
What does TRIM actually do?
TRIM is a command the operating system sends to an SSD identifying blocks that no longer hold needed data, allowing the drive's controller to erase the corresponding physical NAND pages during garbage collection — which is why TRIM makes deleted-file recovery on SSDs far less reliable than on HDDs.
Is DMDE completely free?
DMDE has a free edition with real functionality but caps the number of files recoverable per directory operation and reserves some professional features for paid tiers; it is best described as shareware rather than fully open-source.
Do I need a write-blocker for personal data recovery?
Not for purely personal recovery with no legal or investigative stakes, but a write-blocker and forensic imaging become important the moment the recovery might need to hold up as evidence.
Can iLEAPP recover deleted photos from an iPhone?
iLEAPP analyses data already present in an iOS backup or extraction, including some databases that may retain deleted-record remnants, but it is not a general photo-recovery tool and cannot bypass encryption or acquire data from a locked device itself.
Sources & Further Reading
- CGSecurity — TestDisk & PhotoRec official documentation and downloads: cgsecurity.org
- Microsoft Support — Windows File Recovery official documentation: support.microsoft.com
- DMDE Software — official product, editions, and FAQ pages: dmde.com
- ALEAPP — official repository and documentation: github.com/abrignoni/ALEAPP
- iLEAPP — official repository and documentation: github.com/abrignoni/iLEAPP
- Sleuth Kit Labs / Autopsy — official project site: autopsy.com and sleuthkit.org/autopsy
- Piriform — Recuva official product page (consult current documentation for feature-tier details)
- NIST Computer Forensics Tool Testing (CFTT) Program — for methodology on validating forensic and recovery tools
- SWGDE (Scientific Working Group on Digital Evidence) — best-practice guidance documents on digital evidence handling and chain of custody
- Apple Platform Security documentation — for details on APFS encryption and the Secure Enclave
- Android Open Source Project security documentation — for details on file-based encryption and hardware-backed keystores
Software capabilities, supported platforms, and feature tiers change over time. Readers should verify current specifications against each project's official documentation before relying on them for casework or coursework.

