The diet of the pufferfish includes mostly invertebrates and algae. Large specimens will even crack open and eat clams, mussels, and shellfish with their hard beaks. Poisonous puffers are believed to synthesize their deadly toxin from the bacteria in the animals they eat.