Five candidate m5C regulators, namely tet methylcytosine dioxygenase 2, NOP2/Sun RNA methyltransferase 5, Y-box binding protein 1, tRNA aspartic acid methyltransferase 1, and NOP2/Sun RNA methyltransferase 3 were screened using random forest and nomogram models to predict risks of pulmonary fibrosis. Here, TET2 is linked to pulmonary fibrosis.