Police say the attackers walked up to the student in a city street late Monday and demanded that he convert to Islam then beat him up after he refused to do so.
The student, whose identity wasn't given in line with German privacy rules, was taken to a hospital for treatment. He was released a day later.
The Bonn police's department for politically motivated crimes is investigating.