To develop new chemicals that are stable at high temperatures with biological activity, a pyrrole intermediate was firstly synthesized using glucosamine hydrochloride as raw materials through cyclization and oxidation. Further, two novel pyrrole ester derivatives were prepared via Steglich esterification from pyrrole intermediate with vanillin and ethyl maltol, respectively. Nuclear magnetic resonance (1 H-NMR, 13 C NMR), infrared spectroscopy (IR) and high resolution mass spectrometry (HRMS) were used to confirm the target compounds. Thermal behavior of the compounds was investigated by thermogravimetry (TG), differential scanning calorimeter (DSC) and the pyrolysis-gas chromatography/mass spectrometry (Py-GC/MS) methods. The plausible pyrolytic mechanism was proposed. Additionally, their biological activities against the pathogens Fusarium graminearum, Fusarium oxysporum, Fusarium moniliforme, Phytophthora nicotianae, and Rhizoctonia solani were assessed. These target compounds showed outstanding antifungal activities and the highest inhibitor rates of 62.50 % and 68.75 % against R. solani with EC50 values of 0.0296 and 0.0200 mg mL-1 , respectively. SDHI protein sequence was molecularly docked to identify the binding mechanisms in the active pocket and examine the interactions between both the molecules and the SDHI protein.