There are knowledge gaps regarding STEC and EPEC strains in livestock in Jiangsu, China. This study aimed to evaluate the potential public health significance of STEC and EPEC strains isolated from livestock by determining the serotypes, virulence profiles, and genetic relationship with international STEC strains. A total of 68 STEC and 37 EPEC strains were obtained from 231 faecal sheep samples and 70 faecal cattle samples. By using whole-genome sequencing (WGS) analysis, all STEC belonged to 15 O: H serotypes, and the most prevalent serotypes were O6:H10 (19.1%), O155:H21 (14.7%), and O21:H25 (10.3%). The main Shiga toxin gene subtypes detected were stx1c (41.2%), stx1a (26.5%), stx2b (14.7%), and stx2k (14.7%). Only the STEC from cattle carried eae gene. Other adherence-associated or toxin-related genes, including lpfA (70.6%), iha (48.5%), subA (54.4%), and ehxA (33.8%), were found in STEC. All EPEC strains were bfpA-negative, and the predominant eae variants were eae-β1 (62.2%), eae-ζ (21.6%), and eae-θ (8.1%). The core-genome multi-locus sequence typing (cgMLST) analysis revealed nine scattered clusters in STEC and one dominant cluster in EPEC. The strains with the same serotypes, including O22:H8 and O43:H2 in the two towns, possessed a closely genomic distance. The core genome single-nucleotide polymorphism (cgSNP) showed that part of STEC strains in this study was clustered with isolates possessing the same serotypes from the Netherlands, Sweden, and Xinjiang of China. Five serotypes of STEC isolates were associated with the clinical STEC strains from databases. This study provided the diverse serotypes and the virulence genes profiles in STEC and EPEC strains. Local strains possessed widely diverse and scattered clusters by cgMLST. Closely genomic correlation with clinical isolates displayed that part of the STEC strains may threaten to public health. Non-O157 STEC strains act as important pathogens for human infections. This study supports the increased surveillance work of non-O157 STEC rather than just O157 STEC in this region.