How to Recover Files from a Formatted Flash Drive on a Windows PC or Mac

💡 This article is written by humans, with all solutions and steps verified.

Formatting a flash drive or pen drive will erase all files on it. Whether it was an accident, you forgot to back up important files, or someone else did it, you'll want to know whether you can recover data from a formatted USB drive. It's possible, whether you are using a Windows PC or a Mac! In this article, we will explain which situations can be recovered and provide detailed steps for your reference.

Table of contents
Formatting Types and Possibility of File Recovery
How to Recover Data from a Formatted USB Drive on a Windows PC
How to Recover USB Data After Formatting on Mac
What Should I Do If Software Solutions Don't Work?
Tips for How to Format a USB Drive Safely
Summary
FAQs

Formatting Types and Possibility of File Recovery

Formatting Types Solutions Data Recovery Success Rate
Quick Format Format your flash drive using the operating system's default method or by typing "format [drive letter]: /Q" at the command prompt. Creating a brand-new file system, making the files within it inaccessible but without erasing their actual contents. Therefore, data recovery after a quick format is feasible and has a high success rate.
Full Format
In Windows, deselect the "Quick Format" option while formatting or use the command without parameters (e.g., "format X").
On Mac, set the security level to "Fast" or higher.
In addition to performing the quick format, it will also write zeros or random data to all sectors to overwrite the existing files and mark bad sectors. Since the new data has overwritten them on your USB drive, restoring them is almost impossible.

To summarize, although the flash drive appears empty after formatting, if you use "Quick Format", the files are still there. It's just that the index information of the files in the file system has been removed, making the operating system unable to find them. Therefore, the following methods can help you regain these files.

Note: Once you discover that important files on the USB drive have been lost due to formatting, please stop using it immediately. Any new data saved to the drive could possibly overwrite the files you want to recover.

How to Recover Data from a Formatted USB Drive on a Windows PC

Though Windows has a built-in backup feature to protect users' important data from being lost, it only works for local hard disks. In consequence, it won’t help if you want to recover files from a flash drive after formatting.

The good news is that data recovery software can do it for you. Nevertheless, when you search for it through Google, you will get millions of results. Some only work for a few limited file formats, some are very expensive, and some can even damage your lost files. If you have never used any such software before, we recommend you try the following two first. Best of all, they are free.

1. iBeesoft Free Data Recovery

It has multiple scanning algorithms and can repair files damaged by formatting. Here is why iBeesoft Free Data Recovery stands out:

Best Free USB Drive Recovery Software
★★★★★ (Trust Score 4.8 by 1597 Users)
Supports over 1000 file types, such as images, videos, music, documents, and archives. It is particularly good at handling RAW photos and videos.
Recovers files lost in virtually all data loss scenarios and storage devices.
A wizard-style interface that allows you to recover files with just a few clicks. Besides, it allows you to preview files before recovery.
Saves scan results automatically, allowing you to perform data recovery at your convenience.

Here are the steps to recover files from a formatted USB drive with iBeesoft Free Data Recovery:

  1. Connect the formatted USB drive or pen drive to your PC.
  2. Download iBeesoft Free Data Recovery from the official website, then install and launch it.
  3. Find your flash drive in the list of connected devices. Hover your mouse over it and click "Scan" when the option appears. If you only need to recover specific file types, such as images, then click "Go to Settings" at the bottom of the page to deselect the other file types.
  4. On the results page, it shows the scanning progress percentage and the number of recoverable files at the top of the window. Once it completes, the software categorizes them into "Deleted Files" and "Other Lost Files". Among them, the files in the latter category are found by their signatures. Consequently, they are sorted by file type and assigned generic names. You can also filter lost files by typing a name or file extension in the search box in the top-right corner.
  5. Once you find the files you wish to restore, select them by checking the boxes next to them. Lastly, click the "Recover" button at the bottom right of the page and choose a save location in the dialog box that appears. Do not choose your USB drive here to avoid overwriting the files to be recovered.

2. Windows File Recovery

This tool was developed by Microsoft, so you don't need to worry that it will damage the data you have lost. Though the biggest drawback of Windows File Recovery is the lack of a graphical interface, you can still use it to recover files from a formatted flash drive with ease by following the steps below.

  1. Open the Microsoft Store and search for Windows File Recovery. Then, click "Install" to install it on your PC.
  2. Launch the tool as an administrator, then type a command similar to the following based on your USB drive's file system type. After that, press Enter.
    NTFS: winfr C: D: /r /n *.png /n *.docx
    FAT or exFAT: winfr C: D: /x /y:png,docx
    C: is the drive letter of the formatted USB drive. D: is the drive letter where data will be saved. The .png and .docx are the file types to be recovered. You can add or remove data types as needed.
  3. Type "Y" to confirm. Once the process is complete, you will be able to find the files lost due to formatting in a folder named as "Recovery_Date".

How to Recover USB Data After Formatting on Mac

If you are a macOS user, we also provide two options for your reference.

1. iBeesoft Free Data Recovery for Mac

Compared with its Windows version, it can save only 500MB of recoverable data for free (usually enough to test the software's performance and recover personal files), but it also offers an additional file backup feature. Thus, even if you encounter the same problem in the future, you won't lose important files. So, we still consider iBeesoft Free Data Recovery for Mac to be one of the best choices. Now let’s look at how easy it is to use the program to recover files from a formatted USB drive on a Mac.

  1. Plug your drive into a USB port on the Mac.
  2. Download and install iBeesoft Free Data Recovery for Mac.
  3. After that, launch it. Select the formatted USB drive from the list of available disks and click "Search for Lost Data." This will start the search for recoverable files. iBeesoft Free Data Recovery for Mac will display results in real time, so you can view them without waiting for the scan to finish. You can also preview the contents of these files by double-clicking.
  4. Once you have found the target files, click the checkbox on the left to select them. Then, click the "Recover" button.
  5. iBeesoft Free Data Recovery for Mac will prompt you to choose a location to save them. Follow the displayed instructions, and you will soon be able to see your lost files.

Tip: The steps above also apply to recovering deleted files on a Mac.

2. PhotoRec

If iBeesoft Free Data Recovery for Mac isn't right for you, or if you prefer a completely free program, then PhotoRec is worth a try. Don't be misled by its name. It can also recover almost all file types.

  1. Press "Cmd" and the Space button. Then type "Terminal" to find and open it.
  2. Type the following command and press Enter to install Homebrew. This is a package manager that can always keep PhotoRec up to the latest version. If you don't think it's necessary, you can also download the macOS version directly from the official PhotoRec site.
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  3. After the installation is complete, type "brew install testdisk" and press Enter to install PhotoRec.
  4. Type "sudo photorec" and press Enter to launch the program.
  5. You should see a list of media in the main window of PhotoRec. Use the "Up" and "Down" arrow keys to select your USB drive, then select "Proceed".
  6. Select "No partition," then "Search" afterward. If you had only formatted a specific partition on the USB drive, select the corresponding one here.
  7. Select the corresponding file system for your USB drive. In most cases, PhotoRec will automatically detect its file system, so it’s OK to select the default option.
  8. Select "Whole." Compared with "Free", the scanning speed is slower, but it will find more files.
  9. Select a location to save the recovered files. After confirming the recovery process, press "C". PhotoRec will then display the number of recovered files. Once it finishes, you can open the folder to view them.

These are our recommended programs for recovering files from a formatted flash drive on Windows and Mac. If you haven't found a satisfactory option or want to learn more, here are 15 free USB recovery software options for your reference.

What Should I Do If Software Solutions Don't Work?

In certain situations, such as when the USB drive controller is damaged after formatting, even software programs with state-of-the-art algorithms, like iBeesoft Free Data Recovery, may not be able to recover your data. If you’re in that situation, your last resort is to contact a professional data recovery service.

Unlike software solutions, they will use specialized equipment to access the storage chips directly and retrieve the files there. Although such services come at a high price, they offer detailed assessment reports to help you make your final decision.

Tips for How to Format a USB Drive Safely

Although the above solutions can be helpful in case of problems, formatting your flash drive correctly can prevent data loss. Therefore, we suggest following the tips below.

Summary

As we have demonstrated, as long as you are using the "Quick Format", it is still possible to recover data from the formatted USB drive. Since most users do not proactively back up these files, software solutions offer the best approach. Therefore, we highly recommend iBeesoft Free Data Recovery for this purpose, as it delivers professional performance and supports both Windows and macOS.

FAQs

iBeesoft only uses cookies to ensure you have the best browsing experience and does not collect any information.