Workers at a Sydney massage parlour were terrified by two men who smashed their way in with a sledgehammer and stole cash and a mobile phone.

The masked pair forced their way into the "adult entertainment venue" in Carlton just after 2.30am (AEST) on Monday through a roller door.

One female worker was forced to hand over cash from a safe and another had her mobile phone stolen.