Xanthan gum is type of carbohydrate that acts an emulsifier or a thickening agent in cooking or baking recipes. It is made by combining a bacteria called xanthonomonas campestris with sucrose or glucose, which produces a gummy texture. Xanthan is also known as a gluten substitute and is used by people who follow a gluten-free diet. The gum can be used interchangeably with cornstarch.
Check the recipe to see how much cornstarch is needed.
Measure an equal amount of xanthan gum to replace the cornstarch. This means that if you need 1 tsp of cornstarch, add 1 tsp of xanthan gum as the substitute.
Add the xanthan gum to the recipe.
Continue following the rest of the recipe's instructions as directed.