BERLIN — Anti-Semitic crime and hate crime targeting foreigners each increased by almost 20 percent in Germany last year, according to official figures published on Tuesday.

The data includes a wide range of offenses, including assault, insults, graffiti, hateful postings online and the use of Nazi symbols. The figures are part of an annual report on politically motivated crime presented by Germany’s interior minister and the head of its Federal Criminal Police Office.

Politically motivated crime in general continued to fall after a peak in 2016, and the number of violent offenses was down. The crimes that are still rising, however, paint a disturbing picture of Germany’s resurgent far right, which the report found to be responsible for around 90 percent of the anti-Semitic offenses.

When right-wing protesters marched in the eastern city of Chemnitz last summer, for instance, many of the slogans — and much of the far-right violence and intimidation that followed — were directed against immigrants, particularly Muslim refugees from the Middle East. But they were not the only targets.