3D printing cake toppers: text, font and hygiene
A topper for every occasion
A cake topper is the lettering that stands on top of a cake: “Happy Birthday”, a name with the new age, “Mr & Mrs” for a wedding or a baby’s name for a christening. Shops sell them in acrylic or wood, usually with standard wording. With a 3D printer you get one with exactly your text, in your color and in about an hour, and that is what this generator is for.
You type up to three lines, choose a font, and the generator turns them into a topper in one piece: the letters are joined firmly by thin bars or by an outline, and one to three spikes at the bottom go into the cake. Everything runs in your browser, you need no account, and the STL or 3MF download is free.
Typical occasions and matching examples:
- Birthdays: the classic “Happy Birthday” in gold, a name with a large number for a milestone birthday, or a one-line “Happy Birthday” with a single spike.
- Weddings and anniversaries: “Mr & Mrs” on an outline, the two-color “Just Married”, a 25 for a silver wedding or a 50 for a golden wedding.
- Babies and christenings: “Oh Baby” for the baby shower and a christening topper with a name.
- Parties: graduation, New Year’s Eve and a mini topper for cupcakes.
Any example opens in the generator with one click, ready for your own text, font or color.
Text and font
Every line has its own field. Empty lines are simply left out, so a one-line topper works as well as three lines for “Congrats / Grad / 2026”. The font size works as in OpenSCAD: 24 gives capital letters about 22 to 24 mm tall, depending on the font. Lines two and three can be scaled on their own. That way “Alex” and “30” become a topper where the age stands out at 1.4 times the size, or “25” and “Jahre” one with a small second line.
For each line you can also set the letter spacing, and for the lines the distance between them. The default of 1.02 comes from the original design: the bar of one line then usually rests on the capital letters of the line below, so the lines hold together without extra parts.
The fonts range from bold block letters to script:
- Noto Sans Black is the default. It is wide, has round ends and prints cleanly even at small sizes.
- Comic Neue Bold looks playful and suits kids’ birthdays and baby showers.
- Lobster and Pacifico are connected script fonts. Their letters join on their own, which makes them look particularly elegant on a cake.
- Kaushan Script is a lively brush script with more space between the letters.
If you have a favorite font, upload it as a TTF or OTF file. It stays in your browser and never reaches a server. Make sure its strokes are at least 0.8 mm wide. Below that a 0.4 mm nozzle prints poorly, and hairlines break off when you push the topper into the cake. The generator checks this and warns when part of the lettering is too fine.
Joining the letters
The biggest pitfall of a printed cake topper is letters that stand on their own and fall off after printing. The generator offers two ways to prevent that.
Bars are the construction of the original design. Under each line there is a flat bar on the baseline that all letters stand on. In the original you try out the length of each bar by hand until every character is attached. Here the generator measures the lettering and starts each bar exactly at the first letter and ends it at the last, so it never sticks out. You can still set the lengths by hand. “Bar offset” moves the bars up or down, which helps with script fonts whose letters start slightly above the baseline.
The outline is a flat plate behind the whole text that reaches beyond the letters by an adjustable margin. Holes and narrow gaps in it are closed. The outline reliably joins even fonts with widely spaced letters, and it is the basis for two-color printing.
On top of that, the generator checks the result. It looks for pieces that are attached to nothing: i dots, umlaut dots, an “&” made of two parts, or a whole line whose bar just misses the line below. With “Join loose pieces” it adds a small round strut, as tall as the bars, at the shortest gap. Wide pieces such as a whole line get two struts. If you switch the option off, you see a warning with the number of loose pieces instead.
Spikes
The spikes lie flat on the bed while printing and go into the cake later. As in the original they are round, 2 mm thick and 80 mm long, and they end in a short point so they slide in easily. They start at the baseline of the anchor line: the middle line of three, otherwise the bottom line.
- Number: one spike is enough for cupcakes, muffins and small cakes. Two keep the topper from turning and suit most cakes. Three make sense for very wide lettering.
- Length: 40 mm for cupcakes, 60 to 80 mm for regular cakes, up to 100 mm for tall fondant cakes.
- Spacing: the generator moves each spike under the nearest letter of the anchor line. The spike then looks like a letter carrying on, instead of hanging in a gap.
We would not make the spikes thinner than 2 mm. They break easily when you pull the topper out of firm buttercream.
Printing in gold and silver
Cake toppers print flat, the way they come out of the download, with no supports. A few tips for a nice result:
- Material: silk PLA in gold, silver or rose gold gives the typical shine without painting. Regular PLA in white, black or pastel shades looks elegant as well.
- Layer height: 0.2 mm with a 0.4 mm nozzle. As in the original, the lines are stepped by 6, 3 and 1 layers, which gives a slight 3D effect when light comes from the side. If you print with another layer height, set it in the generator.
- First layer: the spikes and bars are narrow, so a clean bed and a well tuned first layer matter more than anything else. On a smooth bed a narrow brim helps.
- Two colors: with the outline and a text color of its own you get two separate parts. On a multi-color printer use the 3MF file. With a single nozzle, add a filament change in the slicer at the outline height (2 mm by default); the generator shows the height and layer.
- Too big for the bed: with 80 mm spikes a topper easily reaches 130 mm in height. If it gets wider than the bed, place it diagonally in the slicer.
Food contact
A cake topper touches food, so a few honest words. Regular PLA is not certified as food safe. The dyes and glitter particles in silk PLA have not been tested for it, and germs can stay in the fine grooves between the layers. For a topper that spends a few hours in a cake, simple precautions are enough:
- Put the topper into the cake just before serving and take it out before cutting.
- Wrap the spikes in cling film or slide them into short drinking straws.
- If you like, stand the topper on a disc of fondant or a cookie instead of pushing it straight into the cream.
- Rinse it in lukewarm water after the party. Hot water deforms PLA.
If you want to be completely sure, print with a filament that its maker explicitly declares food safe, on a clean stainless steel nozzle.
Origin & license
This generator is a port of the Customizable Cake Topper by Don English, published under CC BY 4.0. The OpenSCAD original contributes the layout of three text lines with stepped heights, the bars under the lines, the round spikes with their points and all default values. New here are the automatic bar length from the lettering, the outline as a second way of joining, the struts for loose pieces, the placement of the spikes under letters and two-color printing. The original’s font, Arial Rounded MT Bold, is not freely available, so the generator uses fonts under the SIL Open Font License instead. All license texts are listed on the licenses page.
Ready to start? Open the generator or browse the examples. For gifts to go with it, try the name keychain or the glass name tag.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Text | |||
| Font size | 24 mm | 8 – 60 mm | Size as in OpenSCAD: 24 gives capital letters about 22 to 24 mm tall, depending on the font. |
| Size of line 2 | 1 × | 0.4 – 1.5 × | Font size of line 2 relative to line 1, e.g. 1.4 for a large age. |
| Size of line 3 | 1 × | 0.4 – 1.5 × | Font size of line 3 relative to line 1. |
| Letter spacing line 1 | 1 × | 0.7 – 1.5 × | Above 1 moves the letters apart, below 1 closer together. |
| Letter spacing line 2 | 1 × | 0.7 – 1.5 × | Letter spacing of line 2. |
| Letter spacing line 3 | 1 × | 0.7 – 1.5 × | Letter spacing of line 3. |
| Line distance 1–2 | 1.02 × | 0.7 – 1.6 × | Distance between lines 1 and 2 as a multiple of the font size. At 1.02 the bar of line 1 usually rests on the capitals below. |
| Line distance 2–3 | 1.02 × | 0.7 – 1.6 × | Distance between lines 2 and 3 as a multiple of the font size. |
| Joining | |||
| Bar thickness | 2 mm | 1 – 6 mm | Height and thickness of the bars under the lines and of the struts. |
| Bar offset | 0 mm | -10 – 10 mm | Moves the bars up or down from the baseline. Helps with script fonts whose letters start higher. |
| Bar line 1 | 120 mm | 10 – 250 mm | Length of the bar under line 1 when you set it by hand. |
| Bar line 2 | 133 mm | 10 – 250 mm | Length of the bar under line 2. |
| Bar line 3 | 132 mm | 10 – 250 mm | Length of the bar under line 3. |
| Outline margin | 2.5 mm | 1 – 8 mm | How far the outline reaches beyond the letters. A wider margin joins letters that are further apart. |
| Outline thickness | 2 mm | 1.2 – 4 mm | Thickness of the outline behind the text. For two colors this is the height of the filament change. |
| Heights | |||
| Text height | 4 mm | 2 – 10 mm | Thickness of the letters. The lines are stepped by another 6, 3 and 1 layers. |
| Layer height | 0.2 mm | 0.1 – 0.3 mm | The layer height you print with; it sets the steps between the lines. |
| Spikes | |||
| Number of spikes | 2 | 1 – 3 | One spike for cupcakes and small cakes, two for most cakes, three for very wide toppers. |
| Spike diameter | 2 mm | 1.5 – 5 mm | 2 mm is strong enough and barely marks the cake. |
| Spike length | 80 mm | 20 – 150 mm | Length of the spikes from the baseline of the anchor line. 40 mm suits cupcakes, 80 mm cakes. |
| Spike spacing | 47 mm | 0 – 200 mm | Distance between two spikes. The spikes then move under the nearest letter. |
Frequently asked questions
Is a printed cake topper food safe?
Regular PLA is not certified for food contact, and germs can stay in the grooves between the layers. Put the topper into the cake just before serving, wrap the spikes in cling film or slide them into drinking straws. For more safety, print with a filament the maker declares food safe on a clean stainless steel nozzle.
Why do some letters fall off?
They touch neither the bar nor a neighboring letter; i dots, umlauts and punctuation are typical. Keep "Join loose pieces" on and the generator adds short struts. You can also use the outline or move the bar. If anything stays loose, the generator shows a warning.
Which font works best for a cake topper?
Round, bold fonts such as Noto Sans Black or Comic Neue Bold print cleanest. Connected script fonts such as Lobster and Pacifico look festive and hold together on their own. Very fine fonts need strokes of at least 0.8 mm, otherwise the generator warns.
My topper is bigger than the print bed. What now?
Place it diagonally on the bed in your slicer, which gains about 70 mm on a 180 mm bed. If that is not enough, shorten the spikes or reduce the font size. The generator tells you as soon as the topper grows beyond 180 × 180 mm.
How do I get the gold look?
With silk PLA in gold or silver, which shines without any finishing. For two colors, set the joining to outline and pick a text color, for example gold lettering on a white outline. With one nozzle, a single filament change at the outline height is enough.
Origin & license
- Customizable Cake Topper by Don English · CC BY 4.0 · code ported – text lines, bars and spikes ported (font replaced)