Our results indicate that heparanase promotes M1 polarization of macrophages driven by H. pylori or LPS + INF-γ, resulting in increased expression of pro-inflammatory cytokines such as IL-1β, IL-6 and TNF-α, and further aggravating the severity of gastritis. The gene discussed is HPSE; the disease is gastritis.