Disclosed are sodium dependent glucose cotransporter inhibitors II with the phenyl C-glucoside structure, their preparation methods, the pharmaceutical compositions containing them, the uses of treating diabetes and manufacturing a medicament for treating diabetes. The compounds with the formula I, their pharmaceutically accepted salts and prodrug esters are disclosed, in which R