Cyperus has been commonly used as a multi-use medicinal plant in folk medicine worldwide. The objectives of our study were to determine the different metabolites in the Cyperus conglomeratus Rottb. methanol extract, and to assess its in vivo gastroprotective effect in ethanol-induced gastric ulcer model in rats. Serum levels of galactin-3 and TNF-α were employed as biochemical markers. To pinpoint for active agents, comprehensive metabolites profiling of extract via UPLC-qTOF-MS/MS was employed. A total of 77 chromatographic peaks were detected, of which 70 were annotated. The detected metabolites were categorized into phenolic acids and their derivatives, flavonoids, stilbenes, aurones, quinones, terpenes, and steroids. Rats were divided into six groups; healthy control, ulcer control, standard drug group, and 25, 50, 100 mg/kg of C. conglomeratus treated rats. Pre-treatment with C. conglomeratus alcohol extract significantly reduced galactin-3, and TNF-α in ethanol-induced ulcer model at 25, 50, and 100 mg/kg. Further histopathological and histochemical studies revealed moderate erosion of superficial epithelium, few infiltrated inflammatory cells, and depletion of gastric tissue glycoprotein in the ulcer group. Treatment with the extract protected the gastric epithelial cells in a dose-dependent manner. It could be concluded that C. conglomeratus extract provides significant gastroprotective activity in ethanol-induced gastric ulcer and ought to be included in nutraceuticals in the future for ulcer treatment.