The present disclosure provides methods of preparing cholic acid, deoxycholic acid, or chenodeoxycholic acid, an ester thereof, or a pharmaceutically or cosmetically acceptable salt thereof, and novel and useful synthetic intermediates, for example, as described for methods 1, 1A, 1B, 2, 3, 3A, and 4. The method can start with a plant derived steroid as a starting material, such as dehydroepiandrosterone (DHEA) or Acetyl-dehydroepiandrosterone (Ac-DHEA). Also provided are pharmaceutical or cosmetic compositions and uses thereof, which comprise one or more of cholic acid, deoxycholic acid, or chenodeoxycholic acid, an ester thereof, or a pharmaceutically or cosmetically acceptable salt thereof, which is of high purity, for example, free of animal derived impurities.