Dozens of anti-Israel protesters clashed with Chicago police officers and others burned an American flag Tuesday night outside of the Israeli consulate, not far from the Democratic National Convention.

The mob — chanting “Free, free Palestine” and waving Palestinian flags — tried to break through a line of cops in riot gear outside the building housing the consulate, located about two miles from the United Center, where the convention is being held.

Videos showed police officers shoving demonstrators and tackling some of them to the ground before taking them into custody. At least eight people were arrested.

Some protesters burned the Stars and Stripes in the middle of the street.

Multiple protesters were arrested outside of the Israeli consulate in Chicago on Tuesday. REUTERS

Scores of protesters clashed with cops who formed a line outside of the building. REUTERS

“CPD, go home or we will bring the war home!” they later chanted as dusk fell.

“Make them feel what Gaza feels!” a speaker shouted into a microphone. “Make the DNC feel what Gaza feels! This f–king empire needs to burn to the ground!”

Police issued an order to disperse around 8:30 p.m. local time.

Protester Mike Lehman, 50, from Chicago, held a sign reading “make Israel pay all its war-murder costs now.”

He told The Post he wants Democrats to “get tough” on Israel.

Tuesday’s protests took place during the second night of the convention during which several high-profile Democrats, including Sens. Chuck Schumer and Bernie Sanders and former President Barack Obama, were set to deliver speeches.

The consulate has been the site of numerous demonstrations since the war in Gaza erupted on Oct. 7. It is inside of a building connected to the Ogilvie Transportation Center, a major transportation hub for commuters.

Protesters burn a flag near the Israeli Consulate during the Democratic National Convention Tuesday. AP

Chicago expected thousands of protesters during this week’s DNC. AP

Law enforcement had closed down most of the entrances to the Israeli consulate on Tuesday, allowing travelers to come in only one entrance where armed officers were also posted, according to the Associated Press. Many of the building’s shops were also closed.

Israel supporters, including family members of hostages kidnapped by Hamas, had gathered earlier in the day at an art installation not far from the consulate to call for the continued military backing of Israel from the US and a push to free those still held captive by the militants.

The Windy City was expecting tens of thousands of anti-Israel protesters for the convention, which kicked off on Monday and will continue through Thursday.

Several businesses downtown boarded up their doors and windows anticipating violence.

However only an underwhelming 3,500 or so showed up for the first night of the convention and were largely peaceful, Chicago Police Superintendent Larry Snelling said Tuesday.

Snelling told reporters at a press conference that some protesters used pepper spray and hurled bottles of water at police.

“Our officers showed great restraint,” he said. “We’re not going to tolerate vandalism and violence in our city. … We’re going to continue to protect the city.”