Black on the filter? THat sounds like Ashphaltene, not algae.
Ashphaltene is a natural product of the diesel fuel degradation or breakdown. It turns very dark to black.
For ashphaltene you need a fuel stabilizer rather than a biocide. THe other way to combat it is to use the boat and burn the fuel so the fuel does not stagnate for long times.
Typically what you are referring to as algae is actually not. Algae is plant life and it needs light. That type of contamination is actually microbes which use the diesel as food living at the interface between the diesel and water in the tank.. THey create a slimy, stringy mess , not a black coating and the colour is quite different, lighter and mottled.
For either you will need a good supply of filters and pay attention to Neto’s suggestion about filtering.
Just in case be sure you don’t have any water in the tank. Frequent sources are poorly sealed deck fuel fillers., lack of O rings or O rings in poor shape at the filler cap. The O rings need to be changed every few years, 2-3, and they and the threads should be greased. Not gobs of grease but a thin coating including the threads. Also be sure the deck fills themselves are properly sealed to the deck.
1 user thanked author for this post.