Getting Started
Cooklang is a lightweight, open-source format for writing and managing recipes in a structured, human-readable way. Your recipes are just text files, meaning you can store, edit, share and sync them across all your devices without being locked into a specific app or service.
How It Works
Cooklang recipes are plain text files that you can use on any device. You can write and manage them on a desktop, then access them on your phone when cooking. This flexibility makes it easy to grow your recipe collection over time. Recipes are stored in .cook files, and Cooklang tools help process these files for various use cases such as meal planning, shopping and cooking.
The syntax and specifications are simple and easy to learn. The @ names ingredients (ending with {} for multi-word names, {} around quantities, and % before units of measurement), # marks cookware, ~ sets timers (optionally named), -- or [- -] add comments. If you want to learn more about the Cooklang specifications, follow this link.
To learn more about some of the exciting and useful ways that Cooklang can improve your cooking, recipe crafting and saving, or even shopping, check out this page!
A Simple Example
Here's what a basic recipe looks like in Cooklang:
When processed using apps, this recipe will extract ingredients while keeping the instructions readable.

1. Setting Up on Desktop
To get the best experience with Cooklang on desktop, consider setting up:
Syntax Highlighting
If you prefer writing recipes in a text editor, enabling syntax highlighting for Cooklang makes editing easier. Many editors support custom syntax highlighting:
- VS Code (Recommended): Install the Cooklang extension from the marketplace.
- Vim/Neovim: Add a Cooklang syntax file for highlighting.
- Sublime Text: Use a Cooklang syntax package.
- More options: See syntax highlighting documentation.

(Optional) Obsidian plugin
As an option you can manage your recipes along with your notes in Obsidian with Cooklang Editor plugin.
Desktop App for Syncing Recipes
The Cook Desktop App is an agent for syncing your recipes across devices.
Download the desktop app from the official website.

It will ask you to select folder where you store recipes and sign in/sign up.
2. Setting Up on Mobile
Getting started on mobile is simple:
- Download the Cooklang App from the Google Play Store or Apple App Store.
- Open the app and choose to sync recipes with either CookCloud, iCloud, or the local folder. Sign in if you're using a sync service via Desktop App. If you're using the iOS app with iCloud sync, it will create a folder in iCloud drive called
CooklangAppwhere it expects to see recipes. The way to sync can be changed later by switching in the app settings menu. - Access your saved recipes, and generate shopping lists on the go.
A Note on Cook Cloud
Cook Cloud is a native sync service that works across all major operating systems and helps prevent dependence on third-party syncing. It improves upon the convenience of using your own desktop or cloud service (such as iCloud or Google drive) by handling that for you, making it easy to ensure that all of your recipes and lists are available in one convenient place.
It supports MacOS, Windows, Linux, iOS, and Android.
3. Growing Your Recipe Collection
Once you're set up, it's time to expand your collection:
Build Your Recipe Collection
Start writing your own recipes or importing from existing sources. The best practice is to keep recipes organized by folders (e.g., breakfast/, dinner/, desserts/). You can use multiple nested folders if you have many recipes.
If you want to save a random recipe from a webpage in Cooklang format, simply add cook.md/ before the full URL in your browser's address bar (e.g., https://cook.md/https://bbcgoodfood.com/recipes/easy-pancakes/).

Use the playground to test syntax interactively
If you have some problems and your recipe doesn't render as you want, you can check out Playground.

Be part of the community
Find curated Cooklang recipes from the community, share your thoughts or ask for help. Some resources include:
- The Awesome Cooklang repository
- The Cooklang Recipe Hub (coming soon!)
- Community language discussions and Discord channel
Configure aisle.conf for Shopping Convenience
For shopping lists (denoted by brackets for the category name), you can add config/aisle.conf into your recipes folder to categorize ingredients by shopping aisle, making grocery shopping more efficient.
This is best used if you are interested in using Cooklang to assist with your shopping lists. Learn more about this very practical use-case here.
4. Command-Line Interface (CookCLI)
CookCLI is a powerful command-line tool that brings automation and advanced functionality to your recipe workflow. It follows the UNIX philosophy — each command does one thing well and can be combined with other tools. Not only this, but it also integrates standard UNIX tools for easy interaction.
Here are some short UNIX based commands for example:
For more information, see this article on how to get started with CookCLI.
Installation (The Quick Way In)
Grab the latest CookCLI build from GitHub Releases, unpack it for your platform, and drop the cook binary into your PATH—whether you’re on macOS (Apple Silicon or Intel), Linux, or Windows. Prefer one-liners? macOS folks can simply brew install cookcli. If you like compiling from source, clone the repo, run cargo build --release, and copy target/release/cook wherever you keep your CLI tools.
Core Commands You’ll Actually Use
Daily recipe flow:
cook recipeto render any.cookfile,cook doctorto catch syntax slips,cook searchto find recipes by ingredient, andcook importwhen a blog recipe wins your heart.Plan and shop smarter:
cook shopping-listcombines multiple recipes (with scaling) into one list, whilecook pantrykeeps tabs on what’s low or expiring.Kickstart or stay current:
cook seeddrops sample recipes into a folder, andcook updatekeeps everything fresh.Share or show off: Spin up
cook serverfor a browsable collection, andcook reportturns templated PDFs or summaries into reality.
Quick Commands in Action
Whether you’re scripting a workflow or just tossing cook recipes into your favorite storage location, the CLI stays lightweight but surprisingly powerful.
Check out some of the most important commands here:
Advanced Workflow Automation
Cooklang provides automation tools that can streamline your recipe management. Explore the full CLI documentation for more ideas. There's also a community alternative cooklang-chef.
What's Next?
- Dive into the Cooklang ecosystem and experiment with writing recipes in Cooklang.
- Check out the best practices guide.
- Share ideas, ask for help, or contribute to Cooklang's development.
- Open an issue in the Cooklang GitHub repository.
- Participate in voting for the next feature.
- Join us on Reddit, Discord, and Twitter.
- Spread the word.
- Subscribe to the newsletter!
Now you're all set! Start writing, cooking, and enjoying the simplicity of Cooklang. For more details, visit the official documentation.