Indonesian recipes adapt well to most dietary restrictions, because the flavour comes from aromatics and technique rather than from a single fixed ingredient. A few swaps are straightforward; others change a dish enough that it is better to pick a different recipe. Here is what to substitute, and what to avoid substituting.
Going vegetarian or vegan
The obvious obstacle is shrimp paste, which appears in a lot of pastes and sambals. Leave it out and add depth another way: extra fried shallots, a spoon of fermented soybean, or a little dried mushroom powder. Soy sauce and palm sugar do some of the work too. The result will be different, but it will not taste thin.
Tofu and tempeh are already central to Indonesian cooking, so you are not inventing a substitute. Press tofu before frying so it browns instead of steaming, and steam tempeh briefly to remove its raw edge before it goes into a marinade.
Coconut milk is not the problem
Many people assume coconut-heavy dishes are the difficult ones. If you are avoiding dairy, coconut milk is usually the solution rather than the issue, since most Indonesian cooking uses it in place of cream. Check tins for added dairy only if a recipe calls for something unusual.
Gluten and soy
Sweet soy sauce and regular soy sauce both contain wheat in many brands. Look for a tamari-based or explicitly gluten-free soy sauce, and remember that kecap manis is sweetened, so you will need to add sugar separately if you build your own version. Shrimp paste and pastes in jars can also carry additives, so read the label rather than assuming.
Nut allergies
Candlenut is a tree nut and appears in a lot of pastes, often without being named in English on a menu. Ask, and substitute with sunflower seeds or simply leave it out and let the sauce reduce further for body. Satay sauce is the other common risk, since it is often built on peanuts. If an allergy is serious, treat restaurant and street food with real caution and take advice from a medical professional rather than relying on a recipe note.
Lower salt and lower sugar
Reduce soy sauce and shrimp paste first, then adjust with lime and chili, which give the tongue something to do besides looking for salt. Sweet soy is harder to replace because it also provides colour; use less and add a little palm sugar and dark soy to keep the appearance.
Can I make a rendang without coconut milk?
You can, but it becomes a different dish, closer to a dry-spiced braise. Use stock and a little ground almond or sunflower seed for body, and reduce it further than usual. It will be good, just not rendang.
What about a low-FODMAP or keto version?
Those need individual guidance, because shallots, garlic and rice all feature heavily. A qualified dietitian is a better guide than a recipe adaptation, particularly if the restriction is medical.
Adapt one thing at a time and taste as you go. Most swaps work when you compensate with depth, acid and heat, and the dishes that resist adaptation are usually the ones worth saving for another day.