TestDisk logo

TestDisk

Free, open‑source data recovery via command line

About TestDisk

TestDisk is a powerful, free data recovery software. It helps recover lost partitions and make non‑booting disks bootable again when these issues are caused by faulty software, certain types of viruses, or human error. Using a precise command‑line interface, TestDisk can fix partition tables, recover deleted partitions, rebuild NTFS/FAT boot sectors, and undelete files from common filesystems.

General strengths:

  • Recovers lost and deleted partitions with guided Analyse, Quick Search, and Deeper Search.
  • Rebuilds NTFS/FAT boot sectors and fixes FAT tables to restore bootability.
  • Undeletes files from FAT, exFAT, NTFS, and ext2 filesystems efficiently.
  • Portable, runs without installation to avoid data overwrites on damaged disks.
  • Copies files from deleted partitions when full restoration isn’t possible.
  • Actively maintained and used by professionals, under the GNU GPL license.
  • Open‑source and trusted globally for precise command‑line recovery.

Who is TestDisk for?

  • System administrators: Restore corrupted partition tables and recover access after outages.
  • IT support and repair shops: Perform onsite recovery of lost partitions and copy critical files.
  • Forensics and data specialists: Inspect disk structures and repair metadata safely.
  • Everyday users: Recover accidentally deleted partitions and undelete files.

Technical highlights:

  • Runs on Windows, macOS, Linux, FreeBSD, and more.
  • Command‑line interface provides precise control during recovery operations.
  • Supports FAT, exFAT, NTFS, ext2/3/4, HFS+, APFS, and other filesystems.
  • Can locate ext backup superblocks and repair NTFS MFT using the MFT mirror.
  • Documentation and examples available to guide step‑by‑step recovery.

To download TestDisk, visit the download page or the main page.

TestDisk · testdisk.cc · Free, open‑source data recovery via CLI. All rights reserved.