In computational chemistry vast quantities of compounds are generated, and there is a need for cheminformatic tools to efficiently build chemical compound libraries. Several software tools for drawing and editing compounds structures are available, but they lack options for automatic generation of chemical libraries. We have implemented ChemT, an easy-to-use open-source software tool that automates the process of preparing custom-made template-based chemical libraries. ChemT automatically generates three-dimensional chemical libraries by inputting a chemical template and the functional groups of interest. The graphical user interface of ChemT is self-explanatory, and a complete tutorial is provided. Several file formats are accepted by ChemT, and it is possible to filter the generated compounds according to different physicochemical properties. The compounds can be subject to force field minimization, and the resulting three-dimensional structures recorded on commonly used file formats. ChemT may be a valuable tool for investigators interested in using in silico virtual screening tools, like QSAR modelling or molecular docking, in order to prioritize compounds for further chemical synthesis. To demonstrate the usefulness of ChemT, we describe an example based on a thieno[3,2-b]pyridine template.Fundação para a Ciência e a Tecnologia (FCT)COMPETE/QREN/E