Question: how to recover files from sd card before formatting?
Answer: Insert the formatted SD card into your computer. Disk Drill will automatically detect it, allowing you to start the recovery process.
Scan your SD card with Quick or Deep Scan. ... 
Preview your files.
Select all files you need to recover.
Press the “Recover” button.