Reducing the carbon intensity of enterprises will help reduce greenhouse gas emissions, mitigate the negative impacts of global climate change, and protect the ecological environment. To this end, based on the data of A-share listed companies in China’s manufacturing industry from 2012 to 2022, the paper calculates the carbon emission intensity of enterprises, and at the same time, with the help of crawler technology, it crawls the keywords of digital transformation (DT) in the annual reports of the listed companies, portrays the intensity of DT of enterprises, and examines the impact of the level of digitization of enterprises on the carbon intensity of enterprises, along with the heterogeneous role and the mechanism of the role of the level of digitization of enterprises. The results of the study show that the digital revolution notably reduces the carbon emission intensity of enterprises. The inhibitory effect of DT is more significant for non-state-owned firms, industries with high market concentration, and regions with low environmental regulations. The findings of the mechanism test show that DT decreases the intensity of corporate carbon emissions by encouraging green innovation, with substantive green innovation being the main transmission channel behind strategic green innovation.