image source, Getty Imagesimage captionRoald Dahl's books include Charlie and the Chocolate Factory, The BFG and Matilda

Netflix has bought the rights to Roald Dahl's classic children's books from the author's family.

The deal means the streaming giant will own creations like Charlie and the Chocolate Factory and The BFG.

Netflix will control what happens to them in publishing as well as TV and film – and receive the royalties.

It will also create numerous spin-off games, stage shows and other live experiences. Neither side would reveal how much the deal is worth.

The takeover means The Roald Dahl Story Company – which is run by Dahl's grandson Luke Kelly and was previously owned by the family and other employees – will now become a division of Netflix.

It earned £26m revenue from the author's work in 2019, according to its latest accounts.

image source, Getty Imagesimage captionGene Wilder as Willy Wonka and Peter Ostrum as Charlie Bucket in the 1971 film Willy Wonka & the Chocolate Factory

In a joint statement, Mr Kelly and Netflix boss Ted Sarandos said they were "joining forces to bring some of the world's most loved stories to current and future fans in creative new ways".

The move builds on a deal between the streaming giant and the estate in 2018, allowing it to make animated series based on his books.

Creating 'a unique universe'

Under that agreement, Oscar winner Taika Waititi is currently working on a series based on the world of Charlie and the Chocolate Factory, and Sony and Working Title are making an adaptation of Matilda The Musical.

In total, 19 TV shows, films, stage shows and live experiences are already in the works.

"These projects opened our eyes to a much more ambitious venture – the creation of a unique universe across animated and live action films and TV, publishing, games, immersive experiences, live theatre, consumer products and more," Mr Kelly and Mr Sarandos said.

Netflix made the announcement by revealing its name on golden ticket hidden inside a Willy Wonka chocolate bar wrapper.

The back of the ticket had the words "There is no knowing what we shall see" – a line from James and the Giant Peach.

Excited to announce that the Roald Dahl Story Company (RDSC) and Netflix are joining forces to bring some of the world's most loved stories to current and future fans in creative new ways.

“We are now about to visit the most marvellous places and see the most wonderful things.” pic.twitter.com/kc22Gmfhmx

— Netflix UK & Ireland (@NetflixUK) September 22, 2021
The BBC is not responsible for the content of external sites.View original tweet on Twitter

"As we bring these timeless tales to more audiences in new formats, we're committed to maintaining their unique spirit and their universal themes of surprise and kindness, while also sprinkling some fresh magic into the mix," Mr Kelly and Mr Sarandos added.

Who was Roald Dahl?

After working as a fighter pilot in the Second World War and then as a diplomat, the Welshman turned his hand to writing novels, short stories, poems and film scripts.

Throughout the 1960s, 70s and 80s he became known for best-selling children's books – many of which were later turned into films.

The writer, who died at the age of 74 in 1990, has sold 300 million books around the world, printed in 65 languages.

The Dahl catalogue also includes the likes of Fantastic Mr Fox, James and the Giant Peach, The Witches and The Twits.

Mr Sarandos and Mr Kelly said his stories contain "messages of the power and possibility of young people" and have "never felt more pertinent".

A "significant part" of the proceeds from the sale of the company will go towards setting up a new charity involved with children's health, anti-hate and anti-racism, they said.

In December, Dahl's family apologised for anti-Semitic comments made by the author in interviews in 1983 and 1990.

Follow us on Facebook, or on Twitter @BBCNewsEnts. If you have a story suggestion email [email protected].