The incident is said to have taken place following a JLS gig in Wolverhampton gig in 2016.
Williams denies the allegation.
The singer and a male friend reportedly invited two female fans back to their hotel, the four star Ramada Park Hall.
The girls claim one of them forgot some of their belongings and retuned to the hotel room.
It’s then police were called to the hotel shortly afterwards to a report of rape and Williams was arrested at the scene.
A spokesperson for West Midlands Police confirmed: “We’ve charged two men with sexual offences after an allegation of rape at a Wolverhampton hotel.”
“A 30-year-old man has been arrested on suspicion of rape and a 29-year-old man arrested on suspicion of sexual assault.
“Both men have been bailed until February, pending further enquiries.”
Williams who rose to fame in 2008 on series five of ITV show The X Factor.
The group, which consisted of Aston Merrygold, Marvin Humes and JB Gill, reached the live final though lost out of the top spot to Alexandra Burke.