Thai police Friday charged two Myanmar men with murder and rape after the killing of two British tourists on a southern island last month, in a case that has severely dented the kingdom's image as a holiday haven.

The charges come after police said the undocumented migrant workers had confessed to murdering David Miller, 24, and Hannah Witheridge, 23, whose battered bodies were found on Koh Tao on September 15.

The men have been charged with the murder of both Britons -- a charge which carries the death penalty -- and the rape of Witheridge, with police saying that their DNA matched samples taken from her body.

"The two Myanmar nationals are charged with murder (of both tourists), gang rape (of Witheridge) and stealing," Prachum Ruangthong, police chief of neighbouring Koh Phangan island, told AFP.

The breakthrough follows intense scrutiny of Thai authorities, which had been accused -- in criticism led by the British media -- of bungling the investigation in the days after the crime.

Earlier Friday police said the men -- identified only as Win, 21, and Saw, 23, from Rakhine state in Myanmar -- had admitted to killing the Britons and raping Witheridge.

"Two Myanmar suspects have confessed to killing the pair," Thai national police chief Somyot Poompanmoung told AFP. "DNA test results (from the two men) confirmed that the same DNA was found in the body of the (female) victim."

The accused were among three nationals from Myanmar -- formerly known as Burma -- held since Thursday on suspicion of involvement in the crime.

The third Myanmar man is believed to be a witness and is currently under police protection on Koh Tao, provincial police chief Kiattipong Khaosamang told AFP.

Earlier Friday investigators took the arrested men to the island to re-enact the crime scene, a common practice in Thai murder cases.

Hundreds of onlookers watched as the handcuffed pair -- wearing bullet-proof vests and white helmets -- walked along the beach where the Britons were found dead, surrounded by scores of police officers.

Story continues

"Both men raped the female victim," Kiattipong said earlier, adding the tourists were killed with a wooden stick and a garden hoe, which was found bloodied at the scene.

Thai authorities dismissed concerns that they had arrested scapegoats when questioned by reporters, after the intense international spotlight on the investigation.

"I would like to affirm that this case was not the arrest of scapegoats as it could be proved from the DNA found on the victim," Prayut Chan-o-Cha, Thailand's prime minister, told reporters Friday.

- Police under pressure -

In the weeks since the brutal killings, police have DNA-tested hundreds of people in and around Koh Tao and questioned dozens of people -- including friends of Miller.

They had come under increasing pressure to solve the case after being criticised for mismanaging the probe by chasing the wrong leads and failing to lock down the island in the hours following the murders.

Journalists were allowed to trample all over the crime scene after the killings, while information -- often erroneous -- flowed out unfiltered until the intervention of the nation's top police officer.

The grisly double murders also delivered a fresh blow to Thailand's image as a tourist haven after months of political protests that ended in May's army coup.

Days after the crime, premier Prayut, who is also junta chief, was forced into an apology for suggesting tourists in bikinis could be more vulnerable to attack -- comments that caused an international outcry.

With the peak tourist season fast approaching, Thai authorities are desperate to draw a line under the incident.

"I think the tourist confidence will improve," Minister of Tourism and Sports Kobkarn Wattanavarangkul told AFP, hours after the purported confessions.

Thailand's once-booming tourism industry was already scrambling to rebound from a slump in foreign visitor numbers, after the coup and a night-time curfew tarnished its reputation as the "Land of Smiles".

The tourism ministry has estimated a more than eight percent drop in revenue from tourism this year -- from 1.2 trillion baht ($37 billion) in 2013 to 1.1 trillion baht in 2014.

Koh Tao mayor Chaiyan Turasakul expressed his relief after the arrests, vowing to step up security measures on the island including registering all migrant workers and installing more CCTV on main roads.