Edit Template

The Pied Piper of Hamelin

Audiobook cover showing the Piper playing his flute to rats
0:00 / 0:00
The Pied Piper of Hamelin
Kooky Kids World Cloud logo – fun and friendly brand for free children's stories

 

The Pied Piper of Hamelin is a classic German fairy tale about a town overrun by rats. A mysterious Piper arrives and uses his magic flute to lead the rats into the river, saving the town. But when the townspeople refuse to pay him, the Piper returns and plays another tune—this time leading the children away forever. Only one child returns to tell the tale. The story is a powerful moral lesson about keeping promises and the consequences of greed. It’s often told to children aged 6–12 and has been retold around the world in many languages.

 

The Pied Piper of Hamelin

The Rat Problem

 

Cartoon rats scurry through colourful medieval town streets

 

Long ago, in a time of trouble, the town of Hamelin faced a terrible problem. Rats. Hundreds and thousands of them. Big ones, small ones, sneaky ones—they ran through every street, chewed through cupboards, and even danced on rooftops. The townspeople had tried everything, but nothing worked.

One day, a strange man appeared at the town gate, calling himself a piper.He wore a long cloak made from many pieces of brightly colored cloth. Because of his coat, the people began calling him the Pied Piper.

 

Pied Piper stands at city gates in colourful patchwork cloak

 

“I hear you’ve got a rat problem,” the man said with a smile. “I can rid your town of every last one—for a price.”

Desperate, the townspeople quickly agreed. They promised to pay him a handsome sum if he could truly send the rats away.

Without another word, the Pied Piper reached into his pocket and pulled out a small flute. Then, he began to play.

The music was eerie and enchanting—soft as a breeze through reeds, with notes that shimmered like silver raindrops. It floated through the streets like a whisper, wrapping around corners and slipping under doorways. Suddenly, the rats began to pour out of every house! One by one, hundreds of them scurried after the sound of the pipe.

 

Pied Piper playing his flute as rats gather around him

 

Still playing, the Piper strolled out of town toward the river. The rats followed close behind, tumbling over one another to keep up. He waded into the water, still playing. Without hesitation, the rats followed him into the river—and there they drowned.

 

Rats follow the Piper into a river and begin to drown

 

The people of Hamelin were overjoyed. At last, their town was free from the horrible rodents.

 

The Broken Promise

 

Angry townsfolk argue in front of medieval buildings

 

But now that the rats were gone, the townspeople grew stingy.

“That was far too easy,” muttered one man.

“Why should we pay him so much?” said another.

“Perhaps he used magic! That shouldn’t count,” said a third.

When the Piper returned for his payment, the townspeople refused. They offered only a few coins—nothing close to what they had promised.

The Piper’s eyes narrowed. “You broke your word,” he said quietly. “You’ll regret it.”

He left the town, his colourful cloak billowing behind him. No one stopped him. No one said thank you. No one paid a single silver coin.

 

The Children Vanish

 

The Piper returns in a dark cloak and feathered hat at night

Not long after, the Piper returned.

But this time, he looked different. He wore a dark green hunter’s cloak, a red feathered hat, and a grim expression. No one noticed him at first.

Then, he pulled out his flute once again—and began to play.

This melody was sweeter than before—high and dancing like sunlight on water, playful yet strange, like a dream you couldn’t wake from.

But it wasn’t rats that came this time.

It was children.

From every corner of Hamelin, boys and girls came running. Toddlers and teens, rich and poor, even the mayor’s own daughter. They smiled and laughed as they followed the Piper through the streets.

 

The Pied Piper returns in a dark cloak and feathered hat at night

 

But there was something eerie about it. The music felt like a spell—beautiful, but impossible to resist.

One babysitter, holding a little child, followed at a distance. But when she saw the group heading toward the mountains, she turned back and ran to warn the others.

 

A young woman carrying a baby turns away from the marching children

 

By the time the parents reached the town gates, it was too late.

The Piper had led 130 children into a mountain—and vanished.

 

Aftermath and Mystery

 

Panicked townspeople run through the streets in confusion

 

The town was in chaos. Mothers wept in the streets. Fathers searched every hill and valley. Messengers rode in every direction, shouting the children’s names.

But not a single one returned.

The place where they vanished became known as the Silent Street. No music or dancing was allowed there, not even during weddings. Even now, people remember the terrible price the town paid for breaking their promise.

The mountain just outside Hamelin still stands, though no one knows what lies within. The name of the hill has been forgotten, but the sorrow remains.

 

A flute lies abandoned near a mountain path at sunset

 

Some say the children reappeared in a faraway land, building a new life beyond the mountains. Others say they were never seen again.

But one thing is certain—the Piper kept his word. And Hamelin never forgot.

 

Moral of the Story

Always keep your promises. Especially to those who seem a little strange… and carry a pipe.

 

 

March to More Enchanting Melodies

Love trickster heroes? Meet another rogue in Bluebeard.

Looking for more broken-promise drama? Climb up Jack and the Beanstalk.

Explore leadership lessons in Why Reading Aloud Is Crucial for Your Child’s Development.

Learn more about the history of the Pied Piper of Hamelin.

 

Pied Piper of Hamelin – Questions & Answers

 

What is the story of the Pied Piper of Hamelin?

The Pied Piper of Hamelin is a folk tale about a magical piper who rids a town of rats, but when the townspeople refuse to pay him, he takes their children instead.

What is the moral of the Pied Piper of Hamelin?

The main moral is to keep your promises. The story also teaches lessons about greed, consequences, and honouring your word.

Who wrote the Pied Piper of Hamelin?

The version most people know was written by Robert Browning in 1842, though the tale itself is based on older German folklore.

Is the Pied Piper of Hamelin a true story?

The story is based on a real event from Hamelin, Germany in 1284, when a large number of children reportedly vanished. Historians debate what truly happened.

What did the Pied Piper of Hamelin do?

He played a magical flute to lead rats out of Hamelin, and later led the children away when the townspeople refused to pay him.

What happens in the Pied Piper of Hamelin?

Rats infest the town. The Piper removes them with music. The town refuses to pay, and he takes the children instead as punishment.

What animal did the Pied Piper get rid of?

The Piper rid the town of rats — thousands of them — using the power of his music.

What happened to the children in the Pied Piper of Hamelin?

The children followed the Piper into the mountains and were never seen again — except in some versions where one child returns to tell the story.

What is the theme of the Pied Piper of Hamelin?

Themes include justice, broken promises, retribution, trust, and the power of music.

From which country did the tale of the Pied Piper of Hamelin originate?

The tale originates from Germany, specifically the town of Hamelin (Hameln) in Lower Saxony.

The Pied Piper is a magical musician who saves a town from rats—but when the people break their promise to pay him, he takes their children instead. It’s a story about trust, consequences, and keeping your word.