Open SharePoint Recovery Tool and click on Open option.
Now, select the recovery mode: Complete Database Recovery or Document Recovery. Click on Browse button to select corrupt file.
After selecting MDF file, click on Open to begin Scanning.
When scanning process is done, click on OK to proceed.
In a tree structure format preview of recovered files is available. Expand any folder to check their preview. Then, select folder which you want to save, after that click on Save.
Now select the location where you want to save the repaired data. If you want in tree hierarchical form then check the option "Save in hierarchy box". Then, Click on OK .
Saving is done. Click on Ok.