This paper employs text mining methods such as the TF-IDF algorithm, LDA topic modeling, and the DMDkmeans algorithm to analyze changes in the socio-cultural values reflected in 20th-century opera music. It conducts a high-frequency word count analysis of the socio-cultural values in 20th-century opera music and performs a semantic network analysis. After completing the thematic content mining and thematic classification of the sociocultural values in 20th-century opera music, the paper conducts a text knowledge mining analysis. “Popular culture penetration” is the most frequently occurring term in the social and cultural values of 20th-century opera music, appearing 12,648 times, indicating the trend toward popularization in the social and cultural values of 20th-century opera music. “Popular culture penetration,” “postmodern opera,” and “utopia/dystopia” are the most prominent central nodes. 20th-century opera music can be categorized into five themes: “Music Technology and Innovation,” “Style and Genre,” “Dramatic Structure and Textual Characteristics,” “Stage and Performance Forms,” and “Cultural and Social Dimensions.”