Contostavlos, of St Albans, Hertfordshire, stood in the dock in a white shirt, black trousers and black trainers as the charge was read to him.
He was granted unconditional bail and will stand trial at Chelmsford Magistrates' Court on June 18.
The former N-Dubz singer finished in second place on reality show Celebrity Big Brother in January.
More top news
Peterborough may be hurting following their FA Cup exit, but the future looks very bright indeed.
An old grenade handed in at a Bedfordshire police station has been destroyed by bomb experts.
Rain followed by showers on Friday