Yes, it is generally safe to walk in Hanoi at night. The locals are friendly and the violent crime rate is generally low. However, visitors should exercise caution in traffic, be aware of scams and pickpockets.