Abstract:Digital transformation of enterprises is the only way to promote China's digital economy and high-quality development of enterprises. Implementing the ESG concept is also an important measure to promote the green and low-carbon development of heavily polluting enterprises in China under the "Green Water and Green Mountains" policy. Based on this realistic background, this paper uses the data of Shanghai and Shenzhen A-shares from 2009 to 2021, uses Python crawler technology to construct different indicators of Digital transformation of enterprises, and empirically studies the positive effect of Digital transformation of heavily polluting enterprises on their ESG performance. The research found that the digital transformation of heavily polluting enterprises will improve their ESG performance. By promoting their green technology innovation and improving the level of information disclosure, the digital transformation of heavily polluting enterprises will promote enterprises to protect the ecological environment, fulfill their social responsibilities, and improve their governance capabilities, and ultimately improve their ESG performance. Further research found that in areas with higher financing constraints, rich natural resources such as the central and western regions and the north, and private enterprises, the digital transformation of enterprises will have a more significant impact on ESG; The conclusion is still valid after the adoption of instrumental variable, fixed effect, replacement independent variable and replacement industry division. The research conclusion further validates the necessity and effectiveness of formulating the "dual carbon" goals and digital economy policies at the micro level, and provides a certain theoretical reference for Chinese enterprises to achieve sustainable development and green and low-carbon transformation in the wave of digital economy development.