You can make algaecide in your home by mixing baking soda and bleaching powder or vinegar solution. They don’t have an instant cleansing effect. So, if you apply it, wait a while to scrub off any algae formation and decontaminate the pipe entirely.