Disclosed are antimicrobial peptides capable of inhibiting and killing multiple drug-resistant bacteria, including XH-12C, XH-12B and XH-12A. The application further provides uses of the antimicrobial peptides in the preparation of a drug for inhibiting and/or killing fungi, Gram-positive bacteria, Gram-negative bacteria and drug-resistant bacteria and in the manufacture of medical carriers.