It's generally safe to consume coriander in moderate amounts, whether cooked or raw. However, as with any food, it's important to wash coriander thoroughly before consuming it to remove any dirt or contaminants that may be present.