It's not unhealthy, but it's also not diet food. Sauerkraut is cabbage, after all and fermented foods like these are good for your gut.