A university student from Melbourne has told of being violently attacked by thieves after studying for exams.

James Richter was walking to catch a tram from Lincoln Square Park, in Carlton, around 9.30pm on September 16 when he was suddenly confronted by a gang.

While one offender distracted the 19-year-old with a question, a number of others ambushed him.

The 19-year-old student spoke to 9News about being attacked. (9NEWS)

Mr Richter was allegedly punched in the face several times. (9NEWS)

“I was just trying to co-operate with their demands in order to preserve myself,” Mr Richter told 9NEWS.

Despite his compliance, the business student was allegedly punched in the head several times.

“The blows were shocking,” he said.

With his teeth nearly knocked out, Mr Richter was forced to the floor by the thieves, where one of the thugs claimed he had a knife.

“He said he would hit me if I didn’t comply with his demands,” he said.

The robbers fled with Mr Richter’s laptop, phone and wallet.

They also attempted to use his bank card to buy halal snack packs from a kebab shop on Smith Street, as well as items from a 7/11 convenience store.

Mr Richter said that during the attack, a woman and three other people failed to intervene.

A pair of strangers finally offered him help at a tram stop, dialling Triple Zero.

“They both responded with kindness and compassion. Even though I don’t know their names… I’d like to extend my thanks,” Mr Richter said.

Mr Richter said his violent ordeal will now be at the “back of his mind”.

“You aren’t 100 percent safe… but it’s a bit sad. Growing up here it’s been a really safe city to me,” he said.

A 15-year-old Carlton boy has been charged with obtain property by deception and bailed to appear at a chidlren's court.

Two 14-year-old boys from Richmond and Carlton have been released pending further enquiries.