Yes, Prague is quite safe. The most common crimes there are vandalism and car theft, neither of which apply to travelers.
Naturally, you should always keep your wits about you when traveling alone, traveling at night, or dealing in large sums of money – such as at banks and moneychangers. However, you can feel good walking around and enjoying the nightlife all you want.