Maid dangles from balcony after locking herself inside room and trying to escape

A woman is lucky to be alive after she was spotted hanging onto a railing on a balcony in Singapore.

Video shows the 24-year-old walking along the ledge of Block 241 on Bukit Panjang Ring Road on Wednesday, local time.

Onlookers were shocked to see the woman walking along the ledge before she dangled from a railing for some time.

The woman was seen dangling from the balcony. Source: STOMP

The harrowing video shows the woman walking along the ledge before crossing over to an even smaller ledge.

She is then seen hanging from a railing before a woman works to rescue her, believed to be her employer.

According Channel NewsAsia, the woman is a foreign domestic worker who had accidentally locked herself in one of the rooms.

The 24-year-old had decided to climb out the window in an attempt to get back into the house.

The woman was eventually pulled to safety by police officers and two members of the public.