PARIS — Deadly attacks on Jews by Muslim extremists in January and a sharp spike in anti-Muslim acts since then have prompted the French government to elevate the fight against racism into “a great national cause,” leading government officials said on Friday.

Prime Minister Manuel Valls announced a detailed plan that dedicates 100 million euros, or $108 million, over the next three years to programs and policies that combat “racism and anti-Semitism,” including a nationwide awareness campaign, harsher punishments for racist acts and increased monitoring of online hate speech. “Racism, anti-Semitism, hatred of Muslims, of foreigners and homophobia are increasing in an intolerable manner in our country,” Mr. Valls said after visiting a high school in Créteil, a suburb of Paris that has large Jewish and Muslim populations.

“French Jews should no longer be afraid of being Jewish, and French Muslims should no longer be ashamed of being Muslims,” he said.

Under the government proposals, racist hate speech would be prosecuted under the penal code, not under the French media laws that govern certain aspects of freedom of speech. This would enable prosecutors to bring cases more swiftly and less leniently. Another change in the law would turn racist speech or racist motivation for a crime into an aggravating factor, making for harsher sentences.