Crabs are omnivores and they eat a variety of foods, including algae, plankton, mollusks, small fish, worms, detritus (dead plant and animal matter), and even other crabs. Some species of crabs are also scavengers and will eat almost anything they can find on the seafloor.