Overview: Diskpart to Format SD Card? To format an SD card using Diskpart in Windows, open Command Prompt as an administrator, type diskpart, and then use the following commands:
list disk, select disk X (replace X with the SD card's disk number), clean, create partition primary, and format fs=fat32 quick (or format fs=ntfs quick for NTFS).
Finally, type exit to close Diskpart.
Details: How to format sd card using diskpart cmd (fat32, exfat, ntfs)? This content includes the following parts
There are many free format tools that are better than Diskpart. Free tool IM-Magic Partition Resizer can help format SD card to FAT32 no matter the SD card is less than 32GB or more than 32GB.
Here are the steps to format sd card fat32 using diskpart
Unable to format sd card fat32? Read this: format sd card fat32
Note: When your SD card is over 32GB, it cannot be formatted to FAT32 using Windows built-in tools, a third party format tool like IM-Magic Partition Resizer, Rufus or any other format tools can help convert SD card over 32GB to FAT32 file system.
When sd card turned raw format, its file system would display: file system raw. Here are two steps you need to repair raw sd card including using diskpart to format raw sd.
#1, Retrieve files from raw sd card when data matters to you before using the diskpart format
Recommend: Download iCare Recovery Pro free to recover files from raw sd card.
Also read: How to recover files from raw sd card
#2, Diskpart format raw sd card
Use the same diskpart cmd to repair raw sd card by the following steps.
If it failed, try the following solutions.
When diskpart cannot format sd card, there are some other nessary steps that need to be added in the diskpart format process.
#1 - Add clean, create partition primary in diskpart command line
And the steps shall be changed to the following
#2 Or you may go with the steps in the following photo.
Format fs=fat32 or format fs=fat32 quick? With or without quick in the command line is the one that you need it to do a quick format or not.
Also read: diskpart format
When diskpart cannot format sd card, format it in disk management.
Video - how to format under disk management
Not working? Also read: 5 sd card formatters, or how to force format sd card
Last updated on July 26, 2025
Related Articles