Screenplay analysis

Willy Wonka & the Chocolate Factory: screenplay analysis

A poor boy wins one of five golden tickets to tour a reclusive candy maker's factory, where each of the other children is undone by their own worst habit.

Written by Roald Dahl & David Seltzer · Directed by Mel Stuart · 1971 · Musical fantasy, family

What the script is doing

Willy Wonka & the Chocolate Factory is a morality tale built like an elimination game. Five children enter the factory, and each one except Charlie is removed by a trap that matches a flaw: greed, gum-chewing pride, spoiled demands, television obsession. The structure is so clear that children understand it at once, and the pleasure is in guessing how the next one will fall.

The screenplay, credited to Roald Dahl adapting his own novel, adds two important elements to the book. The first is Slugworth, a rival candy maker who approaches each winner to buy a secret, which gives the tour a hidden test. The second is Charlie's own failure: he and Grandpa Joe sneak a taste of Fizzy Lifting Drinks. That makes his final act, returning the Everlasting Gobstopper, a moral choice instead of a reward for being passive.

Structure

  • The hunt

    Wonka hides five golden tickets in his chocolate bars. Four go to spoiled children, and Charlie finds the last with a coin he found in the street.

  • The factory

    Wonka leads the visitors through rooms of wonders, and Augustus, Violet, Veruca and Mike are eliminated one by one by their own flaws.

  • The test

    Charlie and Grandpa Joe break the rules with Fizzy Lifting Drinks. Wonka angrily refuses Charlie the prize.

  • The choice

    Charlie returns the Gobstopper instead of selling it to Slugworth. Wonka reveals that Slugworth was his employee and that Charlie has won the factory.

Characters

  • Charlie wants a better life for his family; his honesty is tested and confirmed at the very end.
  • Willy Wonka wants a worthy heir; his mixture of kindness and cruelty keeps the audience uncertain of his intentions.
  • Grandpa Joe wants adventure after years in bed; his eagerness leads Charlie into the mistake that tests him.

Key scenes

  • The golden ticket

    the world goes mad for the tickets, creating a desire shared by every audience member.

  • The boat ride

    Wonka's frightening tunnel trip reveals that the factory is a place of danger as well as joy.

  • Fizzy Lifting Drinks

    Charlie and Grandpa Joe float toward a fan and escape by burping, a fun scene that becomes a test of character.

  • The Gobstopper

    Charlie quietly returns the candy, and the whole story turns on a single small choice.

What writers can learn

  • Structure a morality tale as an elimination game, with each loss matching a flaw.
  • Give the good hero a mistake of his own, so his final choice is a real moral act.
  • Add a hidden test, such as a fake rival, that the audience only understands at the end.
  • Keep the mentor ambiguous, so the audience is never sure whether he is cruel or kind until the end.

Read the screenplay

We haven't found a copy of the Willy Wonka & the Chocolate Factory screenplay published by its rights holder, so this page links to none. We don't host screenplays that are under copyright.

Questions

We haven't found an official copy online. Studios sometimes publish scripts during awards season, and published screenplay books are another legal route.

Willy Wonka & the Chocolate Factory (1971) was written by Roald Dahl & David Seltzer and directed by Mel Stuart.

Read the structure and key scenes with the film or the published script beside you, then try the lessons on your own pages. Our screenplay format guides cover the page itself.

Write your own screenplay, formatted as you type.

Start free. Credits never expire, and you pay only for what you generate