Yes, formatting an SD card erases all data. Make sure to back up important files before formatting.