Country star Blake Shelton has apologised on Twitter for offending people with his language, but denied being hateful after several old tweets referencing gays and non-English speakers surfaced online.

Screenshots of years-old tweets posted on his Twitter account, which he controls, prompted criticism online that The Voice judge was sexist to women and stereotyped gay people and non-English speakers.

(Richard Shotwell/Invision/AP)

He posted a message on Wednesday saying he has no tolerance for hate of any kind, but said that his humour could be at times “inappropriate and immature”.

He wrote:

pic.twitter.com/RSoWqSlBlV

— Blake Shelton (@blakeshelton) August 17, 2016

A representative for him did not immediately return an email seeking clarification and a Twitter spokesperson said they don’t comment about individual accounts, AP reports.

Gay rights organization GLAAD asked him in 2011 to apologise for a tweet they called a joke about anti-gay violence.