Stomach acid's low pH level is largely due to hydrochloric acid (HCl). However, there's only a very small amount of HCl in stomach acid. Other components include potassium chloride (KCl) and sodium chloride (NaCl). The cells lining your stomach wall secrete this acidic trio.