People will be handed the chance to wipe their childhood social media history under new laws in today's Queen's Speech.

The powers will be contained in a new generation of laws to protect personal data.

The laws will require social media firms to delete everything posted before the age of 18 when requested by an adults.

The Department for Culture, Media and Sport confirmed to MailOnline today all adults could take advantage of the law not just those turning 18 after it is passed.

Unlike much of the Tory manifesto, Theresa May's promise to make Britain the safest place in the world to be online via a Digital Charter appears to have survived the election disaster.

Teenagers will be handed the chance to wipe their social media history at 18 under new laws in today's Queen's Speech

Unlike much of the Tory manifesto, Theresa May's promise to make Britain the safest place in the world to be online via a Digital Charter appears to have survived the election disaster

In its Queen's Speech today the Government said the Bill would replace the existing Data Protection Act and fulfil a Conservative manifesto commitment to give people new rights to 'control their data'.

The new data protection Bill will 'strengthen rights' and hand more control to users over their personal data, the Government said, including the right to be forgotten when they no longer want their data to be processed, provided there are no legitimate grounds to retain it.

The Bill will also help the Government meet current EU data regulations while still a member of the European Union and enable the UK to maintain its ability to share data with other EU members following Brexit, the Government said.

Plans for the Digital Charter include working with technology companies and ensuring they 'do more' to protect users from harmful content online.

Home Secretary Amber Rudd held talks with tech giants - including Facebook and Twitter - earlier this year on increasing their cooperation in tackling extreme and harmful material online.

Home Secretary Amber Rudd (left with Diane Abbott today) held talks with tech giants - including Facebook and Twitter - earlier this year on increasing their cooperation

Consultation with charities, communities and international partners will also take place in developing the new charter.

It will also focus on helping digital businesses throughout different stages of growth, the Government said, including support for access to the 'finance, talent and infrastructure needed for success'.

According to Government figures, the digital sector contributed £118 billion to the economy in 2015, employing more than 1.4 million people across the UK.

An NSPCC spokesman said: 'The new digital charter must not pull any punches if it's to make the UK the safest place in the world for children.

'It could go a long way in helping keep children safe, but for that to happen the Prime Minister must put our plans into action. We want an independent regulator that will hold social media companies to account, internet companies to meet minimum standards and children to be automatically offered safer accounts.

'Children must be as safe online as they are offline, and we wait to see what this new charter will do to protect young people.'