Onions can be keto friendly if used in moderation. One cup of raw onion contains 12.4 g net carbs.