Social media giants Facebook and Snapchat will trial a new service providing direct support to victims of cyberbullying, a royal campaign has announced.
British royal Prince William is spearheading a fresh battle against online abuse with the support of a taskforce made up of major tech firms and charities.
He is to announce a code of conduct for the internet, said to be the first of its kind globally, urging young people to "stop, speak, support".
For the last 18 months, the Royal Foundation's Taskforce on the Prevention of Cyberbullying has been working on ways to create a safer space for young people online.
Facebook and Snapchat are exploring alterations to their sites which allow victims to access help, which was created with UK children's charity NSPCC.
It will be trialled among groups of young people, Kensington Palace said, with William hoping it can soon be rolled out universally.
The Taskforce's code of conduct, which is said to be national and youth-led, encourages young people to consider how they behave online.
It asks them to stop and consider what the situation is before joining in negative activity online, speak to an adult, a charity or report any abuse if they are concerned, and offer support to the individual being targeted.
Organisations including Google, Apple, EE and Twitter have all been involved in the project.
In a video released yesterday, Prince William warned that anonymity online can be "really, really dangerous" as it allows cyberbullies to ignore the real-world impact of their actions.
His interest in the problem began shortly after the birth of his own son, Prince George, when he heard the story of a boy who died by suicide as a result of online abuse.
The clip released by Kensington Palace shows William meeting Lucy Alexander, whose son Felix also killed himself, and cyberbullying victim Chloe Hine.
Ms Hine attempted to take her own life at the age of 13 after enduring an onslaught of abuse on the internet.
Listening to the experiences of the pair, the Duke tells them: "I think it is worth reminding everyone what the human tragedy of what we are talking about here isn't just about companies and about online stuff - it's actually real lives that get affected.
"And the consequences, that is the big thing, the consequences of what happens if things are not kept in check in terms of what we say and what we do.
"We are still responsible for our own actions online - this anonymity, as you were saying, is really, really dangerous."
Ms Alexander spoke of her son's slide into depression after he was targeted on social media, being excluded from parties and viewing himself as "stupid and ugly".
She said: "It just ate away at him inside, I think, but I had no idea of the depth of his despair at all."
Ms Alexander has been campaigning to raise awareness of the issue and has been invited to help the work of the Taskforce.
Prince William told her: "It is one thing when it happens in the playground and it's visible there and parents and teachers and other children can see it.
"Online, you're the only one who sees it, and it's so personal, isn't it? Really it goes straight to your bedroom."
Ms Hine escaped her own personal torment by turning to writing to help her process her feelings.
William asked to hug both women after they shared their stories at Kensington Palace, thanking them for their "brave" intervention.
The Taskforce is chaired by the entrepreneur and founder of travel website lastminute.com, Brent Hoberman.
Other members include The Anti-Bullying Alliance, BT, The Diana Award, Internet Matters, O2, Sky, Supercell, TalkTalk, Vodafone and Virgin Media.
The Taskforce has also committed to building a universal strategy for support information about cyberbullying, and to design new safety guidelines, Kensington Palace said.