Sensitive and spatial exploration of the metabolism of tumors at the metabolome level is highly challenging. In this study, we developed an in situ metabolomics method based on ambient mass spectrometry imaging using air flow-assisted desorption electrospray ionization (AFADESI), which can spatially explore the alteration of global metabolites in tissues with high sensitivity. Using this method, we discovered potential histopathological diagnosis biomarkers (including lipids, amino acids, choline, peptides, and carnitine) from 52 postoperative lung cancer tissue samples and then subsequently used these biomarkers to generate images for rapid and label-free histopathological diagnosis. These biomarkers were validated with a sensitivity and a specificity of 93.5% and 100%, respectively. Moreover, a single imaging analysis of a cryosection that visualized all these biomarkers, taking tens of minutes, revealed the type and subtype of the cancer. This method could potentially be used as a molecular pathological tool for rapid clinical lung cancer diagnosis and immediate image-guided surgery.