Is it ok to substitute mint extract instead of vanilla extract?

It is not advisable to substitute mint extract for vanilla extract in most baking recipes. Mint extract has a strong, distinct flavor that can overpower the other ingredients in a recipe, while vanilla extract provides a more subtle, background flavor. Additionally, mint extract is typically used in much smaller quantities than vanilla extract, so substituting one for the other can alter the balance and flavor of the recipe significantly.