Most dash cams will let you format a memory card in the settings menu or by hitting a certain button pattern on the device. Some may even let you do it via an app, as long as the app is compatible with iOS and Android devices.