Night travel is mostly a game of choosing corridors and transport wisely rather than staying locked in. In nearly every city, the safe zones after dark are the busy, lit, populated ones: main boulevards, nightlife and restaurant districts while active, hotel zones and areas around major attractions. The danger is rarely where crowds are; it is the shortcut through the empty street to save five minutes. Stick to routes with open shops and foot traffic, even when longer.
On transport, ride-hailing apps have honestly transformed night safety for travelers in most countries: the trip is tracked, the driver identified, and no cash changes hands, which beats hailing unknown taxis on the street. They generally work fine even in rougher districts, though in some cities drivers decline certain areas late at night, which is itself useful information. Where apps are unavailable, use hotel-called taxis or registered ranks rather than street hails, and confirm the meter or price before moving.
A few extra habits: share your live location with someone when moving late, sit in the back seat, keep your phone charged with a power bank, and have the destination written in the local language. If a night route feels wrong, the cost of a longer detour or a second cab is always worth it.