The present invention provides C, O-spiro aryl glycoside compounds, preparation therefor and use thereof. Specifically provided are the compounds represented by the formula (I), wherein the definitions of each group are described in the specification. The compound can be used as SGLT2 inhibitors in preparing the pharmaceutical compositions for treating diseases such as diabetes, atherosclerosis, adiposity and etc.