How to Format an SD Card on Windows

Most modern computers have an SD card slot somewhere on the side of the computer. SD cards come in different sizes, so you may need an adapter if you have a micro SD card. No SD card slot? Use an SD card reader that can plug into a USB port. To format an SD card on a Windows PC:

Format Write-Protected SD Cards on Windows

Sometimes when attempting to format an SD card, you will receive an error saying that it is write-protected or read-only. Most cards have a tab on the edge that you can move up or down. If your card is write-protected or read-only, move the tab to the opposite position (for example, if it’s up, move it down; if it’s down, move it up). If the drive is still write-protected, or if there is no tab, follow these instructions:

How to Tell If an SD Card Is Partitioned

If you installed a version of Linux on your SD card for use on a single board computer, such as a Raspberry Pi, the card has likely been partitioned so that it can boot correctly into Linux. Before you can re-purpose that SD card for other uses, you must remove the partition. To determine if your SD card has a partition, right-click the Start menu and select Disk Management. Next to the disk number for your SD card, you may see a number of partitions. Usually, the first partition is named unallocated. If this is the only partition listed, the instructions above should work. However, if there are multiple partitions, the partitions must be removed before you can format the card.

Remove Partitions From an SD Card on Windows

To format the SD card so that it is one continuous partition: