Based on the ROC curve, our study had an AUROC of 0.84 for ALT in predicting NAFLD in diabetic patients. Here, GPT is linked to metabolic dysfunction-associated steatotic liver disease.