Skip to content
A piper in a patchwork coat of many colors plays a wooden pipe in a cobbled town street, a line of rats streaming after him, a stone bridge and river behind.

The Pied Piper of Hamelin

Brothers Grimm

5 min read ages 7 and up Readers’ rating across all languages: 4.6 out of 5, from 5 votes. How did you like this tale?

In 1284 a stranger in a coat of many colors offers to rid Hamelin of every rat and mouse, for a fixed sum. His pipe draws the rats out of the cellars and into the river Weser. With the rats gone, the townspeople find excuses not to pay, and he goes away saying very little, angry and bitter.


In the year 1284 a strange man was seen in the town of Hamelin. His coat was sewn from cloth of many colors, as bright as a summer meadow, and because of it people called him Bunting, which was their name for cloth of that gaudy kind.

He said he was a rat-catcher. For a certain sum of money, he told the townspeople, he would rid Hamelin of every rat and every mouse inside its walls.

The town had need of him. Rats sat on the flour sacks, mice ran along the beams, and there was hardly a cupboard in Hamelin that had not been gnawed.

So the townsmen came to an agreement with him and promised him a fixed sum, and the bargain was made in front of witnesses.

In Hamelin’s market square before the half-timbered town hall, a man in a patchwork coat shakes hands with a gray-bearded burgher as the townsfolk watch.

Then the rat-catcher took a little pipe out of his coat and began to play.

At once the rats and mice came creeping out of the houses. They poured up from the cellars and slid down from the roof beams and gathered around him in a gray crowd, and not one of them ran away.

When he judged that none were left behind, he walked out through the streets, and the whole swarm went after him, and he led them down to the river Weser.

There he hitched up his coat and stepped into the water. The rats came after him, every one, and the river carried them away, and Hamelin was free of them.

But once the town was rid of its plague, the promised money began to look like a great deal of money.

The townspeople found excuses. The sum had never been meant to be taken literally, they said. The work had taken no time at all. Paying could wait another day. In the end they refused him altogether.

The man said very little. He went away angry and bitter, and the town forgot him, or told itself that it had.

He came back on the twenty-sixth of June, the day of Saint John and Saint Paul. Some say it was seven in the morning. Others say it was noon.

He was not dressed as a rat-catcher now. He came in the clothes of a hunter, with a strange red hat, and his face was so terrible that those who saw it looked away.

He put the pipe to his lips and played through the narrow streets.

This time it was not the rats that came. It was the children, boys and girls, the smallest of them barely four years old, running out of the doorways and the yards and the gardens. Among them was the mayor’s daughter, who was already grown.

They came in a great crowd, laughing and hurrying, their faces turned toward the music. Every one of them followed him out through the gate.

In a broad red hat, a plain green coat and a dark cloak, the piper plays his pipe down a dusty road from the town gate, children in brown wool following him.

He led them up to a hill beyond the town, and the hill opened, and he went in, and the children went in with him, and it closed behind them.

A nursemaid had seen it. She had followed a long way back with a baby in her arms, and she turned and ran and carried the news into the town.

Then the parents came pouring out of every gate. They searched the roads and called their children’s names with heavy hearts, and the mothers wept aloud, and nobody in Hamelin slept that night.

Messengers were sent out by water and by land, into every town and village, to ask whether anyone had seen the children, or even a few of them. Nothing came back. A hundred and thirty were lost.

Two of them, people say, set out late and so came home again. One was blind and could not show the place, but could tell how they had all gone after the piper’s music. The other could not speak, and led the townspeople to the very spot, but could tell them nothing at all.

And one small boy, they say, had run out in his shirt and turned back for his coat, and that was what saved him. By the time he came back, the hillside had closed upon the others. The place is still pointed out today.

The hill is called the Poppenberg, and two stones were raised on it, one to the left and one to the right, each cut in the shape of a cross.

Some say the children were led into a cave under the hill and came out again far away, in Transylvania. But that is only a rumor. No one in Hamelin ever saw them again.

The street they went down on their way to the gate has been a silent street ever since. No dance was ever held in it and no drum or fiddle was ever sounded there, and when a bride was brought to church with music, the players had to carry their instruments past that lane without a single note.

At dusk a bride in a flower wreath walks a cobbled lane with her people, led by two musicians who carry a fiddle and a drum but play neither, past a dark arch.

The townspeople wrote it all down in the town book, and for many years they dated every record from the day their children were lost. On the wall of the town hall these lines were carved, so that nobody should forget:

In the year twelve hundred and eighty-four a piper led children from Hamelin’s door, a hundred and thirty, born in this town, and under the hill his music took them down.

How did you like this tale?

Retold by Talerie from Deutsche Sagen (opens in a new window) Public domain

Similar tales

About this tale

The Pied Piper of Hamelin is a German legend. The Brothers Grimm included it in the first volume of their Deutsche Sagen (Berlin, 1816) as no. 244, “Die Kinder zu Hameln”. They did not hear it from a storyteller but put it together from older chronicles and books, which they list above the text.

The Grimms’ legend dates the event to 1284 and ends with the town’s own records of it, among them some lines on the town hall. Our retelling follows their 1816 text closely and keeps those lines, but leaves out a Latin inscription on a gate, the church windows of 1572 and a coin.

The Grimms’ legend and Robert Browning’s poem

Grimm, 1816Browning
His namesaid to be Bundting, after his colored coatcalls himself the Pied Piper
The feea fixed sum, amount not givena thousand guilders; the mayor offers fifty
The ratsall drown in the Weserall drown but one, which swims across
His return26 June, as a hunter in a red hatno return: pipes again at once
The hillPoppenberg; he vanishes into itKoppelberg; a door opens and shuts
Left behindone blind, one mute (some say); a boy in his shirtone lame boy
The date1284, 26 June22 July 1376, in the town’s decree
The endingno moralkeep your promises
Show more
In the year twelve hundred and eighty-four a piper led children from Hamelin’s door, a hundred and thirty, born in this town, and under the hill his music took them down.
Brothers Grimm, 1816: Im Jahr 1284 na Christi gebort / tho Hamel worden uthgevort / hundert und dreißig Kinder dasülvest geborn / dorch einen Piper under den Köppen verlorn.

What our text does

Our text tells the legend in the Grimms’ order: the stranger in a many-colored coat, the rats led into the Weser, the townspeople’s excuses, and his return on 26 June as a hunter in a red hat. As in the Grimms’ text, he is a rat-catcher said to be called Bundting (Bunting in ours); in our text, only the title calls him the Pied Piper. A few details are our own, among them the bargain made in front of witnesses and the hill that opens and closes behind the children; in the Grimms’ text he simply disappears into the hill with them. Our text ends with the four lines from the town hall.

The ending is kept as it is. A hundred and thirty children follow the music into the hill, and no one in Hamelin sees them again. Nothing violent happens on the page, but before reading it aloud it is good to know that the children do not come home.

Related texts and one mix-up

Two years before the Grimms, Friedrich Gottschalck printed the same story in Die Sagen und Volksmährchen der Deutschen (1814). He gives the same date and the same 130 children, but his hill is the Koppelberg, it opens and shuts, and the children are carried through the air to Transylvania. He also adds an explanation of his own. Goethe’s poem “Der Rattenfänger” is a song in the rat-catcher’s own voice; he plays strings, not a pipe, and the poem never names Hamelin. Robert Browning’s English poem, compared in the table above, is the one in which the piper calls himself the Pied Piper.

Many readers look for this story among the Grimms’ fairy tales. It is not there: it comes from their Deutsche Sagen, a separate collection of legends. The next legend in that book, no. 245 “Der Rattenfänger”, is a different story, which the Grimms mark as told orally in German Bohemia: in a village, a rat-catcher’s hazel stick, left at a church door, makes the rats follow a miller home.

Sources

Period texts

Claims checked against these sources on October 24, 2026.

Coloring pages to print

Where else to find this tale