After a format
Can you recover files after formatting an SD card or USB drive?
Often, yes, if it was a quick format and nothing much was written to the card since. Not if it was a full format that overwrote the card.
Quick format vs full format
| Quick format | Full format | |
|---|---|---|
| What it writes | New, empty file system tables | New tables, and zeros over the whole card or drive |
| Old files | Still on the card until reused | Gone |
| Time | A few seconds | Minutes to hours, depending on size |
| Recovery | Often possible by content (deep scan) | Not possible |
- Windows: "Quick Format" ticked (the default) is a quick format. Unticked, Windows writes zeros over the volume.
- Cameras: the normal "Format" is usually quick. A "low-level" or "full" format overwrites.
- Mac Disk Utility, Android, other devices: usually quick. Some devices or cards also erase the free space by themselves as part of a format, and then nothing is left to find.
If the format took a few seconds, it was almost certainly quick.
What comes back after a quick format
A quick format replaces the table of contents, so the old file names and folders are mostly gone. Two things can still work:
- Leftover folders. A quick format does not always reach every old folder. Unerased lists files found in folders left from before the format, and saves folders whose own name was lost as "Lost folder".
- Deep scan. It reads the whole card looking for the start and end of photos, videos, audio and PDFs. Files found this way have no name or folder, and fragmented ones may come back damaged.
If the card was reformatted with a different file system (FAT32 to exFAT, for example), the new tables cover a different area, but the bulk of the old data is still there for a deep scan.
Your best odds
- Stop using the card right after the format. Taking new photos on a freshly formatted card overwrites the old ones from the start of the card forward.
- Scan it with a tool that reads the card directly, from a phone with a card reader or from a computer.
- Save what you find to another place.
A drive that asks to be formatted
If you have not formatted it yet and the device is asking you to, do not. The files are likely still there. See SD card shows empty or asks to format.