How do I transfer data from Brave if I format my PC

How do I transfer data from Brave if I format my PC?