i have done this many times using both the built in windows disk management as well as 3rd party software and not had any issues of losing data.
it is ALWAYS a good idea to back up data anyway as nothing is 100% error proof. but i consider it perfectly safe to do and not had any major data loss from doing it myself.