SD Memory Card Formatter for Linux
The free SD Memory Card Formatter (Command-line edition). Wait for the 5-second check, then press Download now and the file starts straight away.
Linux · Command-line edition
Archive with a command-line binary
Verify the file (SHA-256)
7c3375d79ef572afdf9dd2e4c7cc1762f040abb389154a03f8187d1edad5a4d7On Windows run certutil -hashfile "SDCardFormatterv1.0.3_Linux_ARM64.tgz" SHA256; on Mac or Linux run shasum -a 256 "SDCardFormatterv1.0.3_Linux_ARM64.tgz". The result should match the code above.
Using the Linux edition
- Extract the archive and open a terminal in the folder.
- Find your card with
lsblk. - Run the formatter with
sudoand the card's device path, following the bundled readme.
Check the device path twice. Formatting the wrong disk erases it.
Before you format
Formatting erases everything on the card. Copy photos and videos you want to keep, and check that the adapter's lock switch is pushed toward the contacts.
Not sure which file system you need? Use the Card Check tool.