Another common cause of excessive (and unpleasant smelling) gas is fiber, so you should avoid foods that are high in fiber—think bran, whole grains, beans and dried fruits. While a diet rich in fiber is important in maintaining a healthy, functioning digestive system, fiber can also lead to the formation of excess gas, which causes not only unpleasant farts, but also bloating, just to add insult to injury. If you consume a lot of fiber and you notice that your farts don’t exactly smell like roses, try to minimize your fiber intake or substitute that fiber with a gentler (read: easy to digest) supplement.