A Sydney transgender woman who was bashed at a Newtown pub has confronted her alleged attackers outside court.

Stephanie McCarthy was left bruised and bleeding with a swollen black eye after a group of men repeatedly punched her at The Town Hall Hotel in the early hours of June 6.

Stephanie McCarthy was left with numerous injuries including a fractured eye socket after the assault.

Two men charged over the assault, Nicholas Wells and Alexis Ozanne, came face-to-face with Ms McCarthy when they appeared at Newtown Local Court on Thursday, where Ms McCarthy claimed Mr Ozanne threatened to stab her.

Ms McCarthy said Mr Ozanne was winking to her throughout the court proceedings, and blew her a kiss as he exited, saying "I'll see you soon".