Xanthan gum is usually created in a lab when the bacterium Xanthomonas campestris is added to a growth medium containing sugar and other nutrients. Hence, it's not easy to make it at home. Instead, you can use one of the healthy and straightforward substitutes in this article.