The present invention relates to dicaffeoyl spermidine derivative glycosides, a preparation method and a use thereof. The biological activity experiments show that the dicaffeoyl spermidine derivative glycosides of the present invention have anti-oxidative activity and antiviral activity, and their activity are even better than that of a positive control drug, thus can be used as an antioxidant for the prevention and/or treatment of neurodegenerative diseases such as Senile dementia, and as an antiviral agent for the prevention and/or treatment of viral infections.