How to Format an SD Card Without Losing Data

Profile David M. Profile Yevgeniy T.
 and 

Last update:

1256

It’s not just brand-new SD cards that may require formatting. Sometimes, SD cards that have been used previously and currently contain important files also need to be formatted for various reasons. In such cases, it’s necessary to know how to format an SD card without losing data. In this article, we explain the steps you need to follow to achieve formatting success and avoid formatting-caused data loss.

Why Do SD Cards Need to Be Formatted?

When you buy a new SD card, it’s usually already formatted and ready to use, so why would you want to format it again after using it for a while? Well, there are several good reasons why, and we bet that you’re reading this article because one of them applies to you.

You Want to Delete Data in Bulk

Formatting is a great way to erase data in bulk because it always involves the complete recreation of the file allocation table (FAT), which is basically your SD card’s table of contents. With a new, empty FAT, your SD card will appear as if it were brand new, allowing you to take advantage of all of its storage capacity again.

Since it takes just a moment to recreate the FAT, it’s often faster to do that instead of selecting all files stored on the SD card and deleting them manually. This is particularly true, if your SD card contains a huge quantity of tiny files, whose manual deletion could take quite a while.

Note: The term file allocation table (FAT) applies only to the FAT32 file system. Other file systems use different methods of managing files.

You Need to Fix Errors

SD cards can become corrupted or otherwise logically damaged over time and trigger errors like:

  • X:\ is not accessible. The file or directory is corrupted and unreadable.
  • You need to format the disk in drive X: before you can use it.
  • Please insert a disk into Removable Disk (X:).
  • The type of the file system is RAW.

The underlying issues behind these and other similar errors can make it impossible to access the contents of your SD card. Instead of trying to repair the SD card without losing data using complicated third-party tools like Victoria SSD/HDD, it’s almost always faster, easier, and safer to format it instead. But what if you don’t want to lose the data that is currently stored on the problematic SD card? Then you need to continue reading this article for a step-by-step guide.

You Need to Change the File System

A file system is basically a method for organizing and storing data on an SD card. Multiple such methods have been created over the years, with FAT32 still being the most popular and widely supported file system for use with SD cards. However, the FAT32 file system has some serious limitations, such as the fact that it doesn’t support files larger than 4 GB.

If your SD card is currently formatted with FAT32 and you want to store huge files on it or use it with some device that doesn’t support FAT32, then you need to reformat the SD card without losing data. We recommend you use exFAT to store large files, FAT for maximum compatibility with legacy devices, and NTFS for use with the Windows operating system.

What Happens When You Format an SD Card?

When you format an SD card, you set up the necessary structures to store and organize files on the card, also known as the file system, while simultaneously deleting any existing structures.

Does formatting an SD card wipe it? Well, it depends on what wiping means to you. If it means freeing up storage space for use, then the answer is always yes. But if it means physically erasing the contents of your SD card, then the answer is usually no.

You see, the most commonly used formatting method, called Quick format, doesn’t overwrite the formatted device, and that’s why it’s possible to recover data from a formatted SD card using specialized software.

However, Full or Secure format, will overwrite the entire SD card with zeros or random data, which is why you should avoid formatting SD cards with these methods unless you’re completely sure what you’re doing.

How to Format an SD Card Without Losing Data

Now that we’ve covered why you might need to format an SD card without losing data, let’s bite into the meat of this article and explain the steps you need to follow to achieve the objective.

Step 1: Back Up Your SD Card Before Formatting

There are many different ways to back up SD card data. The simplest one is to copy all files from the SD card to a safe location using File Explorer, but this approach has one potentially fatal flaw: it won’t help you back up a logically damaged SD card that triggers error messages or isn’t listed in File Explorer at all. Additionally, File Explorer can’t back up files that have been deleted from the SD card but are still physically present on it.

To back up a problematic SD card and preserve the ability to retrieved erased files in the future by performing SD recovery, we recommend you create an exact copy of your SD card that includes all deleted or hidden files using a dedicated imaging tool. As a nice bonus, the entire contents of your SD card will be neatly packaged into a single image file, making it easy to keep your backups organized.

For the purposes of this article, we will describe two tools that have performed particularly well in our in-depth software reviews: Disk Drill and DiskGenius.

sd
Both Disk Drill and DiskGenius are popular data recovery applications that include backup functionality as a free bonus. To see detailed information on how they differ from each other, we recommend you use our software comparison tool. You can also give our interactive software picker a try to find more great tools based on your personal preferences.

Option A: Disk Drill

disk drill windows iconDisk Drill is an excellent choice for formatting a memory card without losing data because the application can recognize all file systems supported by the Windows operating system (NTFS, FAT32, exFAT). It can also back up RAW SD cards that don’t have any functional file system as a result of corruption or some other logical damage.

Disk Drill’s Drive Backup feature is a free extra, and it turns any SD card into either a .dmg or .iso image. By default, the Drive Backup feature creates a complete byte-to-byte backup image of the entire storage device, but you can also back up only a specific portion.

To this date, Disk Drill is the only software that has received a perfect usability score from us. Indeed, the application is polished to perfection, and even complete technophobes have no trouble taking full advantage of its backup feature as well as its data recovery capabilities, which include impressive support for over file formats, including RAW photos and videos. This allows you to recover formatted SD cards and their images regardless of what data they contain.

To create a complete backup image of your SD card using Disk Drill:

  1. Download the latest version of Disk Drill from its official website and then launch the downloaded installer. Follow the prompts to install the application on your system drive. disk drill install start
  2. Launch Disk Drill and choose the Drive Backup tool from the left pane.
  3. Select your SD card from the list of available storage devices.
  4. Click the blue Byte-to-Byte Backup button in the top-left corner of the user interface to initiate the backup process.disk drill sd card backup
  5. Click the three horizontal dots next to Path and specify the location where Disk Drill should store the SD card backup image.
  6. Start the backup process by clicking OK. Be patient and wait until your SD card is completely backed up.disk drill backup settings

Option B: DiskGenius

diskgenius iconDiskGenius is another highly-rated data recovery software with impressive data backup capabilities. While not nearly as pleasant to use as Disk Drill, its partition backup feature stands out with its ability to create both full backups and incremental backups.

Because DiskGenius doubles as a disk management tool, you can also use it to format your SD card. The NTFS, FAT32, exFAT, and ext2/3/4 file systems are all supported, and the tool even gives you the option to perform a surface scan after formatting, which can be useful when performing a corrupted SD card recovery.

In terms of data recovery capabilities, DiskGenius can achieve above-average results, but its limited support for RAW photo and especially video file formats leaves a lot to be desired. What’s also limited is the size of files that can be recovered for free (only up to 64 KB).

To back up your SD card into an image using DiskGenius, you need to:

  1. Download the latest version of DiskGenius from its official website and install it on your system drive.
  2. Launch DiskGenius and select the SD card you want to back up.
  3. Click the Backup Partition button in the top toolbar.diskgenius backup sd card
  4. Make sure that the Full Backup option is selected to create a complete image of the SD card.
  5. Click on Select Image File button and specify the location where DiskGenius should save the backup image.
  6. Click the Start button to begin the backup process. The time required to create the backup image will depend on the size and speed of the SD card.diskgenius sd card backup

Step 2: Format Your Memory Card

Now that the entire contents of your SD card is backed up into a handy image, you can go ahead and format it using one of the four methods described below:

  1. In most cases, Option A is the right choice, and you might already be familiar with it if you’ve ever formatted a storage device.
  2. SD cards that are not working correctly are sometimes not displayed in File Explorer despite being recognized by the operating system, and that’s where Option B come in.
  3. If your SD card is larger than 32 GB, then you should use Option C to avoid the limitation imposed by Windows.
  4. Option D is for those who prefer the Command Line to graphical solutions.
Note: The instructions below assume that your SD card is connected to your computer.

Option A: Format the SD Card in File Explorer

The Windows operating system provides a quick & easy way to format any memory card directly from File Explorer. We recommend you use this method if your SD card is working correctly and is up to 32 GB large.

To format an SD card in File Explorer:

  1. Launch File Explorer.
  2. Select This PC in the left pane.
  3. Right-click your SD card.
  4. Choose the Format option.
  5. Specify the desired file system (FAT32 is the best choice in most cases), name the SD card, and click Start.format sd card

You can select the Quick Format option to save time by only recreating the file allocation table instead of also zeroing the entire SD card.

Option B: Format the SD Card Using Disk Management

Aimed at system administrators and power users, the Disk Management tool in Windows provides a detailed overview of all attached storage devices and their partitions while giving you the option to format them. The biggest advantage of this tool is the fact that, unlike File Explorer, it lists even RAW SD cards with no file system.

To format your SD card using the Disk Management tool:

  1. Press the Windows key + X on your keyboard and click the Disk Management option.
  2. Locate your SD card and right-click it.
  3. Select the Format option from the context menu.
  4. Name the SD card if you want to and choose the desired file system. You can also instruct Disk Management to perfect a quick format if you want to save some time.
  5. Click OK to start the formatting process.disk management format sd card

Option C: Format the SD Card With a Third-Party Tool

There are many third-party tools for formatting memory cards and other storage devices. One popular option is the SD Memory Card Formatter. Developed by the SD Association (SDA) in compliance with the SD File System Specification.

This free tool supports SD, SDHC, and SDXC cards in the standard, mini, and microSD form factor. Unlike the format option in File Explorer, the SD Memory Card Formatter can take advantage of the theoretical 16 TB maximum volume size of the FAT32 file system, making it a great choice for those whose SD cards can rival smaller hard drives in terms of storage capacity.

To format your SD card using the SD Memory Card Formatter tool:

  1. Download the SD Memory Card Formatter tool from its website.
  2. Open the downloaded file archive and launch the setup file inside.
  3. Follow the install wizard to install SD Memory Card Formatter on your computer.
  4. Launch the installed application and select your SD card.
  5. Choose between Quick and Overwrite format (we recommend the former because it’s faster and gets the job done just fine) and name your SD card.
  6. Click Format to begin.sd card formatter
Tip: Another third-party software you can use to format your SD card is the HDD Low Level Format utility. Developed by HDDGURU.COM, this utility is free for personal use, and, as its name suggests, it can perform low-lever formatting of SD, MMC, MemoryStick, and CompactFlash media.

Option D: Format SD Card Using CMD

Are you the type of person who prefers command-line applications to their graphical counterparts because of their straightforward nature? If so, then you can format your SD card using CMD and the diskpart command.

To format your SD card using CMD in Windows:

  1. Open the Start menu, type in cmd, and open Command Prompt as administrator.
  2. Type diskpart and press Enter.
  3. Type list disk and press Enter to see a list of all available storage devices.
  4. Determine which of the available storage devices is your SD card based on their sizes and remember its disk number.
  5. Type select disk X (replace X with the number assigned to your SD card)” and press Enter.
  6. Type format fs=fat32 quick and press Enter.
  7. Wait for the formatting process to finish.diskpart format sd card

Step 3: Copy Your Data Back to the SD Card

Finally, you can copy your backed-up data back to the formatted SD card. If you’ve created a memory card image using Disk Drill, then follow Option A. If you’ve used DiskGenius instead, then Option B is the right choice.

Option A: Disk Drill

Follow these steps to recover the backup contents of your SD card from its image using Disk Drill:

  1. Launch Disk Drill and click the Attach disk image button below the list of available storage devices (make sure the Storage devices tab is selected).disk drill attach sd card image
  2. Select the .dmg backup image of your SD card and click Open.
  3. Choose the SD card backup image you’ve just mounted from the list of available storage devices and click Search for lost data.disk drill scan sd card image
  4. Wait for Disk Drill to scan the backup image and then review the found files it contains.
  5. Select all backed-up SD card files you want to recover and click the Recover button. Select the formatted SD card as your recovery location.disk drill recover entire sd card image

Option B: DiskGenius

Here’s how to copy the original SD card data from your DiskGenius backup image back to the SD card:

  1. Open DiskGenius and click the Tools menu. Select Load Disk/Partition Image from the list of options presented.diskgenius load sd card disk image
  2. Navigate to the folder where you have stored the backup image of your corrupted hard drive. Select the image and click the Open button.
  3. Select the latest time point (only one should be available) and click Start.diskgenius sd card image scan
  4. Select the files that you want to retrieve from the backup image.
  5. Right-click on any of the selected files and use the Copy To option to copy them back to your SD card.diskgenius sd card image scan

Conclusion

With proper knowledge and tools, it’s possible to format an SD card without losing data. In fact, it’s downright easy! We hope that the three-step process described in this article has helped you achieve the results you were looking for regardless of whether you needed to erase data in bulk, fix errors, switch to a different file system, or accomplish some other goal.

Frequently Asked Questions

Can you format an SD card without losing data?

Yes, it’s possible to format an SD card without losing data. Here’s what you need to do:

  1. Back up the contents of the SD card you want to format.
  2. Format your SD card.
  3. Transfer your data back to the newly formatted SD card.

If you have enough free internal storage space, then you can copy the files stored on your SD card there, format your memory card, and copy everything back.

Yes and no. While formatting will free up all available storage space, it won’t necessarily overwrite your files with zeros or random data unless you choose to perform a Full or Secure format.

The best way to save your SD card before formatting is to create a full backup using a tool like Disk Drill’s Drive Backup.

Definitely! All Android phones with a microSD card slot give you the option to format your memory card directly from the Android operating system.

Help Us Improve This Article
Was the provided information useful? Your vote is important to use!
20059
David Morelo
Author

David Morelo is a professional content writer with a specialization in data recovery. He spends his days helping users from around the world recover from data loss and address the numerous issues associated with it.

When not writing about data recovery techniques and solutions, he enjoys tinkering with new technology, working on personal projects, exploring the world on his bike, and, above all else, spending time with his family.

David’s recent reviews
David’s recent publishings
Yevgeniy Tolkunov
Yevgeniy Tolkunov
Approver

Yevgeniy Tolkunov is Hardware Engineer at ACE Data Recovery. Yevgeniy has a Master's Degree in Physics, Information Technology; 15+ years of experience.