Two teens were beaten and robbed at knifepoint and gunpoint in the subway beneath Rockefeller Center on Friday, cops said.

The victims — 14- and 17-year old boys — were attacked by a group of unidentified bandits inside the 47-50 Sts-Rockefeller Center station in Midtown around 3:13 p.m., cops said.

The thieves punched and kicked both victims while threatening them with a knife and a firearm, police said.

The robbers made off with a jacket, phone and sneakers, according to law enforcement.

The older victim was taken to Mount Sinai West in stable condition, while paramedics treated the younger boy at the scene, cops said.

Â