One of the vigilantes was the young boyfriend of the 18-year-old Burmese woman who had been raped at knifepoint by Peerayut Nutamara, 29.
With his face marked by the beating, Khun Peerayut signed a confession this afternoon at Chalong Police Station in southern Phuket.
The rapist, the boyfriend and the young woman all worked at the same furniture factory in southern Phuket.
About 10.30am today, Khun Peerayut pulled a knife on the 18-year-old woman at the factory. He took her to her room in a dormitory where the rape took place.
When she was freed she ran to tell her boyfriend, who with another man quickly tracked down Khun Peerayut and administered a beating before taking him to Chalong Police Station.
Khun Peerayut has been charged with rape and is being kept in a cell at Chalong pending an appearance in court.
Police said he had previously been convicted of a robbery in his home province in Thailand's north and had come to Phuket for work.
The woman is reported to be recovering.