Password generators are safe for creating random passwords, but storing your randomly generated passwords in an encrypted password manager is best.