The major bottleneck of first principle based beyond Born-Oppenheimer (BBO) treatment originates from large number and complicated expressions of adiabatic to diabatic transformation (ADT) equations for higher dimensional sub-Hilbert spaces. In order to overcome such shortcoming, we develop a generalized algorithm, "ADT" to generate the nonadiabatic equations through symbolic manipulation and to construct highly accurate diabatic surfaces for molecular processes involving excited electronic states. It is noteworthy to mention that the nonadiabatic coupling terms (NACTs) often become singular (removable) at degenerate point(s) or along a seam in the nuclear configuration space (CS) and thereby, a unitary transformation is required to convert the kinetically coupled (adiabatic) Hamiltonian to a potentially (diabatic) one to avoid such singularity(ies). The "ADT" program can be efficiently used to (a) formulate analytic functional forms of differential equations for ADT angles and diabatic potential energy matrix and (b) solve the set of coupled differential equations numerically to evaluate ADT angles, residue due to singularity(ies), ADT matrices, and finally, diabatic potential energy surfaces (PESs). For the numerical case, user can directly provide ab initio data (adiabatic PESs and NACTs) as input files to this software or can generate those input files through in-built python codes interfacing MOLPRO followed by ADT calculation. In order to establish the workability of our program package, we selectively choose six realistic molecular species, namely, NO2 radical, H3+, F + H2, NO3 radical, C6H6+ radical cation, and 1,3,5-C6H3F3+ radical cation, where two, three, five and six electronic states exhibit profound nonadiabatic interactions and are employed to compute diabatic PESs by using ab initio calculated adiabatic PESs and NACTs. The "ADT" package released under the GNU General Public License v3.0 (GPLv3) is available at https://github.com/AdhikariLAB/ADT-Program and also as the Supporting Information of this article.