A genetic diversity analysis and identification of plant germplasms and varieties are important and necessary for plant breeding. Deoxyribonucleotide (DNA) fingerprints based on genomic molecular markers play an important role in accurate germplasm identification. In this study, Specific-Locus Amplified Fragment Sequencing (SLAF-seq) was conducted for a sugarcane population with 103 cultivated and wild accessions. In total, 105,325 genomic single nucleotide polymorphisms (SNPs) were called successfully to analyze population components and genetic diversity. The genetic diversity of the population was complex and clustered into two major subpopulations. A principal component analysis (PCA) showed that these accessions could not be completely classified based on geographical origin. After filtration, screening, and comparison, 192 uniformly-distributed SNP loci were selected for the 32 chromosomes of sugarcane. An SNP complex genotyping detection system was established using the SNaPshot typing method and used for the precise genotyping and identification of 180 sugarcane germplasm samples. According to the stability and polymorphism of the SNPs, 32 high-quality SNP markers were obtained and successfully used to construct the first SNP fingerprinting and quick response codes (QR codes) for sugarcane. The results provide new insights for genotyping, classifying, and identifying germplasm and resources for sugarcane breeding