# testdisk
> Undelete files from FAT, exFAT, NTFS, ext2 and recover deleted partitions

## Summary
Data recovery tool that undeletes files and recovers lost partitions across multiple filesystem types

## Capabilities
- Undelete files from FAT, exFAT, NTFS, ext2
- Fix and recover partition tables
- Recover deleted partitions
- Rebuild boot sectors
- Cross-platform support

## When to Use
- When you need to recover deleted files or partitions
- When you need to fix a corrupted partition table

## When NOT to Use
- When dealing with encrypted drives without the key

## Related Tools
- [extundelete](/tools/extundelete) (complementary)
- [undelete-btrfs](/tools/undelete-btrfs) (complementary)

---
Source: https://littlescripts.sh/tools/testdisk
