How can I backup profiles, with his settings and passwords?

Hi. I was wondering if I can backup all my settings and profiles.
I’m about to do a fresh windows install, but I already have 3 different profiles for work, each one with his own accounts logged, password saved and all the stuff like.

Is there a way to backup all this settings? Cause last time I made a fresh install, I had to create every profile again, sync again, log every account again and allow the browser etc.
I will like to just copy something and past it on the new OS install.

It sounds really unsafe thing so maye there’s no way to do that but I’m asking anyways… just in case.

Thanks!