Unpeeled carrots are perfectly safe to eat. But it’s better to peel because it gives an unpleasant, bitter taste.