All chlorine in the Earth's crust is in the form of ionic chloride compounds, which includes table salt.