The 31-year-old striker bombarded Eilidh Scott with a string of abusive messages that saw him send 100 texts a day on WhatsApp and email.
He branded her a “sl*t”, a “sl*g” and a “w*ore” and turned up at her home in Shotts, Lanarkshire, late at night.
Stokes, who has a two-year-old son with Miss Scott, has appeared at Hamilton Sheriff Court and admitted stalking Miss Scott and her mum between July last year and February.
Depute fiscal Lynn McFauld said: “Contact was made using six different mobile phones all attributable to the UK and one which was an international number.
“I have discussed the detail of the case with him and he is embarrassed the way he has behaved to the mother of his child”
Michael Gallen, defending
“In July she attended at a friend’s house for a girls-night-in and received numerous calls, texts, WhatsApp and FaceTime messages from the accused but declined to answer them.
“She was becoming extremely uncomfortable and agitated by this and eventually accepted a FaceTime message hoping that if she spoke to him he would desist and let her enjoy her night.
“He immediately demanded to know where she was and who she was with and was clearly angry and agitated.”
Later that evening, Stokes arrived at her mum’s home, Hamilton Sheriff Court heard.
Miss McFauld said the boyfriend of Miss Scott’s friend drove her home at 1am, but Stokes was watching outside and lost his temper.
“She advised him to drive her to her front door so she could get in and then she and her mother locked and secured the door,” Miss McFauld said.
“The friend reversed out and observed a door of a vehicle opening which caused him to stop and the accused got out and asked ‘what is that all about?’.
“He started walking towards the vehicle and rattled the window with his fist before demanding to know where the complainer had been and why she was being dropped off.”
Miss McFauld’s added that Stokes kicked the man’s car as he drove off in fear.
“This was observed by the complainer who said her stomach was churning as he approached the house before calling her a sl*g, a sl*t, a w*ore and demanded she open the door.
“She later sent a message saying ‘you are stalking me, leave me alone’ and later received an email from the accused saying ‘sorry for my reaction tonight, I just love you too much and snapped tonight’.”
Michael Gallen, defending, said: “He was working abroad and that may have contributed to him being isolated and the complainer being alone with a young child which put the relationship under strain.
“I have discussed the detail of the case with him and he is embarrassed the way he has behaved to the mother of his child.
“He has apologised and they are both keen to put this behind them.”
Sheriff Alasdair MacFadyen deferred sentence until September for reports and continued bail.
He added: “You engaged in a course of conduct that caused fear and alarm to your former partner and her mother.
“It is not a case of an isolated incident but a course of conduct and I’m told that you and the woman have reconciled but have also been told it is on-off.
“I want to have some enquiries made to see if there could be some intervention put in place to stop you behaving this way again to the complainer or to anyone else.”
Stokes started his career at Arsenal before winning seven trophies in six seasons at Celtic and netted twice in Hibs’ 3-2 Scottish Cup win over Rangers in 2016.
Last year he joined Iranian team Tractor Sazi FC but has now signed a deal with Turkish second division side Adana Demirspor.