Yes, green beans are a good choice for the keto diet. According to the USDA database, 1 cup (100g) of raw chopped beans has 7g of carbohydrate and 3.4g of dietary fiber.