You’re halfway through making dinner when you realize you don’t have buttermilk. Or you need tahini for a sauce and the jar is empty. Or the recipe calls for fresh thyme, but all you have is dried.
Most people handle this one of two ways: they stop cooking and go to the store, or they open a new browser tab and start reading a general guide to ingredient substitutions. Both options interrupt your cooking. A general guide is also usually written without knowing what recipe you’re cooking or how much of the ingredient you needed.
Pantryfy’s swap feature works from the recipe you’re cooking. It knows which ingredient you’re replacing and how much of it the recipe uses, and it suggests substitutes with the amounts already worked out.
How the swap feature works
Every ingredient in a saved recipe has a Swap button, except ingredients marked as optional. Tap Swap and a panel opens with a list of substitutes, ranked by how well each one suits your recipe, with the ones already in your pantry at the top.
Each substitute shows you:
- What to use: the substitute ingredient by name
- How much to use: the amount worked out for your recipe’s quantity, written as a fraction (“use 3/4 cup” rather than “multiply by 0.75”)
- Whether you have it: a label when the substitute is already in your pantry
- What changes: short notes on how the swap affects the dish, such as a denser texture or a lost butter flavor, and reminders such as “Still contains dairy”
Working out the amount is the part that saves you the guesswork. If a recipe calls for 1 cup of sour cream and the suggested swap is Greek yogurt at a 1:1 ratio, the panel tells you “use 1 cup.” If a recipe calls for 1 cup of butter and you swap in vegetable oil, which replaces butter at 3/4 the amount in most baked goods, the panel tells you “use 3/4 cup.” You don’t have to do the math yourself.
What makes a good substitution guide
The problem with general substitution guides, even well-researched ones, is that the right swap often depends on the dish. Swapping eggs in a frittata is different from swapping eggs in a cake. It matters what the ingredient does in the dish: whether it holds the dish together, adds moisture or carries flavor.
Each substitution in Pantryfy’s curated list is tagged with the kinds of dishes it suits, such as baking, savory dishes, quiche or meringue. Pantryfy compares those tags with your recipe’s tags and meal type, and ranks the swaps that suit your dish higher. For example, the list suggests silken tofu or a flax egg for eggs in a quiche, and mashed banana, applesauce or a commercial egg replacer for eggs in a sweet quick bread.
Curated suggestions, not AI
The suggestions come from a curated list of substitutions, not from an AI model writing an answer on the spot. That’s a deliberate choice, for two reasons.
First, an AI answer can change each time you ask, and it can state a made-up ratio with confidence. A curated list gives the same suggestions every time: the same missing ingredient in the same recipe brings up the same substitutes, in the same order, as long as your pantry hasn’t changed. Second, a swap doesn’t use your daily AI allowance, so you can check substitutes for every ingredient in a recipe without using up a single AI request.
Pantryfy also checks the substitutes against the allergies and diets recorded for your household. Checked allergens are filtered out of suggestions. The filter is not a guarantee, so still check the recipe, packaged products, cross-contact and any ingredient information that might be incomplete.
Swaps that use what’s in your pantry
The swap panel has a “Based on what I have” switch. Turn it on and the list shows only substitutes that are in your pantry right now, which is usually what you want to know halfway through cooking. If that list is empty, turn the switch off to see every substitute and decide whether any of them is worth a grocery trip.
Recipe Studio, Pantryfy’s recipe remix feature (Pro and Family; see customize any recipe), lets you ask for a dietary change, such as making a recipe dairy-free, and generates a new version of the recipe with that change. Check the new ingredients and whether the recipe still fits everyone’s allergies and diets before you save it. The swap panel doesn’t need Recipe Studio, though: it works on any saved recipe. Open a saved recipe, find the ingredient you’re missing and tap Swap.
If the ingredients in your kitchen change from week to week, or you’d rather use up what’s in the cupboard than follow a recipe exactly, a quick swap can mean finishing the recipe instead of abandoning it.
When substitutions work and when they don’t
Substitutions have limits. Not every ingredient can be substituted without changing the dish meaningfully. Chocolate in a brownie can become carob, but the result is noticeably different. Bread flour in a pizza dough can become all-purpose flour, but the texture shifts. Pantryfy’s swap notes point out trade-offs like these when the curated list records them, instead of implying that nobody will notice the swap.
The goal is to show the best realistic options and give you enough information to decide. Whether you want the closest possible match or you’re comfortable with a small flavor change is a decision that belongs to you, not the app.
Swaps work on any saved recipe. If you’ve been saving recipes in Pantryfy and adding food to your pantry, swaps help you cook those recipes with the ingredients you have, without a grocery trip or a search halfway through cooking.
If you want a pantry that makes swaps easy, the pantry staples list covers the basics worth keeping stocked.