Data RecoveryReview

TestDisk Review 2026: We Deleted Files and a Partition to See What Comes Back

  • 8 min read
  • Updated
  • Prices checked Dec 3, 2026
On this page

TestDisk

Best free partition recovery

6.4/10

Our verdict

TestDisk is the free tool to reach for when a partition has disappeared or files were deleted a moment ago. In our test it brought back 20 of 20 deleted files on NTFS, FAT32 and exFAT with their original names and folders, and copied every file off a deleted partition without writing a single byte to the disk.

It is not a general recovery tool. Once new data lands on the drive, its undelete list shrinks fast: after we wrote 60 MB of new files, TestDisk found no deleted files at all, while PhotoRec, its companion, still carved half of them out without names. The text interface and the Write command also leave room for mistakes.

It ranks #1 in our partition recovery guide.

Key takeaways

  • Free and open source (GPL v2+), portable, no recovery limit.
  • Undeletes files with their names on FAT, exFAT, NTFS and ext2. It does not undelete on ext3 or ext4.
  • In our test: 20/20 deleted files back with names on each of NTFS, FAT32 and exFAT; PhotoRec found 9 to 10 of the same 20, without names.
  • It can copy files off a lost partition without changing the disk, so you can save your data before you try a repair.
  • Speed matters: after 1 MB of new data we got 12 of 20 files back intact, after 60 MB none.
  • PriceFree
  • PlatformsWindows, macOS, Linux, FreeBSD, DOS
  • Our rankings#1 in Partition Recovery Software

Download from cgsecurity.org for TestDisk Facts checked Dec 1, 2026

TestDisk at a glance

DeveloperCGSecurity (Christophe Grenier)
Latest version7.2 (February 29, 2024)
PriceFree
Free versionFree and open source (GPL), no limits
PlatformsWindows, macOS, Linux, FreeBSD, DOS
InterfaceText menus (keyboard)
File systemsNTFS, FAT12/16/32, exFAT, ext2/3/4, HFS+, Btrfs, XFS and more; MBR, GPT, Apple and other partition maps
DevicesHard drives, SSDs, USB drives, memory cards, disk images
LicenseGPL v2+
UndeleteFAT, exFAT, NTFS, ext2
Copy from a lost partitionFAT, exFAT, NTFS, ext2/ext3/ext4
Partition searchNTFS, FAT, exFAT, HFS+, APFS, ext2/3/4, Btrfs, XFS, LVM and more
InstallationNone: portable, unpack and run
PreviewNo content preview; lists names, sizes and dates
Writes to the diskOnly when you choose Write or a boot sector repair

Facts from the developer's own pages, checked December 1, 2026. See sources.

Key features

  • Partition recovery: Quick Search and Deeper Search find deleted or lost partitions on MBR and GPT disks, and Write saves a rebuilt partition table.
  • Undelete: lists deleted files on FAT, exFAT, NTFS and ext2 with their names, folders, sizes and dates, and copies them to another drive.
  • Copy from a lost partition: press P on a found partition to browse it and copy files out, without writing a new partition table.
  • Boot sector and file table repair: rebuilds FAT and NTFS boot sectors or restores them from the backup copy, fixes FAT tables and repairs the NTFS MFT from its mirror.
  • Linux helpers: locates ext2/ext3/ext4 backup superblocks.
  • Platforms: Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD, SunOS and DOS; also works on disk images.

Our score: 6.4/10

Each tool gets a score out of 10, weighted across five criteria. Scores are researched, not tested: they come from vendor documentation, official product pages and free versions we checked, not from our own lab recovery runs, so they show fit for the job, not a recovery success rate. How we score

  • Recovery coverage25% 8.0

    Found the lost partitions in all five of our partition tests and undeleted 20 of 20 fresh files with names on NTFS, FAT32 and exFAT. Undelete covers only FAT, exFAT, NTFS and ext2, and fails once new data is written.

  • Safety for the source drive20% 7.0

    Scanning and copying are read-only, and works on disk images. Write and boot sector repairs change the disk, and a wrong choice can make things worse.

  • Preview and file selection20% 4.0

    Lists names, folders, sizes and dates, with deleted files marked, but no content preview and no warning for files that were already overwritten.

  • Ease of use20% 3.5

    Text menus with cylinder/head/sector values; harder than PhotoRec for beginners.

  • Free version and price15% 10.0

    Free and open source with no limits.

TestDisk pricing

TestDisk is free. It is open source under the GNU GPL v2 or later and ships together with PhotoRec from cgsecurity.org.

The download is portable: unpack the archive and run it. There is no paid edition, no trial and no limit on how much you can copy. The current stable release is 7.2 (February 2024); a 7.3 work-in-progress build is also offered for testing.

What TestDisk actually does

TestDisk does two different jobs. The first is repair: it looks for partitions that are no longer in the partition table, and it can rebuild a damaged boot sector or file table. This is the part most guides talk about, and the part we already tested on five disk images in our partition recovery guide.

The second job gets less attention. TestDisk can read a file system directly and show what is still in it, including files that were deleted. Because it reads the file system, files come back with their names, folders and dates. That is the opposite of PhotoRec, which ignores the file system and finds files by their content, so it keeps working after a format but loses every name.

This review is about that second job. We asked four questions: does undelete really keep names, how does it compare with PhotoRec on the same disk, can you get files off a lost partition without risking the disk, and how quickly does the chance of recovery drop once you keep using the drive.

Test 1 and 2: undelete versus PhotoRec on the same disks

We built three 256 MB disk images, one each with NTFS, FAT32 and exFAT, and copied the same 80 files onto each: photos, CSV reports, text notes and random binary archives, 54 MB in total. Then we deleted 20 files from each image (5 of each kind) and wrote nothing else. Every result below is checked against SHA-256 hashes of the originals.

On NTFS, Advanced > Undelete shows one flat list of deleted files with full paths. On FAT32 and exFAT it opens a folder browser and shows deleted files in red between the live ones. On all three, we selected the files and copied them to another drive.

  • TestDisk 7.2, NTFS: 20 of 20 files back, all with original names and folders, all byte-for-byte intact.
  • TestDisk 7.2, FAT32: 20 of 20, including full long file names.
  • TestDisk 7.2, exFAT: 20 of 20. The partition is labelled "HPFS - NTFS" in the list, which is confusing but harmless.
  • PhotoRec 7.2, same images: 10, 9 and 10 of 20, all renamed to numbers such as f0098880.jpg. It found the photos and most CSV files; it missed the text notes and never found the random binary files, which have no recognisable signature.
TestDisk 7.2 Undelete list on NTFS showing deleted files with full paths, dates and sizes
NTFS: deleted files listed with full paths (our test, Dec 2026) · Captured Dec 2026
  • TestDisk 7.2 folder view on FAT32 with deleted photos shown in red
    FAT32: deleted photos shown in red among live files · Captured Dec 2026

These are small, freshly deleted test images, the best case for undelete. Real drives that kept running after the deletion give weaker results; see Test 4.

Test 3: copying files off a lost partition without touching the disk

Most TestDisk guides end with the Write command, which saves a new partition table. That is the step that can make things worse if TestDisk picked the wrong partition. We wanted to know if you can skip it.

We deleted the only partition from the NTFS image's partition table. Analyse > Quick Search found it again in seconds, with its label. Instead of Write, we pressed P to list its files, a to select all and C to copy them to another drive.

TestDisk reported "Copy done! 60 ok, 0 failed". All 60 files still on the partition came back with names and folders and matched the originals. The SHA-256 hash of the whole disk image was identical before and after, so nothing was written to it.

TestDisk 7.2 Quick Search result showing the deleted NTFS partition labelled Work
Quick Search finds the deleted partition · Captured Dec 2026
  • TestDisk 7.2 file list of the lost partition after copying, showing Copy done 60 ok 0 failed
    Files copied straight from the lost partition, no Write needed · Captured Dec 2026

Our advice: copy your files off first, then decide whether to write the partition table.

Test 4: what happens when you keep using the drive

We took the NTFS image with 20 deleted files and wrote new data to it, as you would by carrying on working, installing a recovery tool on the same drive or letting a download finish. We tried three amounts and ran Undelete after each.

  • 5 small files, about 1 MB: the list shrank from 20 to 14 entries, because NTFS reused six file records for the new files and folder. Twelve files came back intact. Two more were listed and copied without any warning, but their content had already been overwritten.
  • 60 files, 60 MB (disk 41% full): "No deleted file found." Not one name was left. PhotoRec on the same image still carved 10 of 20 files, without names.
  • Disk filled to 100%: nothing for either tool.
TestDisk 7.2 Undelete list on NTFS showing 14 of 20 deleted files after 1 MB of new data
After 1 MB of new data: 14 of 20 files still listed · Captured Dec 2026
  • TestDisk 7.2 Undelete screen saying No deleted file found
    After 60 MB of new data: nothing left to undelete · Captured Dec 2026

Two lessons. Stop using the drive the moment you notice the loss. And a name in TestDisk's list is not a promise: open every recovered file before you delete anything else.

How to undelete files with TestDisk, step by step

These are the steps we used in our test. They are the same on Windows, macOS and Linux.

  1. Stop using the drive. Do not install anything on it. If it is failing, make a disk image first and work on the image.
  2. Download TestDisk & PhotoRec from cgsecurity.org and unpack it on a different drive. On Linux and macOS run testdisk with administrator rights.
  3. Create a log when asked, select the drive and press Enter on Proceed. Accept the partition table type TestDisk suggests (Intel for MBR, EFI GPT for GPT).
  4. For deleted files: choose Advanced, select the partition and choose Undelete.
  5. For a missing partition: choose Analyse, then Quick Search. When the partition appears, press P to list its files instead of writing anything.
  6. Select the files: : selects one file, a selects all.
  7. Press C and choose a destination on another drive, then press C again to confirm.
  8. Check the copies before you use the drive again. Only then, and only if you still need the partition back, consider Write.

How we evaluated TestDisk

This review combines the developer's documentation, our own hands-on tests and user reports. We read the TestDisk and download pages on cgsecurity.org on 3 December 2026 and checked every feature claim against them.

We ran TestDisk 7.2 and PhotoRec 7.2 on Linux, on 256 MB MBR disk images with NTFS, FAT32 and exFAT, each holding the same 80 files (54 MB). We checked every recovered file against SHA-256 hashes of the originals and hashed the whole image before and after the lost-partition test. Partition repair itself (deleted MBR and GPT partitions, a wiped GPT, a damaged boot sector) is covered by our earlier five-image test in the partition recovery guide.

Small test images are a best case. Large drives, fragmented files and drives that were used after the loss give weaker results. User experience comes from Reddit threads; we mark any source connected to a vendor.

Our methodology

What users report

We only repeat points that at least two independent users report on Reddit, or that one user reports and our own test or the developer's documentation confirms. None of the sources below is connected to the developer.

When TestDisk is the wrong tool

  • You want a preview and a point-and-click interface. TestDisk shows names and sizes but never the content. A graphical tool with preview, such as Disk Drill, is easier when you need to pick a few files.
  • The drive was fully formatted, or it is an SSD. A full format overwrites the old file system, and TRIM on SSDs wipes deleted blocks. Undelete has nothing to read; try PhotoRec or accept that the data may be gone.
  • The files were on ext3 or ext4. TestDisk undeletes only on FAT, exFAT, NTFS and ext2. On ext4 use PhotoRec or an ext4-specific tool.
  • You kept using the drive for a while. In our test 60 MB of new data was enough to empty the undelete list. File carving may still find some files without names.
  • The drive clicks, disconnects or is not detected. No software fixes a hardware fault. Stop using it and contact a recovery lab.

TestDisk compared with other recovery tools

SoftwareScorePriceFree versionPlatformsInterface
TestDisk 6.4/10 Free Free and open source (GPL), no limits Windows, macOS, Linux, FreeBSD, DOS Text menus (keyboard)
Disk Drill 8.7/10 From $89/yr Windows: Recover up to 100 MB free (Disk Drill Basic); Mac: Scan and preview free; recovery free only for files protected by Recovery Vault Windows, macOS Graphical
PhotoRec 6.4/10 Free Free and open source (GPL v2+), no recovery limit Windows, macOS, Linux, FreeBSD Text-based
Hetman Partition Recovery — See vendor site Free scan and preview; saving files needs a license Windows Graphical
Recuva 6.6/10 From $24.95/yr Free version for home use Windows 10, 8.1, 7, Vista, XP Graphical wizard

Prices and limits from each developer's site, re-checked monthly.

TestDisk alternatives

Disk Drill

A point-and-click tool for Windows and Mac with preview and drive imaging. Paid, with a small free allowance on Windows.

Disk Drill in our data recovery guide

PhotoRec

TestDisk's free companion. Use it when the file system is gone, after a format or when Undelete shows nothing; files come back without names.

Our PhotoRec review

Hetman Partition Recovery

A Windows tool with a graphical interface and preview for lost partitions and deleted files. The scan and preview are free; saving files needs a license.

Hetman Partition Recovery in our partition guide

Recuva

A free, simple wizard for recently deleted files on a healthy Windows drive.

Recuva in our data recovery guide

Where TestDisk ranks in our guides

Final verdict: is TestDisk worth it?

TestDisk is the best first step when a partition vanished or you deleted files a moment ago on FAT, exFAT or NTFS. It costs nothing, keeps file names, and lets you copy everything off before you change anything on the disk.

Act quickly and stay away from Write until your files are safe. If the drive was formatted, is an SSD, or has been used since the loss, go straight to PhotoRec or a tool with deep scan and preview.

Choose it if: a partition disappeared, or files were just deleted from an NTFS, FAT or exFAT drive, and you want them back with their names for free.

Skip it if: you need a preview or a graphical interface, the drive was fully formatted or is an SSD, or the files were on ext4.

TestDisk FAQ

Is TestDisk free?

Yes. TestDisk is open source under the GNU GPL v2 or later, according to the developer's documentation. There is no paid edition and no limit.

Can TestDisk recover deleted files, or only partitions?

Both. Advanced > Undelete recovers deleted files with their names on FAT, exFAT, NTFS and ext2. In our test it recovered 20 of 20 freshly deleted files on each of NTFS, FAT32 and exFAT.

Is TestDisk safe to use?

Scanning and copying files are read-only; in our lost-partition test the disk image was unchanged afterwards. Changes happen only when you choose Write or a boot sector repair. Copy your files to another drive before you write anything.

TestDisk or PhotoRec: which should I use first?

TestDisk, if the file system is still there: it keeps names and folders. In our test it recovered 20 of 20 files where PhotoRec found 9 or 10 without names. Use PhotoRec when TestDisk finds nothing, for example after a format.

Does TestDisk work on SSDs?

It runs on SSDs, but if TRIM is active, deleted blocks are usually wiped within seconds or minutes, and no software can bring them back.

Does TestDisk run on a Mac?

Yes. The developer lists Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD, SunOS and DOS. On a Mac you run it from Terminal with administrator rights.

Sources

Research by the SafeDataRecovery team. Links to vendors are ordinary links, not affiliate links, and prices are re-checked every month. Spotted an error? Write to [email protected]. How we research.