If you’re on a private well, the sulphur smell might be coming from your groundwater itself. In that case, a simple whole-house activated carbon filter can help. There are also specialized “greensand” filters that oxidize sulfur and remove it.
You can also chlorinate your well once a year—a process called shock chlorination. Add a gallon of bleach down the well casing, let it sit overnight, then flush every tap until the chlorine smell is gone. Do this carefully and follow safety guides; chlorine is strong stuff.
Simple Tricks to Banish Sulfur Smells from Laundry Fast