ApUGT, a diterpene glycosyltransferase from Andrographis paniculata, could transfer a glucose to the C-19 hydroxyl moiety of andrograpanin to form neoandrographolide. This glycosyltransferase has a broad substrate scope, and it can glycosylate 26 natural and unnatural compounds of different structural types. This study provides a basis for exploring the glycosylation mechanism of ent-labdane-type diterpenes and plays an important role in diversifying the structures used in drug discovery.