This paper presents a single phase multilevel inverter for using as a voltage harmonic source. First, a single phase multilevel inverter system is presented and the structural parts of the inverter are described. The proposed topology does not only produce output voltages with low THD values. It also produces the required harmonic components on the output voltage. For this purpose, equations for switching signals are constituted and the switching functions are obtained. These switching signals control the output voltage as well as provide the required specific harmonics. The proposed inverter structure is simulated for various functions with the required harmonic components. The THD values of the output voltage waves are calculated. The simulated functions are also realized by the proposed inverter structure. By using a harmonic analyzer, the harmonic spectrums, which belong to the output voltage forms, are found and the THD values are measured. The proposed topology produces perfectly suitable results for obtaining the specific harmonic components. Therefore, it is possible to use the structure as a voltage harmonic source in various applications.