A man is accused of stealing a three-tonne truck from a central Sydney building site and taking it for a drunken joyride through the CBD before crashing into a city cafe.

A group of construction workers prevented any further carnage by chasing the 33-year-old along George Street just after 2am on Wednesday, hauling him out of the cabin and holding him until police arrived.

Police say the culprit jumped in the truck which was parked near Martin Place for light rail construction works and drove it through the worksite.

He managed to travel only a short distance before crashing through the front window of a nearby cafe.

“Construction workers gave chase on foot and physically removed the man from the truck and detained him until officers arrived,” NSW Police said in a statement.

The man, from Queenscliff on the northern beaches, was arrested and returned a positive roadside breath test, police said.

He has since been charged with multiple offences, including driving recklessly/furiously or in a dangerous manner, driving during a disqualification period, and low-range drink-driving.

He has been refused bail to appear at Central Local Court on Wednesday.