I stayed at Kino Hostel. We took the separate room for 2p. I felt safe. From the centre it’s more dirty but overall I loved it. The museums are must have to go to! But you need hours to see all of the paintings! Prepare comfortable shoes!
Saint Petersburg is a city of rich culture and beautiful architecture. As a solo female traveler, you should be able to explore its beauty with ease but should always be aware of your surroundings. It's always recommended to take usual travel precautions such as avoiding less busy areas late at night and not displaying valuable items in public. Be conscious of pickpockets in crowded places, and try to arrange your travels during the daylight hours for maximum safety. Knowing a few basic Russian phrases or having a translation app handy can also be beneficial.

First-hand experiences from women who traveled to Saint Petersburg.
I stayed at Kino Hostel. We took the separate room for 2p. I felt safe. From the centre it’s more dirty but overall I loved it. The museums are must have to go to! But you need hours to see all of the paintings! Prepare comfortable shoes!
Areas local women have flagged as unsafe, by day and by night.
What 87 women living in Saint Petersburg say about everyday safety.
pretty safe, I was never in a trouble, but it's always possible to be there in every country and every city :) just don't walk at night alone in quiet and dark places, the potential danger is drunk South People
This city is very safe, but still, you can never be too careful when you're in an unfamiliar city or country. During the day I can't really single out any particular areas, but at night it's important to be careful in deserted places and on the outskirts of the city — just like in any other city, in my opinion.
it’s quite a safe place, you shouldn’t be afraid at all, only at night in the suburbs you should be careful (like the final metro stations). also spb has a lot of bars, if you don’t like extra attention in some situations, go with guys who you trust or in companies (but it is still quite safe)
One of the things I appreciate most about Saint Petersburg is how safe it feels. As a woman, I feel comfortable walking around the city, even in the evening. It’s common to see children playing independently and people generally respect each other’s belongings. Of course, like any big city, it’s always wise to stay aware of your surroundings, but overall I find Saint Petersburg to be a welcoming and comfortable place to live.
Do not communicate with drunk men, do not get into an unfamiliar car, it is better to use an official Yandex taxi Don't agree to shooting street photographers, avoid animators on Palace Square, they cheat tourists for money
The city is actually very safe. I often walk alone at night or run in parks at night as well (often that's the only free time I have ;)). Of course, it's better not to wander around abandoned buildings or industrial areas, as homeless people might be sleeping there, but even the homeless are often friendly...