Taiyuan is generally a safe place for solo female travelers. The city is developed and crime rates against tourists are lower than in many other global cities. However, like any other major city, it is important to pay attention to personal belongings and avoid dimly-lit or less crowded places late at night. It's also handy to know a bit of basic Chinese language or use a translation app as English is not widely spoken. Be cautious when taking taxis to ensure they are licensed.