Yes — Hamburg is generally a safe destination for tourists. It consistently ranks among Germany's safer large cities, and violent crime against visitors is rare. The city's police presence is visible, particularly in busy tourist areas and on public transport.
A few practical points worth knowing:
St Pauli and the Reeperbahn are lively entertainment districts that attract large crowds at night. Petty theft (pickpocketing) can occur in busy bars and clubs, so keep valuables secure and stay aware in crowded spaces. The area is well-policed and most visitors have a perfectly safe experience.
The main Hauptbahnhof (central station) has improved significantly in recent years but remains a busy transit hub — stay alert to your surroundings and your bags, especially late at night.
Hamburg's canal network is a delight by day but poorly lit in some areas after dark — stick to main paths along the Speicherstadt if walking at night.
Public transport is reliable and used by locals at all hours. Cycling is popular and the city is well-provisioned with bike infrastructure.
For solo female travellers, Hamburg is one of Germany's more welcoming cities, with a progressive social culture and well-lit, active nightlife areas. Standard sensible precautions apply anywhere after midnight.
Emergency number in Germany: 112 (fire/ambulance) and 110 (police).