Helicobacter pylori has been implicated in various gastrointestinal disorders, including functional dyspepsia. This study aimed to compare the anti-H. pylori activity and gastroprotective effects of three typical herbal formulas used for gastrointestinal disorders in Korea: Shihosogan-tang (ST), Yijung-tang (YT), and Pyeongwi-san (PS). Firstly, we assessed the total phenolic and flavonoid contents, as well as the antioxidative capacity. Additionally, we evaluated the antibacterial effect on H. pylori using an ammonia assay, minimum inhibitory concentration (MIC) test, and the disk agar diffusion method. Furthermore, we examined alterations in the gene expression of tight junction proteins, pro-inflammatory cytokines, and cellular vacuolation using an AGS cell model infected with H. pylori. While ST exhibited a higher total phenolic content, superior free radical scavenging, and inhibition of H. pylori compared to YT and PS, YT more evidently inhibited gastric cellular morphological changes such as vacuolation. All formulations significantly ameliorated changes in inflammatory and gastric inflammation-related genes and cellular morphological alterations induced by H. pylori infection. Overall, the present in vitro study suggests that all three herbal formulas possess potential for ameliorating gastrointestinal disorders, with ST relatively excelling in inhibiting H. pylori infection and inflammation, while YT potentially shows greater efficacy in directly protecting the gastric mucosa.