At the turn of the 10th and 11th centuries Boleslav's kingdom fell apart in the fratricidal war between the Přemyslovci and the other clans the main profiteer of this being the German emperor. At that time it seemed as if the Czech state and the lineage of its princes was awaiting its end..." It is with these words that the tale of this film begins, whose narrative is based upon the the play by František Hrubín of the same name.
Little Tom Thumb's evil stepmother exploits him amd makes his life very hard, so the little shepherd boy decides to leave home and seek happiness in the world outside. There little Tom Thumb meets the Wind Mother, Forest Mother and a little old man on his way. Each of them gives him a chore to do that earns him a gift with magical power, which comes in handy when he has to defeat Scrooges, Lop-Eared Man and the Devil himself. While traveling in the world and looking for happiness, he realises he misses his grandmother and little sister...