Origins and History
Timun Mas belongs to the living oral tradition of Java, the densely populated island at the center of the Indonesian archipelago. It is usually told as a tale from Central and East Java, regions shaped over many centuries by Hindu-Buddhist kingdoms, the Islamic sultanates and later Dutch colonial rule. No single original text or date of composition is known. Like most Javanese folktales, it circulated through grandmothers, village storytellers and performers long before it was set down in print, and it survives in many variants that differ in small details, such as the identity of the hermit, the number of magical objects, or the name of the village.
The giant at the heart of the tale, Buto Ijo ("Green Giant"), draws on the Javanese word buto or raksasa, derived from Sanskrit rakshasa. This vocabulary reflects the long Indic influence on Javanese culture, which also supplied the shadow-puppet (wayang) repertoire in which buto ogres appear as fearsome but often foolish figures. The story's folkloric structure, however, is much older and more widely shared than any single literary influence. Its motifs of a miraculous birth from a plant, a bargain with a monster, and a pursuit foiled by objects thrown behind the fugitive are found across Eurasia and Southeast Asia, and scholars classify the "magic flight" within international tale-type indexes. The Javanese version gives these motifs a local texture through its plants, landscape and spiritual figures.
Because the tale was transmitted orally, its earliest written forms probably date from the colonial and early national periods, when Javanese, Malay and Indonesian collectors, teachers and publishers began compiling regional folklore for schools and popular readers. Today it appears in countless Indonesian-language picture books, school readers, comics and retellings.
The Story
In the standard version, a widow named Mbok Sirni lives alone in a village and longs for a child. One day, as she goes about her work, she meets the giant Buto Ijo, who offers her a packet of cucumber seeds. He instructs her to plant them and promises that if she does so she will have a child. In exchange, when the child grows up, she must give her to him, since he intends to eat her.
Desperate for a child, the widow agrees. She plants the seeds and tends them carefully. A single plant bears one extraordinary fruit, a cucumber that turns golden as it ripens and grows unusually large. When she cuts it open, she finds inside a beautiful baby girl. Delighted, she names the child Timun Mas, "Golden Cucumber," and raises her with love. The child grows quickly and becomes a lovely and clever young woman.
When Timun Mas reaches maturity, Buto Ijo returns to claim what was promised. The frightened widow tries to delay him, saying her daughter is too young or unwell, but she knows the respite cannot last. She seeks advice from a hermit who lives in the hills or forest. He gives her four small packets, containing cucumber seeds, sharp needles, salt, and a lump of shrimp paste (terasi), and tells her how Timun Mas should use them.
When Buto Ijo comes the next time, the widow sends her daughter away with the packets, and the giant pursues her through the countryside. As he closes in, Timun Mas scatters the cucumber seeds behind her. They sprout instantly into a vast cucumber field, and the greedy giant stops to gorge himself, losing time. When he resumes the chase, she throws the needles, which become a dense forest of sharp bamboo through which he must struggle, wounded and bleeding. Next she throws the salt, which turns into a wide, dangerous sea. The giant wades and swims through it, still in pursuit. Finally she throws the shrimp paste, which becomes a bubbling swamp or lake of boiling mud. Buto Ijo is trapped and sinks to his death, ending the threat.
Timun Mas returns safely to her mother, and the two live in peace. Some versions add an epilogue in which the widow, relieved, rejoices that her wits and her daughter's courage have saved them.
Key Characters
Timun Mas is the protagonist: a miraculous child, both a gift and a debt. She is not a passive victim, but acts decisively, runs, calculates and uses her resources at the right moments.
Mbok Sirni, the widow, represents loneliness and the yearning for a child. Her bargain with the giant is understandable but costly, and her later efforts to protect her daughter redeem the choice.
Buto Ijo is the antagonist, a green ogre whose appetite is his defining trait. He is strong but gullible and greedy, and he is undone by the very cucumbers that gave Timun Mas her origin.
The hermit (pertapa) is a wise helper who supplies the means of escape. He belongs to the Javanese tradition of ascetics who retreat to mountains and forests and whose spiritual power can aid the weak.
Symbolism and Themes
The cucumber is an emblem of fertility and abundance, a fast-growing, water-rich crop common in Javanese gardens. Gold marks the child as precious and set apart. The magical objects are ordinary kitchen and household things: seeds, needles, salt and shrimp paste, the essentials of a village home. Their transformation into field, forest, sea and swamp turns domestic items into elemental landscapes, suggesting that the humble and everyday can become mighty protection in the right hands.
The central theme is ingenuity and courage against predation. Buto Ijo embodies appetite and brute force, and he is defeated by timing, calculation and nerve. The story also explores the moral cost of desperate bargains, and the idea that gifts from supernatural beings often carry hidden debts. The magic flight, with its four obstacles of plant, mineral, water and mud, can also be read as a passage through the elements of the natural world. Some interpreters see in the green giant a figure of the untamed forest or of oppressive power more generally.
Cultural Significance
Timun Mas is among the best-known folktales of Indonesia and is widely taught in primary schools as a story about bravery, perseverance and obedience to wise counsel. It exemplifies the Javanese narrative tradition in which spiritual helpers, such as hermits, mediate between the human and supernatural worlds. The background of Javanese animism and syncretism is visible in the combination of a miraculous plant birth, a Sanskrit-derived ogre, and an ascetic holy man. Notably, the heroine is a girl who saves herself, which has made the tale a popular example in discussions of female agency in Indonesian children's literature.
Legacy and Influence
The tale has been adapted into picture books, comics, animated films, television programs, stage plays, puppet theater and children's songs. Schools often stage it in drama and storytelling competitions. Its imagery of the golden cucumber and the pursuit is familiar to generations of Indonesian children, and the name Timun Mas is used for businesses, products and characters. Modern retellings sometimes soften the giant's death or expand the heroine's role, while others emphasize ecological or feminist readings.
Related Myths and Legends
The tale resembles other stories of children born from plants or fruit, such as Japan's Momotaro (born from a peach) and Thumbelina-like figures. Its magic-flight sequence is paralleled by the Russian tale of Vasilisa and Baba Yaga, the Grimms' "The Water Nixie," and the Greek story of Medea's flight. In Indonesia, related folk narratives include Bawang Merah Bawang Putih and other Javanese tales of ogres, while the Malay and Sundanese worlds contain similar tales of a child promised to a giant. In wayang tradition, buto figures appear as recurring adversaries.