Home / Blog / How to adapt a recipe for any diet

How to adapt a recipe for any diet

Have the recipe in front of you? RecipeFix makes these changes for you: the swaps, the amounts and the steps.

Adapt your recipe →

No account needed · 2 free adaptations to start.

Most recipe adaptation advice is a substitution list: butter becomes vegan butter, milk becomes oat milk, done. That works until it doesn't, and when it fails it fails in the oven, after you've bought the ingredients. This is the method that holds up.

The one rule: swap by function, not by name

Every ingredient in a recipe is doing a job. Before you replace anything, work out which job it is doing, because the substitute has to do that same job. An egg in a brownie is a binder. An egg in a meringue is structure. An egg in a custard is a thickener. Those are three different problems and they have three different answers, which is why "what replaces eggs" has no single correct response.

Ingredients usually do one or more of these:

When you name the job first, the substitution becomes obvious. Butter in a shortbread is fat plus structure, so the swap has to be solid at room temperature, which rules out oil. Butter in a muffin is mostly fat and moisture, so oil is fine.

Step 1 · Find what actually violates the diet

Go through the ingredient list and mark only what genuinely conflicts. This sounds obvious, but over-substituting is the most common way people ruin a recipe. If you are cooking gluten-free, the butter, milk, and eggs are already gluten-free. Leave them alone. Every unnecessary swap is another chance to change the result for no reason.

Then check the ingredients that hide things. Soy sauce contains wheat. Many broths contain gluten and dairy. Chocolate often contains milk solids. Worcestershire contains anchovy. Marshmallows and some yogurts contain gelatin. These are the ones that catch people out, and they are exactly what a scan of the obvious names misses.

Step 2 · Choose the substitute by ratio, not by vibe

A substitute at the wrong ratio is a failed recipe. These are the ones worth memorizing:

ReplaceWithRatio and watch-out
Wheat flour1:1 gluten-free blend1:1. Absorbs more liquid, browns faster. Cut bake time 10 to 15%
Wheat flourCoconut flourUse ¼ the volume. Absorbs about 4x the liquid
1 egg (binding)Flax egg1 tbsp ground flax + 3 tbsp water, rest 5 min
1 egg (structure)Aquafaba3 tbsp. Only when you need it to whip
Heavy creamFull-fat coconut cream1:1. Splits at a hard boil, so simmer only
Butter (baking)Vegan butter, stick style1:1. More water, so dough spreads. Chill it
MilkOat milk1:1. Closest body of the plant milks
Soy sauceTamari1:1, gluten-free
GelatinAgar-agarHalf the volume. Must boil to activate
Sugar (keto)Erythritol1:1. Will not brown or caramelize

Step 3 · Fix the technique, not just the list

This is the step almost everyone skips, and it is the one that decides whether the dish works. When a substitute behaves differently, the instructions have to change:

Step 4 · Scale, if you are also changing the serving count

Step 5 · Be honest about what changed

Some swaps are invisible. Tamari for soy sauce, oat milk for dairy milk in a batter, nobody will know. Others genuinely change the dish: a dairy-free chocolate mousse is lighter and looser than the original, and gluten-free pizza dough has a different chew no matter what you do. Knowing which is which before you serve it is the difference between a happy dinner and a disappointing one.

The shortcut

Related: Recipe Adapter · All substitution guides · Gluten-free converter · Vegan converter

Try it on your own recipe

RecipeFix does the arithmetic and rewrites the steps, so the dish still works.

Adapt your recipe →