This study aims to investigate the thematic characteristics and evolutionary patterns of library policies in China from 1949 to 2023. Employing the Latent Dirichlet Allocation (LDA) model, the research analyzed 2,703 Chinese government-issued policies related to libraries during this period, identifying key topics and tracing their developmental trajectories. The study recognized four distinct developmental phases, five major topics, and the underlying connections among feature terms within different topics. It discussed the corresponding topic strengths and evolving trends in each phase. Library policies in China are predominantly centered on five key domains: 1) spatial planning and architectural integration, 2) information management and transparency, 3) legal regulations and supervisory enforcement, 4) heritage preservation and sustainable development, and 5) community inclusion and accessibility. Notably, spatial planning and architectural integration consistently garner substantial attention, highlighting their enduring prominence, while there is relatively less emphasis on community inclusion and accessibility, as well as heritage preservation and sustainable development. The contribution of this study lies in conducting a semantic exploration of the overall transformation in library-related policies in China, validating the effectiveness of the LDA model in identifying topics within policy texts, and expanding the research perspective on library policy evolution.