Do tadpoles eat algae?

Yes, they eat an assortment of things.

They will eat algae that grows on the floor or items in the pond.

They will also eat dead matter that falls to the floor of the pond,

Later on, also bloodworms, fish food and micro organisms.