The Pied Piper is the main villain of the legend of The Pied Piper of Hamelin - although he begins as a hero of sorts, he is said to be a symbolic villain that represents a very real incident in medieval Hamelin in which many children died due to plague or some other catastrophe (the details are not clear): the story of the Pied Piper is said to be an adaptation of the event, with the Pied Piper representing the plague or catastrophe that ultimately took away Hamelin's children.
According to legend the Pied Piper was a rat-catcher who was called upon by the citizens of Hameline to clear away a plague of rats, which he did with the aid of a magic flute - which hypnotised the rats and he promptly led them out of the town and into a river where they drowned.
However, when the citizens refused to pay the Pied Piper, he angrily left but vowed to return. On Saint John and Paul's day when most of Hamlin's adults were in church, the Piper returned and used his magic flute to hypnotise all of the town's children and took them away just as he had done the rats, depending on the version what occurs next varies in intensity and cruelty - traditionally the Pied Piper is said to led the children into a cave to never be seen again but later additions had such grisly tales as him leading all the children into the river to drown like the rats or taking them to a distant land, in some less morbid versions the Pied Piper sets the children free after ordering a large ransom from the town but this goes against the original story, which clearly stated the children never returned (with only three children having been spared, due to one being lame and unable to keep up, one being deaf and followed the other children out of curiosity, and one being blind and was unable to see where they were going).
The Pied Piper was likely inspired by a plague that killed many of Hamelin's children, with him representing Death itself - although he may also of represented a historical figure connected to the "Children's Crusade" (though the authenticity of such tales is hotly debated) - others have linked him with a serial-killer or some other malignant force that over time became embodied as the now familiar Pied Piper figure.
The Pied Piper also has some similiarities with the Devil as he offers aid but becomes vindictive when crossed and appears as a stranger with unexplained magical powers.
In other medias
- In the first Shrek film the Pied Pipper is new shown as a villain while in Shrek Forever After the Pied Pipper of Hamelin acts an enforcer to Rumpelstiltskin.
- In Once Upon A Time Peter Pan and the Pied Piper of Hamelin are made into the same character.
- The Legend of the Pied Piper is a major focus in a story arch of Problem Children Are Coming from Another World, Aren’t They?.
- In many numerous modern versions of the story, the Pied Piper has been portrayed with a much more protagonist-like figure having a good & kind personality while Hamlin's mayor has been portrayed as a bad & greedy person. It is even notable that in one modern version, the piper becames the new mayor of Hamlin while the former mayor has been treated as an outcast.