Hemocyanin, the multifunctional glycoprotein in the hemolymph of invertebrates, can generate various antimicrobial peptides (AMPs). Given the rising interest in the use of natural therapeutic agents such as AMPs, alternative and more efficient methods for their generation are being explored. In this work, free online software was first applied to predict the generation of antimicrobial peptides from the large subunit of Litopenaeus vannamei hemocyanin. Twenty potential antimicrobial peptides ranging from 1.5 to 1.9 kDa were predicted, five of which had α-helical structures and were selected for antibacterial activity testing. The results indicated that these five peptides had antibacterial activity against seven different bacteria. Of the five peptides, one peptide, designated L1, had the strongest antibacterial activity against both Gram-negative and Gram-positive bacteria. Moreover, CD and NMR data showed that L1 had both α-helical and β-turns structural composition, and that these structures were essential for L1’s antibacterial activity. Furthermore, SEM analysis revealed that peptide L1 had broad-spectrum activity against both Gram-positive and Gram-negative bacteria, as it could destroy the bacterial cell walls and kill the bacteria. Thus, L1 is a very potent antimicrobial peptide that can be exploited and used in antibacterial therapeutics.Electronic supplementary materialThe online version of this article (10.1007/s00726-018-2575-x) contains supplementary material, which is available to authorized users.