Think back—when was the last time you bought kue basah (traditional Indonesian sweet snacks) at a traditional market? Bright colors, chewy texture, and a rich, sweet taste that keeps you coming back for more. Kue lapis (layered cake), klepon (sweet rice cake balls), and onde-onde (sesame-coated rice cake balls) have probably been part of our lives since childhood. But have you ever wondered where these treats actually came from? It turns out that behind their simplicity, Indonesia's traditional sweet kue carry a long story of cultural journeys, trade, and recipe fusions from various nations that once passed through this land.
Products You Might Need
* Affiliate links — you can help support KulinerBDG by shopping through them
This article will take you on a journey to trace the history of these three legendary sweet kue—not from a recipe standpoint, but from the angle of history and cultural meaning. Who knows, after reading this, you might grow even fonder of these market snacks that have always been considered "ordinary."
Kue Lapis: A Colonial Legacy That Became a National Icon
Kue lapis (layered cake) goes by fairly unique names in different regions. Some call it kue lapis legit, while others know it as spekkoek or spiku, especially among people of Dutch descent and peranakan Chinese communities. The name spekkoek itself comes from Dutch, meaning "fatty cake," referring to the cake's rich, buttery texture and its layered baking method.
Legend has it that this cake was born from the meeting of European and Indonesian cultures during the colonial era. Dutch settlers living in the Dutch East Indies missed European cakes like Germany's Baumkuchen, which was also baked in layers. Since European ingredients were limited, they improvised using local spices such as cinnamon, cloves, and cardamom. The result was kue lapis legit, a cake with the distinct aromatic spices of the Indonesian archipelago, while still using European baking techniques.
Interestingly, making kue lapis legit requires extra patience since it must be baked layer by layer, sometimes up to a dozen or more layers. In the past, this cake was a symbol of social status because of its expensive ingredients, such as large quantities of eggs and imported butter. Today, kue lapis legit remains a favorite during Lebaran (Eid al-Fitr) and other special occasions, proving that this colonial legacy has been fully "Indonesianized."
Why Is It Called "Legit"?
The word "legit" in Javanese and Sundanese means a deep, mellow sweetness, rather than a sharp sweetness on the tongue. This describes the soft, sweet character of kue lapis, combined with warm spice aromas. This name also distinguishes it from the ordinary kue lapis made from rice flour and coconut milk.
Klepon: The Chewy Green Bite with a Simple Yet Deep Story
Unlike kue lapis, which has a clear colonial history, klepon is purely a product of local wisdom. These small green cakes are made from glutinous rice flour filled with liquid palm sugar, then boiled and rolled in grated coconut. The "burst" sensation on the first bite is the signature trait that makes klepon unforgettable.
The green color of klepon originally came from suji leaves or pandan leaves, which were pounded to extract their juice. Besides providing natural color, these leaves also contribute a soft, fragrant aroma. In the past, natural coloring like this was proof of our ancestors' wisdom in using ingredients found around the house, long before synthetic food coloring was known.
Klepon is believed to have existed since the era of ancient Javanese kingdoms, although precise records are hard to trace since it was rarely documented in writing. This cake spread to various regions under different names. In some areas of Sumatra and Malaysia, a similar cake is known as onde-onde ketan or buah melaka, which is actually different from the onde-onde we'll discuss next. This shows how a single type of kue can have many names depending on the region, while its philosophy and flavor remain similar: simple yet surprising.
The Philosophy Behind the Hidden Sweetness
Many say that klepon is a metaphor for Javanese life: appearing simple and unassuming on the outside, but holding a sweet surprise within. These values of simplicity and humility make klepon more than just a snack—it's a reflection of culture.
Onde-onde: A Long Trail from the Silk Road to the Land of Java
While klepon is purely local, onde-onde has a much longer history that crosses continents. This round, sesame-coated cake actually originated in China under the original name jian dui, which has existed since the Tang Dynasty, thousands of years ago. Legend has it that this cake was once served as a royal offering because its round shape was considered a symbol of luck and prosperity.
Onde-onde entered the Indonesian archipelago through the bustling maritime trade routes between China and the northern coast of Java, especially in cities like Mojokerto and Surabaya. There, onde-onde underwent a flavor adaptation to suit local tastes. While in China the filling is typically sweet red bean paste, in Java the filling evolved into mung bean paste, which was easier to find and prepare.
Mojokerto has even earned the nickname "Onde-onde City" because this cake has been a culinary identity of the region for hundreds of years. The combination of savory sesame seeds, chewy glutinous rice skin, and sweet mung bean filling makes onde-onde one of the most successful examples of culinary fusion in Indonesia.
A Symbol of Luck That Remains Relevant
Interestingly, the philosophy of onde-onde as a symbol of good fortune is still upheld by some members of the Chinese-Indonesian community. This cake often appears during certain celebrations as a wish for fortune to keep "rolling in," just like its round shape.
The Common Thread Among These Three Kue
If we take a closer look, there's an interesting pattern in the stories of kue lapis, klepon, and onde-onde:
- Kue lapis represents the cultural fusion of European colonial influence with local spices.
- Klepon represents purely local wisdom that makes use of natural ingredients from the surrounding environment.
- Onde-onde represents the trail of trade and Chinese cultural migration adapted to Indonesian tastes.
All three prove that Indonesian cuisine, especially its traditional sweet kue, is the result of a long fusion of various civilizations that once passed through and settled in this country. It's not just about flavor, but also about identity and history that continue to live on with every bite.
Let's Preserve It, One Plate at a Time
Now, every time you enjoy a soft kue lapis legit, a klepon that bursts with sweetness, or a crispy, savory onde-onde, take a moment to remember the long journey behind them. These kue aren't just snacks to fill your stomach—they're silent witnesses to the history of cultural fusion that shaped Indonesia as it is today.
Don't let this story end here. Try stopping by your nearest traditional market, buy all three of these kue, and enjoy them while imagining their long journey from various corners of the world to finally reach our tongues. Who knows, you might fall even more in love with this sweet culinary heritage of the archipelago.


