Write Your First Recipe in Cooklang in Five Minutes
Cooklang looks intimidating if you've never seen it. But it's actually simpler than Markdown. Let me show you.
The basic idea
Cooklang is plain text with a few simple markers. Ingredients get an at symbol. Timings get a tilde. That's most of it. Your recipe stays readable, and computers can parse it too.
Your first recipe: Carbonara
Open Cook Editor (it's free) and create a new file called Carbonara.cook. Type this:
---
title: Carbonara
servings: 4
---
Boil @spaghetti{400%g} in salted water.
Fry @pancetta{200%g} until crispy, then add @garlic{2%cloves} for ~{30%seconds}.
Whisk @eggs{4} with @parmesan{100%g}.
Drain pasta, toss with pancetta, then with eggs.
That's it. You've written a recipe in Cooklang.
Breaking it down
The stuff between the dashes at the top is metadata — title and servings. Cook uses this to organize your recipes, and servings says how many people the quantities below are written for.
@spaghetti{400%g} means the ingredient is spaghetti, the amount is 400 grams. The at symbol tells Cook "this is an ingredient."
~{30%seconds} is a timing — 30 seconds. The tilde marks time.
Everything else is just normal cooking instructions. No special syntax needed.
Scaling up
Want to cook for 8 people instead of 4? Don't edit the file. Open the recipe's preview in Cook Editor and set Scale to 2. Every quantity doubles: 400 grams of spaghetti becomes 800 grams. The file still says servings: 4, because that is the size the recipe is written for; the scale only changes what you see.
Going deeper
That covers the essentials, but Cooklang has more. You can split a recipe into sections, mark cookware with #, add notes, and refer to another recipe as an ingredient — all while keeping your file readable. For the full syntax and advanced features, check the Cooklang documentation.
Next steps
That's genuinely it. Write your instructions in plain English, wrap ingredients in @name{amount} and timings in ~{duration}, and you're done. Save it as a .cook file and you can open it anywhere — any editor, any device, forever.
Ready to write more? Head to Cook Editor and start building your recipe collection. If the recipe you want already exists on a website, Cookify converts the link to a .cook file for free, and Kickstart gives you 50 recipes to start from. To cook from your phone, the mobile apps open the same files.