The use of molecular markers for plant variety identification and protection is increasing. For this purpose, SNP markers have provided a reliable and stable tool for plant genotyping. The availability of small and low-cost SNP panels to accelerate the identification of the cultivated rice varieties should be beneficial for breeders, seed certification entities and rice industry. With the intention of providing of such a facility, we first developed a simple and easy-handle bioinformatics tool based on the widely used and freely available software R to generate small sets of SNPs that can discriminate varieties, by selecting markers from a larger genotyping dataset. By applying this algorithm to data from a previously genotyped collection of temperatejaponicavarieties from different countries, we identified a minimal set of 31 SNPs markers to distinguish 210 varieties. In addition, we used this algorithm to discriminate the 43 most cultivated in Spain rice varieties with minimal sets of 8 SNPs. We then developed and tested 22 Kompetitive Allele-Specific PCR (KASP) assays for the markers included in these panels, and obtained reliable genotype patterns for rice varieties identification. The complete 22 markers panel and the rice genotypes data could offer a useful and low-cost tool for rice breeders and industry to identify varieties and therefore to guarantee the quality of rice. The provided R-based algorithm can be applied to other genomic resources to develop core sets of discriminating markers.