It is safe for dogs to eat ripe tomatoes, but the leaves and stems of the tomato plant are toxic to them. It's best to keep tomatoes out of your dog's diet as the risks outweigh the benefits.