BERKELEY, Calif.—A mass protest opposing a right-wing rally that had been planned here turned violent on Sunday, as black-clad activists clashed with a handful of conservative demonstrators.

The protest, which drew thousands of people chanting anti-fascist slogans and denouncing white supremacists, was the second major action in the Bay Area by left-wing groups this weekend.

Several...