The Pied Piper is a minor character in DreamWorks' 5th full-length animated feature film Shrek, and one of the secondary antagonists (along with Fifi) of DreamWorks' 20th full-length animated feature film Shrek Forever After.
Despite being unable to speak, he was voiced by the late Jeremy Steig.
When all of the fairytale fugitives are forced to move to Shrek's swamp by Lord Farquaad, the Pied Piper can be seen playing his pipe to the rats. In this film, he is shown wearing red clothes and looks much different than in Shrek Forever After.
Shrek Forever After
Rumpelstiltskin hired the Pied Piper to capture both Shrek and all of the other Ogres. He may look very enthusiastic and gentle, but his flute has the ability to take control of anyone and anything (as long as the dial is pointing at a certain picture). The known things that he can handle are rats, witches, ogres, socks, and possibly dwarves, as at the end of film, he controls Rumpelstiltskin with his flute, and he is a dwarf. After the Pied Piper captured all of the other ogres, he failed to capture Shrek. Because of this, Rumpelstiltskin fired the Pied Piper. At the end of the film, he is seen wearing white clothes and making Rumpelstiltskin dance against his will.
He is also a zombie in Thriller Night.
Video game appearances
The Pied Piper made several appearances as a boss is several Shrek video games.
Shrek 2: The Video Game
Despite not appearing Shrek's first two sequels Shrek 2 and Shrek the Third, the Pied Piper is one of the bosses in the video game based on Shrek 2. King Harold asked Shrek, Fiona, Donkey, and Little Red to defeat The Pied Piper. In order to do that, they have to defeat all of his rats. Once all of the rats are dead, the Piper comes down to fight in a boss battle; however, he is so weak that his entire health bar is depleted with just one hit.
Shrek Forever After: The Video Game
The Pied Piper also made an appearance as a boss in Shrek Forever After: The Video Game. He uses his magical flute to cause a certain amount of obstacles for Shrek.