Urban Building Energy Modelling (UBEM) requires adequate geometrical information to represent buildings in a 3D digital form. However, open data models usually lack essential information, such as building geometries, due to a lower granularity in available data. For heating demand simulations, this scarcity impacts the energy predictions and, thereby, questioning existing simulation workflows. In this paper, the authors present an open-source CityGML LoD Transformation (CityLDT) tool for upscaling or downscaling geometries of 3D spatial CityGML building models. With the current support of LoD0–2, this paper presents the adapted methodology and developed algorithms for transformations. Using the presented tool, the authors transform open CityGML datasets and conduct heating demand simulations in Modelica to validate the geometric processing of transformed building models.