Stay up to date with AI tools, model releases, and developer workflows that matter.
Weekly. Free. One click to leave.
7 Day Free Trial. Cancel Anytime.
For photographers, videographers and content creators, an SD card is more than a storage device. It holds the raw material behind a finished project: wedding photographs, travel footage, product demos and drone recordings that may be impossible to recreate. Data loss can happen at almost any stage of that workflow, from a folder deleted to make space to a card formatted before the footage was backed up.
This article explains why files on a card become unavailable, what to do in the first minutes, how recovery tools find data, and how to compare options. It includes a small Python example that recovers JPEG files from a disk image, so you can see the mechanism for yourself. It also compares free open-source tools with paid graphical ones, using criteria you can apply yourself. Recovery is never guaranteed, and tool features change, so confirm details against each vendorโs current documentation. (Related: How to train a newly introduced language model from scr...)
Recovery is not just a matter of finding a deleted filename. Several different problems can make files unavailable, and they call for different approaches. (Related: How to generate text: using different decoding methods ...)
These steps cannot guarantee recovery, but they reduce avoidable risk.
Most tools combine two methods, and understanding them helps you read scan results.
According to recent reports, carving has a cost. Because file system information is ignored, names and folder structure are usually lost, which is why scan results often show generic names. Fragmented files can also be recovered incomplete, since the tool assumes the pieces are stored one after another. Free tools build on these same ideas. Wondershare Recoverit V15, which also offers a free version for Windows and Mac, adds a graphical interface, while PhotoRec and ddrescue stay closer to the command line.
The script below is a teaching sketch, not a recovery product. It reads a raw disk image, finds JPEG start markers, and writes out the bytes up to the last end marker before the next start. That detail matters because a JPEG can contain an embedded thumbnail with its own markers, so stopping at the first end marker would cut a file short.
A short test builds two real JPEGs, hides them in random bytes, and checks that both are carved and open as valid images:.
Use it on an image rather than the card itself. On Linux you can make one with a read-only copy, for example with the GNU ddrescue tool, which is designed to copy data from failing media. Then run the carver against the image and save the output to a different drive. Real tools handle many more formats, trim files using header information, and deal with video containers, so treat this as a way to understand the idea.
In a recent development, the right choice depends on the problem, your platform and how comfortable you are with the command line. The table summarizes what each projectโs own documentation states.
The order of steps matters more than the choice of tool. A cautious workflow on Linux or macOS looks like this:.
Graphical tools follow the same logic and mainly change step 3, with thumbnails, filters and search that make large result sets easier to browse. Whether that is worth paying for depends on how many files you need to sift through and how comfortable you are on the command line. When comparing any tool, ask:.
Recent findings suggest that features such as search by capture time, folder or AI-based tagging depend on metadata surviving the loss, and they narrow results without proving a file is intact. Treat them as convenience, not verification.
In a recent development, recovering a video file does not necessarily mean recovering a playable video. A recording interrupted during writing can lack the structural information a player needs, and other files may be damaged in ways that block playback.
Recent findings suggest that the distinction matters. Recovery retrieves missing or inaccessible data, while repair tries to fix damage that affects a fileโs usability. Some cases need one, the other or both. Repair has limits too: if essential video data was overwritten or never recorded, software cannot recreate the original footage in full. After any recovery or repair, play the file all the way through and compare it with what you expect.
For a quick check of a recovered clip, ffprobe can show whether the container is readable:.
An error or a missing duration suggests the file needs repair or is incomplete.
Often yes, if nothing has overwritten them. Stop using the card immediately and scan it or an image of it.
In a recent development, not before recovery. Formatting changes file system structures and may make recovery harder.
It has been revealed that recovery retrieves missing data. Repair fixes a file that exists but will not open or play correctly.
Not always. PhotoRec and TestDisk are free and open source, while paid tools add a graphical interface and extras such as previews, filtering and video repair.
On a different drive from the card. Saving to the same card can overwrite data you still want.
It has been revealed that SD card data loss creates two related challenges: getting files back, and working out which recovered files are useful. Stopping use of the card, working on an image and understanding the difference between file system recovery, carving and repair put you in a better position, whichever tool you choose. Graphical tools aim to make large result sets easier to navigate, and free tools such as PhotoRec and TestDisk remain solid options. Try your chosen tool on a copy first, verify what you recover, and keep a backup so you do not need to do this again.
7 Day Free Trial. Cancel Anytime.
