Export your bookmarks before reinstall, then import them again on your new setup.
Do this on your current computer before the reinstall. Your bookmarks will be saved as one file.
Detecting your browser…
After reinstall, use your saved bookmarks file and follow the steps below to import it into your browser.