A hateful straphanger snatched a man’s phone and hurled it at an oncoming train because he was being recorded spewing anti-Semitic slurs, police said Friday.

The 33-year-old victim was on the southbound platform of the Gates Avenue station waiting for the J train at about 8:00 a.m. on Thursday when the suspect approached him and started arguing, cops said.

The suspect then began making anti-Semitic statements, referencing Hitler and yelling “F–k all Jews,” and “Kill all Jews,” authorities said.

The victim quickly pulled out his cell phone to record the racist rant, and then tucked the phone away in his shirt pocket.

That’s when his attacker ran up from behind and snatched the phone, flinging it at an oncoming train before fleeing the scene on foot, cops said. But the cell phone wasn’t damaged, and police were able to retrieve footage of the incident.

The suspect is described as a black man in his 30’s, about 5-foot-9 with black hair and a goatee, police said. He was last seen wearing a black suit, black dress shoes, and a black tie.

The NYPD’s Hate Crimes Task Force is investigating the incident.