I have been in SFO many times and everytime i felt perfectly safe. There may be small areas that are wise to avoid, but those are everywhere, in all big cities, also here in NL