The current synthesis routes of anthocyanins are relatively complicated, which significantly hinders their development. We optimized the method by introducing a selective iodination reaction and also established a general scheme for preparing anthocyanin diglycosides. This method allows anthocyanin synthesis to require fewer steps and costs. Based on this, we prepared four common anthocyanins and two