Energy harvesting has been proposed to support or replace battery-based energy supplies in low-power loT systems. However, manual design and optimization is currently required to implement energy harvesters. This implies significant time and cost requirements, reducing the competitiveness of energy harvesting solutions in many applications. In this paper, we propose and study a method for the automated design of ortho-planar springs in vibration energy harvesters. The proposed method uses a Python tool that has been developed to translate parametric descriptions of the spring into 2D and 3D spring CAD models. The tool is combined with a black-box optimization algorithm in order to identify optimized spring parameters. An evaluation of the proposed method on a case study of an electromagnetic vibration energy harvester demonstrates that the approach successfully results in spring designs that perform well in the energy harvesting application. Consequently, the requirement of expert competence to adjust an energy harvester to new application constraints is significantly reduced, contributing to the availability and competitiveness of energy harvesting solutions in real world applications.