This content creator used a mass spectrometer to find the flavoring used in Coca-Cola.
I think you'd end up paying less, too. I paid about 20 bucks for the concentrate bottle plus shipping, made 1.75L of it, thought it was fine but couldn't quite replace Coke in my diet, and didn't buy again. Had I done it all from scratch, I'm pretty sure I would've paid more and had a bunch of essential oil bottles leftover, going to waste.
I used like half the amount of sugar the cube-cola recipe recommended, because it seemed high. It wasn't Coke sweet but it was still plenty sweet for a soft drink, to my palette.
EDIT: Originally said 1.75 ml, meant to say Liters.
- cook the water to remove any other disolved gasses
- Cool it down to as cold as you can. A sludge of ice and water is very close to zero °C
- keep some ice unmelted
- carbonate
This is a bit annoying to do especially step one (I skip it, it seems to help bit not to a huge degree) but it helps making very carbonated water to mix with the sirup
Cola, orange soda, and almond soda!
In 2020, I started making my own soft drinks, including a sugar-free, caffeine-free cola! If you’re just looking for the current recipes, you can find them on GitHub. They were inspired by recipes like Open Cola and Cube Cola.
Otherwise, read on for “log book”-style instructions and pictures of my first attempts, which have been adapted from this Mastodon thread.
Here’s what we’ll need:

We start by making a flavor emulsion from essential oils! These oils are extremely strong, and can cause skin irritations, so if you want to be safe, wear latex gloves for this step!

We also need super small quantities. In this attempt, I’m aiming for:
For measuring, I have a 1 ml syringe:

There! In total, we have about 2 ml of essential oil. This will lend flavor to about 9 L of cola!

But oils don’t dissolve in water, right? They would just float on the surface!
So what we’ll add next is gum arabic, a natural emulsifier, that will help the oil form tiny, tiny droplets that stay dispersed in water!

Combine 2 g of gum arabic, 4 ml water, and our oil mixture with a hand mixer. Keep mixing until it emulsifies, it will take on a milky brown color and the oily phase will disappear. This took me about 5 minutes.

Next, we add: 40 ml of caramel color, which will give the cola its dark appearance.

As well as 5 g citric acid, and an additional 10 ml of water. You can also add caffeine at this point, but one of the main motivations for me to make my own cola is to have cola without caffeine (it gives me headaches).

Stop mixing when it starts smiling at you! :D This is our finished cola concentrate. It smells delicious!

Other recipes would now integrate this into sugar syrup made from 1 kg of sugar, but I want to try a variation using artificial sweeteners, for dieting reasons. This is a combination of sodium cyclamate and saccharin, which is pretty common in Germany. I’ll use 70 ml.

This gives us about 120 ml of the finished cola syrup! \o/ I’ve been following the Cube-Cola recipe.

Because this is still a very concentrated solution and hard to handle, I’m diluting it down to 1 L. In theory, this should give a nice cola when diluted further in a ratio of 1:8. First taste test coming up!

It’s good! It’s really good! The sweetness is just right for me, and the oil blend tastes nice and cola-y! :)

I like my drinks really sour, so I might add another… 10 g of citric acid to this batch. There is a slightly bitter aftertaste, which I attribute to the artificial sweetener I’m using.
I might also tweak the oil ratios to accentuate the citrus flavors a bit more in the next batch. And I thought this would be too much food coloring, but it seems pretty perfect!
What I’d be really excited to try is making other flavors: Orange soda! Cherry soda! Almond & apricot soda! <3 The problems is that I don’t know of many DIY recipes for sodas except cola, which is surprising:
Open Soda (Note: site is no longer online as of 2026…) has two pretty weird ones (including a bubble gum soda?!), but that’s pretty much all I found. There still seems to be potential for reverse engineering! :)
And here are two more resources I found while preparing my ingredients today: Jan Krüger’s blog post about tweaking cola recipes and Richard Grove’s Notes on Making Cola, which go deeper into food chemistry!
Made a second batch of cola syrup without caramel color. It’s much weirder to drink than I expected.

I also switched to sucralose as a sweetener, hoping that it would have less aftertaste. Instead of 1000 g sugar in the original recipe, I used 1.6 g sucralose, which is ridiculous, but it’s still too sweet for my taste. :O

And I made a tool upgrade! It’s important to get these small quantities right…

This week’s batch: blood orange + almond + lime (in a 2:1:1 ratio), plus as much orange food coloring as I dared to put in! :D

I cut the amount of sucralose in half – still a bit too sweet for my taste. Had to completely guess the oil ratios, but I’m happy with how it turned out! My whole apartment smells like marzipan now. <3
This time, when I did the mixing in a big plastic bowl, I noticed some floating stuff on the concentrate, which I assume are tiny plastic shavings produced by the hand mixer? I filtered them out, and might switch to glass or metal containers.
In today’s cola batch, I reduced the amount of sucralose further to 0.4 g, added 0.07 g vanillin, as well as a bit more cassia oil. Good stuff! I call it “Syntez-Cola”, because I combined ideas from Cube-Cola and Jan Krüger’s recipe! :)

… this is the point where I should start a blog post, and a Git repo with version numbers and a changelog, I guess. :P (Edit 2026: Here you go!)
I found decaf Coca-Cola in a supermarket last week, and could do a direct taste comparison. At this point, I prefer my cola by a large margin! Coca-Cola tasted bland, like molten cola popsicles. It had an interesting dryness to it, though, which I’m not sure how to replicate.
Made a simple orange soda today, really happy with how it turned out! I put the recipe here, along with my modified cola recipe, and the almond + blood orange drink I invented!

blinry almond 0.1.1 contains less almond oil, to highlights the citrus flavors a bit more. Find the updated recipe here.

One of these two bottles is a version with sugar instead of sucralose. 400 g of sugar seem to be a good replacement for 0.6 g sucralose. Curious to see whether people will be able to taste the difference! :) (Edit 2026: They totally could!)
blinry orange 0.1.1, now with 14% more orange! :D Recipe here.

Since these early experiments, I made a handful batches of these recipes without modification. I still think they’re really nice! Especially blinry orange is rather unique.
If you try them for yourself, I’d be happy about feedback!
And I’m still thinking what ingredients might go into a DIY Mountain Dew, or a DIY Fassbrause…
You can add your comment to this post in the Fediverse! Alternatively, drop me a mail at mail@blinry_._org.