The main difference between this two is;

Cocaine is a hydrochloride salt in its powdered form, while crack cocaine is derived from powdered cocaine by combining it with water and another substance, usually baking soda (sodium bicarbonate). After cocaine and baking soda are combined, the mixture is boiled, and a solid forms. Once it’s cooled and broken into smaller pieces, these pieces are sold as crack.