Although the term "dive bar" is somewhat relative, there are certainly some San Francisco bars that are more divey that others.

Some dives: